Displaying 2 results from an estimated 2 matches for "idummyh".
Did you mean:
dummyh
2012 Sep 28
1
[LLVMdev] [LLVM-Clang CFG] - generating CFG of a C program and llvm iterators
Hi,
I want to generate Control Flow Graph (in memory CFG object) of any
given C program and then iterate over this CFG (all function, basic
blocks and instructions) using llvm iterators.
I can see text output of CFG on screen, using following command:
`clang -cc1 -Idummyh -analyze -analyzer-checker=debug.DumpCFG
hello/hello.c'
where dummyh has en empty stdio.h to remove this error:
`fatal error: 'stdio.h' file not found'
I see CFG.h and CFG.cpp that clang uses and have seen some docs on
ModulePass, FunctionPass, BasicBlockPass, etc. But I have not...
2012 Oct 02
0
[LLVMdev] LLVM IR and CFG
...Hi,
>
> I want to generate Control Flow Graph (in memory CFG object) of any
> given C program and then iterate over this CFG (all function, basic
> blocks and instructions) using llvm iterators.
>
> I can see text output of CFG on screen, using following command:
> `clang -cc1 -Idummyh -analyze -analyzer-checker=debug.DumpCFG
> hello/hello.c'
> where dummyh has en empty stdio.h to remove this error:
> `fatal error: 'stdio.h' file not found'
>
> I see CFG.h and CFG.cpp that clang uses and have seen some docs on
> ModulePass, FunctionPass, BasicBl...