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 ?
Control flow statements let you control the flow of the execution of the code in your program. In Java programming language, you can control the flow of execution of the code by placing the decision making, branching, looping, and adding conditional blocks.
A Control Flow Graph (CFG) is the graphical representation of control flow or computation during the execution of programs or applications. Control flow graphs are mostly used in static analysis as well as compiler applications, as they can accurately represent the flow inside of a program unit.
To future record, what I´ve found that best suits to my needs is Soot.
http://www.sable.mcgill.ca/soot/
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With