[Soot-list] soot class path issue
Marc-André Laverdière
marc-andre.laverdiere-papineau at polymtl.ca
Tue Aug 5 09:24:24 EDT 2014
Hi Ashish,
I would run this getSootClassPath call in a transformer. As it is, you
are calling it before the options get processed in the Main.main() call...
Marc-André Laverdière-Papineau
Doctorant - PhD Candidate
On 08/05/2014 09:11 AM, ASHISH MISHRA wrote:
> 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
> <mailto:ashishmishra at csa.iisc.ernet.in>
>
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
>
More information about the Soot-list
mailing list