[英]How to generate program dependence graph and control flow graph for Java source code
To do some intraprocedural analysis, I need to generate program dependence graph (PDG) and control flow graph (CFG) for java source code.为了进行一些过程内分析,我需要为 java 源代码生成程序依赖图 (PDG) 和控制流图 (CFG)。
I found a CFG generator tool, eclipsefcg.sourceforge.net/ , which is a plugin for Eclipse and it works well.我找到了一个 CFG 生成器工具eclipsefcg.sourceforge.net/ ,它是 Eclipse 的插件,效果很好。 But I did not find any tool that can generate a PDG in such a convenient manner.
但是我没有找到任何可以以如此方便的方式生成 PDG 的工具。 Is there any tool can be used to conveniently generate PDG for Java code?
有没有什么工具可以方便的生成Java码的PDG? That would be more helpful if there is a tool can generate both PDG and CFG.
如果有一个工具可以同时生成 PDG 和 CFG,那将更有帮助。
I remember eclipse has this feature you can Google this question.我记得 eclipse 有这个功能你可以谷歌这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.