[Soot-list] Possible to run Soot analysing Java library?

Eric Bodden eric.bodden at ec-spride.de
Fri Mar 8 03:28:54 EST 2013


Oh, and of course you need to tell Soot which classes to actually
analyze. "-process-dir rt.jar" could help with that.

Eric

On 8 March 2013 09:28, Eric Bodden <eric.bodden at ec-spride.de> wrote:
> Hi.
>
> Check out the include options here:
> http://www.sable.mcgill.ca/soot/tutorial/usage/
>
> If you include the right packages and set the classpath right it
> should just work.
>
> Eric
>
> On 8 March 2013 04:58, Yi Lin <qinsoon at gmail.com> wrote:
>> Hi,
>>
>> I am writing a Java(restricted)-to-native compiler. I am trying to use
>> Soot as parser, and generating code from its Jimple AST.
>>
>> So one step is that I will need the Java library (though a small part of
>> it) in native code. One choice for me is to write the library in Java
>> and use the same compiler to get its native code, which requires Soot
>> being able to parse library source files. That is why I am asking
>> whether it is possible to run Soon on the library. If we can, that will
>> make my life much easier. Otherwise, I will hvae to hand code the
>> library in native code.
>>
>> Regards,
>> Yi
>>
>> On 8/03/13 13:51 , Marc-André Laverdière wrote:
>>> Hello,
>>>
>>> By default, soot has java, java and a few more as exclusions, so if you put any options related to exclusions, you won't have anything.
>>>
>>> Also, soot needs a main class, which the JDK jars will not provide.
>>>
>>> But it I'd hard to help you without knowing what is it you want to do on the library ;)
>>
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at sable.mcgill.ca
>> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>
>
> --
> Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
> Head of Secure Software Engineering Group at EC SPRIDE
> Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
> Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt



-- 
Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt


More information about the Soot-list mailing list