[Soot-list] Instrumentation of a class

Z zell08v at orange.fr
Thu Jul 5 23:04:06 EDT 2012


To add byte-codes to methods for the purpose of gathering data to be
utilized by tools, you might want to look at lLveVarsTagger or
NullPointerColorer of the SOOT source codes.

Zell.

On Fri, Jul 6, 2012 at 1:19 AM, Ken Dinsmore <kdinsmore at hotmail.com> wrote:

> I have a naïve question about instrumenting a class. All I want to do is
> add a class level attribute, then in two of the existing methods in the
> class to be instrumented, call a couple of methods of the new class level
> attribute that I added. That should not be very difficult, but I’m have
> trouble getting it to actually work. I’ve been looking at “using Soot to
> Instrument a Class File” and “Creating a Class From Scratch with Soot”.
> Based on those examples (and a few others) I am using a BodyTransformer and
> adding it to  the JTP pack.****
>
> ** **
>
> Is there a different tutorial or example that I should be looking at?****
>
> ** **
>
> Ken Dinsmore****
>
> ** **
>
> ** **
>
> ** **
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20120706/3ea442a7/attachment.html 


More information about the Soot-list mailing list