[Soot-list] Where does Soot process eclipse projects

Tristan RATCHFORD tratch at cs.mcgill.ca
Wed Mar 3 16:25:45 EST 2010


Hi Eric,

The latter is exactly what I'm looking for.

Thanks!

Tristan

On 03/03/10 04:22 PM, Eric Bodden wrote:
> Hi Tristan.
>
> There are two options. Firstly, you can use the -process-dir<dir>
> option. This will process all files in<dir>. The second option is to
> use the Soot eclipse plugin. The plugin will set Soot's parameters
> programatically, from the project's classpath settings. You can find
> the code for the plugin here:
>
> https://svn.sable.mcgill.ca/soot/soot/trunk/eclipse/
>
> In particular, this class here takes care of creating the right
> classpath for Soot from the selected project:
> https://svn.sable.mcgill.ca/soot/soot/trunk/eclipse/ca.mcgill.sable.soot/src/ca/mcgill/sable/soot/launching/SootClasspath.java
>
> Hope that helps,
> Eric
>
> --
> Dr. Eric Bodden
> Software Technology Group, Technische Universität Darmstadt, Germany
> Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
> Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt
>
>
>
> On 3 March 2010 21:41, Tristan RATCHFORD<tratch at cs.mcgill.ca>  wrote:
>    
>> Hello Soot List,
>>
>> I am trying to programmatically feed Java files from an Eclipse project into
>> Soot.
>> I know I can manually feed in individual files as follows:
>>
>> Options opt = Options.v();
>> opt.classes().add("package.MyFavouriteClass");
>>
>> However, I also know that it's possible to process an entire project through
>> Eclipse. I am just wondering where that functionality is located so I can
>> reuse it. I have already spent some time searching, but nothing has come up.
>>
>> Does any one know off the top of their head?
>>
>> Thank you,
>>
>> Tristan
>>
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at sable.mcgill.ca
>> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>>
>>
>>      



More information about the Soot-list mailing list