[Soot-list] getTag() for self added Tags

Manjiri Namjoshi manjiri.namjoshi at googlemail.com
Mon Mar 2 17:27:15 EST 2009


Hello,

Is there any way to get the name and value of Tag which we have added.
Example:
protected void internalTransform (Body b, String phaseName, Map options){
    SootMethod sootMethod = b.getMethod();
    Tag appMethod = new GenericAttribute("ApplicationMethod",
"ApplicationMethod".getBytes());
    sootMethod.addTag(appMethod);
}

getTag("ApplicationMethod") doesnt give me back the tag which I had added.

Does getTag only work for the soot's standard Tags?
Or am I doing anything wrong?

Thank You.


Sincerely,
Manjiri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20090302/17f17065/attachment.html 


More information about the Soot-list mailing list