[Soot-list] Transforming java library classes

Eric Bodden eric.bodden at mail.mcgill.ca
Mon Feb 25 10:25:45 EST 2008


Hi, Khilan.

Did you use the -include-all option?

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

Eric

On 25/02/2008, Khilan Gudka <khilan.gudka at imperial.ac.uk> wrote:
> Dear All,
>
>  I would like to be able to modify the java sdk library classes by
>  adding methods to them. At present, I pass the java library class to
>  be modified as one of the application classes. Soot generates the
>  class files for these classes but they don't include the methods that
>  I added to them using SootClass.addMethod.
>
>  Is this the right way to go about modifying java sdk classes?
>
>  Thanks,
>  Khilan
>  _______________________________________________
>  Soot-list mailing list
>  Soot-list at sable.mcgill.ca
>  http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list