Tool for generating control flow in Java

2019-03-13 21:58发布

问题:

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