[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Option Change ?



It seems to me that there are several changes on command line options in the
new version.

-a  is no longer valid. is it replaced by -w?  But which phases
automatically enabled by -w?

And about phase options.

I wrote a SceneTransformer named "ExceptionSover", and I register it in my
own main function using the code below and then call soot.Main

PackManager.v().getPack("wjtp").add(new Transform("wjtp.exception",
ExceptionSolver.v()));


And inside my own phase, I need to call spark, so I wrote:
    SparkTransformer.v().transform( phaseName + ".spk" );

I was able to using "-p wjtp.exception.spk  XXXXX" to pass some options to
the spark I'm using when in soot 1.2.5.    But now the soot complained about
this phase does not exist.


Would you please help me on how to get around this?  I'm calling spark
inside my own phase is because I need to do something before and after the
points to analysis.