[Soot-list] identifying Jimple statement types

Yitzhak Mandelbaum yhmandelbaum at cert.org
Mon Jun 4 15:53:56 EDT 2012


Hi,

I'm new to Soot and learning how to process Jimple code.  What is the standard/recommended way of identifying the type of individual statements? I've looked at code samples in soot.jimple.toolkits.base and I've seen consistent use of instanceof. Is this the recommended way? Or, is there some visitor pattern, etc.?

Thanks!
Yitzhak
--------------------------------------------------
Yitzhak Mandelbaum
CERT / Software Engineering Institute
Carnegie Mellon University
http://www.andrew.cmu.edu/~yhm








More information about the Soot-list mailing list