_______________________________________________
Soot-list mailing list
Soot...@sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
If so, it would be cool if you shared your code when its stable. I think
it could be useful to do comparative analyses.
Marc-André Laverdière-Papineau
Doctorant - PhD Candidate
Thanks Zhoulai,Could you give me a further explanations? I still get a confused by the way of running soot on eclipse.Here's my way of running Soot (exactly Spark )on Eclipse:Like PointsToAnalysis.java in surviveguideexample, my main function goes like this:public static void main(String[] args) {// Pointsto.loadClass("Container", false);// Pointsto.loadClass("Item", false);SootClass sc = Pointsto.loadClass("JLex.Main", true);//*.java source code namejava.util.List list = new java.util.ArrayList();list.add(sc.getMethodByName("main"));soot.Scene.v().setEntryPoints(list);soot.Scene.v().loadNecessaryClasses();Pointsto.setSparkPointsToAnalysis();}And I didn't compile and run the whole soot projects since it contains some bugs. I just put some important java file into my projects and configure the build path correctly.Now I'm confused of your saying, as to I know, it's better to modify the soot.main file, and I don't know how to specify input formats of jar package, for instance, Dacapo.jar. Thank you very much for your help!
------------------------String[] sootArgs[]new String[]{
//specify your classpath and input format etc here
}
soot.main.Main(sootArgs);
----------------------
--祝好!