Tuesday, 20 August 2013

Construct in-memory IR CFG of C/C++ program using LLVM

Construct in-memory IR CFG of C/C++ program using LLVM

I am interested in analyzing a CFG of a C/C++ program where the CFG's
nodes contain LLVM IR instructions. Is there any way to leverage LLVM to
extract a persistent in-memory object of this CFG? I do not want to
implement a pass in the compiler; I want the CFG to undergo analysis in my
own program.

No comments:

Post a Comment