[Soot-list] Instrumentation of a class

Eric Bodden eric.bodden at ec-spride.de
Fri Jul 6 03:27:29 EDT 2012


Ken can you be more specific about what your problem actually is? Also
what do you mean by an "attribute"?

Eric

On 6 July 2012 01:19, 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
>



-- 
Eric Bodden, Ph.D., http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Principal Investigator in Secure Services at CASED
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt


More information about the Soot-list mailing list