[Soot-list] can we add tags to Stmt ?

Eric Bodden eric.bodden at mail.mcgill.ca
Tue Aug 5 22:32:49 EDT 2008


Sure. It's as easy as using stmt.addTag(...) or method.addTag(...):
http://www.sable.mcgill.ca/soot/doc/soot/tagkit/Host.html#addTag(soot.tagkit.Tag)

Only problem is with local variables. Those cannot have tags. But you
can add a tag to the declaring method that keeps a mapping from local
variables to whatever you want to store in the tag.

Eric

2008/8/5 Manjiri Namjoshi <manjiri.namjoshi at googlemail.com>:
> Hi,
>
> Is it possible to add tags to the local variables of a method or individual
> statements with SOOT?
>
> Thank You.
>
> Sincerely,
> Manjiri
>
> _______________________________________________
> 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