[Soot-list] Understand how use soot properly and why two identical method have different representation

Jan-Peter Stotz jan-peter.stotz at sit.fraunhofer.de
Mon Mar 18 12:13:04 EDT 2019


Hi Dario,

have you checked that the two methods are not only identical on Java
source code level but also on Java byte code level (-> Java byte code
viewer)? If the compiler created slightly different byte code for them
you can Soot config in any way you want and will still get different
results.

Second: When using Soot with Soot Classpath make sure you don't forget
to add the JAR containing the Java runtime classes. If the base classes
(especially the Exception classes) are not present in Soot there are
some really bad side-effects which end up in Soot some times eliminating
catch handler in a non-deteministic way.

Jan


More information about the Soot-list mailing list