[Soot-list] soot class path issue

ASHISH MISHRA ashish123.mishragkp at gmail.com
Tue Aug 5 09:11:05 EDT 2014


Hi,
I recently built the soot-trunk from the git and included it in my project
as i needed icfg related classes . I changed the sootclasses variable of my
eclipse to the soot-trunk.jar.

I am setting my soot args as follows

soot_args = new String[]{
"-w",
"-p",
"jb",
"use-original-names:true",
"-keep-line-number",
 "-print-tags",
"-pp",
 "-soot-class-path",
args[0],
 "-main-class",
 args[1],
"-app",
args[1],
 "-x",
"org.apache.",
    "-f",
// "jimple",
    "jimple",
    //"-xml-attributes",
// "-print-tags",
//"-annot-nullpointer"
// "-p"
 };

-- 
...

 PackManager.v().getPack("wjtp").add(tf);
   System.out.println("Soot class path " + Scene.v().getSootClassPath());
   soot.Main.main(soot_args);


but no matter whatever args i pass to the soot for the class path , the
soot class path is never set and it points to the default value


The above statement always gives me -
*Soot class path /usr/share/jdk1.7.0_01/jre/lib/rt.jar*

 Anybody faced this problem or has any idea what might be the reason.
Surprisingly I was able to run the analysis earlier with the updated
soot-trunk . Then i restarted eclipse and this problem.


With older version of the Soot i can still run my other analysis.

Thanks
Ashish

Regards,
Ashish Mishra
Graduate Student,
Computer Science and Automation Department,IISc
Cell : +91-9611194714
Mailto : ashishmishra at csa.iisc.ernet.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140805/375ec03b/attachment.html 


More information about the Soot-list mailing list