Displaying 1 result from an estimated 1 matches for "debugcheckers".
2012 Oct 07
2
[LLVMdev] getting pointer to CFG object for any given C program
...s code
in order to traverse basic blocks and do some analysis using CFG
object.
From my main program main.cpp, how can I get pointer to CFG object if
argv[1] = hello.c ?
I have seen following places among many in clang/lib or clang/include:
llvm-3.1.src/tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp:96
- calls checkASTCodeBody(const Decl *D, AnalysisManager& mgr,
BugReporter &BR)
if (CFG *cfg = mgr.getCFG(D)) call cfg->dump()
llvm-3.1.src/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:472
- AnalysisConsumer::HandleCode(Decl *D, AnalysisMode Mode,
SetO...