[Soot-list] ClassCastException during OnTheFlyCallGraph-Creation

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Fri Oct 7 06:43:49 EDT 2011


> i doesn't run soot from command-line. Here is my Soot-Setup for the
> discussed problem:

That may actually be part of the problem. If you don't call
soot.Main.main(..) then you don't call Soot's main control loop and
hence you may be missing some crucial initialization. This is
recommended only when you know exactly what you are doing.

You should be able to achieve the same effect by using a combination
of command-line and phase options:
http://www.sable.mcgill.ca/soot/tutorial/usage/
http://www.sable.mcgill.ca/soot/tutorial/phase/

If you want, you can write a main method that call's Soot's main
method with those arguments.

Eric


More information about the Soot-list mailing list