llvm-6502/tools/llvm-objdump
Benjamin Kramer 685a2501b2 Sketch out an CFG reconstruction mode for llvm-objdump.
- Not great yet, but it's a start.
- Requires an object file with a symbol table. (I really want to fix this, but it'll need a whole new algorithm)
- ELF and COFF won't work at the moment due to libObject shortcomings.

To try it out run
$ llvm-objdump -d --cfg foo.o

This will create a graphviz file for every symbol in the object file's text section containing a CFG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135608 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-20 19:37:35 +00:00
..
CMakeLists.txt
llvm-objdump.cpp Sketch out an CFG reconstruction mode for llvm-objdump. 2011-07-20 19:37:35 +00:00
Makefile
MCFunction.cpp Sketch out an CFG reconstruction mode for llvm-objdump. 2011-07-20 19:37:35 +00:00
MCFunction.h Sketch out an CFG reconstruction mode for llvm-objdump. 2011-07-20 19:37:35 +00:00