[Soot-list] Transforming java library classes

Chris Pickett chris.pickett at mail.mcgill.ca
Mon Feb 25 14:42:22 EST 2008


Hi Khilan,

It's hard for people to help you if you don't provide enough 
information.  (In general, err on the side of providing too much.)

Please post your exact command-line and source code.

Chris

Khilan Gudka wrote:
> Dear Eric,
> 
> I tried as per your suggestion but still no luck.
> 
> Khilan
> 
> On 25/02/2008, Eric Bodden <eric.bodden at mail.mcgill.ca> wrote:
>> 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
>>
> _______________________________________________
> 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