[Soot-list] Using soot as a library

Eric Bodden eric.bodden at ec-spride.de
Mon Jul 9 02:49:59 EDT 2012


Hi David.

> Doing this via brute force traversal is substantially harder, as I'd
> need to examine every Value in every Unit in every Body of the class.
> Before I do this, is there a cleverer way of getting this information?
> For example, is there a way to traverse Values without needing to parse
> the Unit they belong to?

No, I am afraid not. What you can do, though, is the following: you
can ask each method body for all its value boxes. Then you can just
iterate through those. That does not make it much faster but it makes
things simpler to program.

Eric


More information about the Soot-list mailing list