I need a tool for generating control flow in java, but not a visual draw, something that I can work with like with path conditions or so. Anyone ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
To future record, what I´ve found that best suits to my needs is Soot.
http://www.sable.mcgill.ca/soot/
回答2:
The ASM library can do that, at the JVM-bytecode level. See Method Analysis and Control flow analyses in http://download.forge.objectweb.org/asm/asm4-guide.pdf (page 121).
回答3:
Atlas is an Eclipse plugin that enables program analysis. It has a querable graph database that includes the control flow graph (as well as data flow and other relationships).
回答4:
Maybe this is what you were looking for http://www.jboss.org/jbpm