[Soot-list] Question about Traensformation

Zeinab Lashkaripour lashkaripour at yahoo.com
Sat May 11 10:32:20 EDT 2013


Hi every one,

I am trying to use Soot in order to perform some transformations.
I have tried the code in [1] and it works fine. After that I wanted to test my own transformations but I get the exception as below:

Soot started on Sun May 12 18:52:29 IRDT 2013
Exception in thread "main" java.lang.RuntimeException: couldn't find class: t1 (is your soot-class-path set properly?)
    at soot.SootResolver.bringToHierarchy(SootResolver.java:205)
    at soot.SootResolver.bringToSignatures(SootResolver.java:239)
    at soot.SootResolver.processResolveWorklist(SootResolver.java:154)
    at soot.SootResolver.resolveClass(SootResolver.java:124)
    at soot.Scene.loadClass(Scene.java:448)
    at soot.Scene.loadClassAndSupport(Scene.java:433)
    at soot.Scene.loadNecessaryClass(Scene.java:1053)
    at soot.Scene.loadNecessaryClasses(Scene.java:1067)
    at soot.Main.run(Main.java:167)
    at soot.Main.main(Main.java:141)
    at MyMain.main(MyMain.java:134)


This exception if I'm not mistaken is due to not setting the classpath correctly but I'm sure about the classpath because I've used it in my analysis and also the code in [1]. I wanted to know if this exception can occur due to some problems in my transformation code or not? 

The command I use is: args = new String[] {"-pp", "-cp", ".", "-f", "jimple", "--app", "myclass"};



[1]: On the Soot menagerie – fundamental Soot objects
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130511/04c4acd2/attachment.html 


More information about the Soot-list mailing list