[Soot-list] CFG from class file

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Tue Mar 30 01:52:09 EDT 2010


Dinesh, would you mind reading our documentation?

http://www.sable.mcgill.ca/soot/tutorial/index.html

That will make your life and ours much easier. In particular, you may
want to study the command-line options, such as -src-prec:
http://www.sable.mcgill.ca/soot/tutorial/usage/index.html


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 30 March 2010 06:58, dinesh chhatani <dinustudy at gmail.com> wrote:
> How to generate CFG from class file
>
>
> PackManager.v().getPack("jtp").add(
>             new Transform("jtp.myTransform", new BodyTransformer() {
>               protected void internalTransform(Body body, String phase, Map
> options) {
>
>                   UnitGraph graph =new TrapUnitGraph(body);
>
> The above code requires source File... If I want to give .class file what I
> have to do..
> --
> Regards,
> Dinesh Chhatani
>
> _______________________________________________
> 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