[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: optimizing for size
On Mon, Jun 23, 2003 at 05:15:15PM -0400, Navindra Umanee wrote:
> Stephen Andrew Neuendorffer <neuendor@eecs.berkeley.edu> wrote:
> > Obfuscating the strings in the bytecode will probably reduce code size more
> > than anything else....
> >
> > There are several tools available for obfuscation, such as Jode
> > (http://www.sourceforge.net),
> > but as far as I know, Soot does not yet have this capability.
>
> Actually, David might have done something similar as part of his 621
> project which was about optimizing bytecode for space.
>
> I'm not sure what the status of his code is, but I dropped him a note
> in case he might want to chime in.
I did some work on this for my 621 project. I think the code was still
quite unstable. That code is currently unmaintained.
I just put a copy of my final report here:
http://www.sable.mcgill.ca/~dbelan2/621_final_report.ps
I could package and make the code available in the next few days.
The only component that may be stable enough for real-world application
could be the renaming component. Saving of 10% in space could
potentially be obtained by renaming all fields/methods/classes.
David
---
David Bélanger
Graduate Student
School of Computer Science
McGill University
Office: MC226
Web page: http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt