[Soot-list] patch to allow adding methods during BodyTransformer

Phil Pratt-Szeliga pcpratts at syr.edu
Fri Apr 13 19:25:25 EDT 2012


Hello,

This is a patch to allow adding methods to a class while another of
its methods in the same class is being analyzed by a BodyTransformer.
A test case for this code is located at:
https://bitbucket.org/pcpratts/soot_add_method

Without this patch, output to Jimple works but baf output does not work.

This use case occurs whenever a developer wants to add a method in the
same class of a method being analyzed.

Phil Pratt-Szeliga
Syracuse University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_methods.patch
Type: application/octet-stream
Size: 2719 bytes
Desc: not available
Url : http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20120413/8930ad5b/attachment.obj 


More information about the Soot-list mailing list