Displaying 2 results from an estimated 2 matches for "pgmdepgraph".
2004 Aug 06
1
[LLVMdev] Why I cannot use PgmDependenceGraph?
I want to find buffer overflows from general C programs, a bit like SAFECode :).
To quicken the dataflow analysis, I wished to slice operands of character
strings from C program using pgmdepgraph, but now, I thought I have to use
def-use and use-def chain.
Do you think it has any sense?
Xia
______________________________________
ע������30��������䣨 http://mail.sina.com.cn/chooseMode.html ��
===================================================================
ע���С�����ϲ���Ͻ��� (http://...
2004 Aug 06
1
[LLVMdev] Why I cannot use PgmDependenceGraph?
I want to use PgmDependenceGraph pass , but my pass cannot work with PgmDependenceGraph.
I tried again in Hello2 pass, and it could not work also.
The following is I did with llvm/lib/Transforms/Hello.cpp:
1.insert #include "llvm/Analysis/PgmDependenceGraph.h" in Hello.cpp.
2.insert AU.addRequired<PgmDependenceGraph>() in the getAnalysisUsage(AnalysisUsage &AU) of Hello2.