[Soot-list] beginner

zack morillo zackmorillo at gmail.com
Wed May 5 06:51:42 EDT 2010


Hi Eric,

Thank you for your reply.  I have tried the options you mentioned and now
the Line Number Table is available.  However the Local Variable Table is not
produced in the output, is there any option I can use so that the output
class file contains the Local Variable Tables as well?

Thanks,

Zack

On Tue, May 4, 2010 at 5:13 PM, Eric Bodden <
bodden at st.informatik.tu-darmstadt.de> wrote:

> Hi Zack.
>
> >> 1. Optimize the generated bytecode for smaller sizes, i.e. I prefer a
> >> small
> >> size bytecode than speed
>
> That is a too general question. Quite obviously you would have to
> replace multiple statements by fewer, equivalent statements. There's
> an infinite number of ways to do this. You may want to look at
> peephole patterns/optimizations.
>
> >> 2. How can I keep the line number table and local variable table for
> each
> >> function?
>
> That has been discussed frequently on this list. There's to parameters for
> this:
> -keep-line-number
> -p jb use-original-names:true
>
> Cheers,
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20100505/610090a3/attachment.html 


More information about the Soot-list mailing list