[LLVMdev] CFG Extraction from Assembly Code
Anton Korobeynikov
anton at korobeynikov.info
Fri Jan 28 06:29:34 PST 2011
> In LLVM, llc can be used to generate native assembly code for a selected target processor (-march=target). I would like to extract/build CFG from the generated assembly code.
> Is this possible in LLVM? Anyone knows how to extract CFG from the assembly code?
In general, it's not possible to build CFG precisely from assembly
code. Think about indirect calls / branches, for example.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list