[Soot-list] Interface Methods in SootClass
Karthik Rao
karthik.0703 at gmail.com
Fri Feb 9 11:26:04 EST 2018
Hello Everyone,
I am creating a class using Soot and have run into an issue with interface
methods. I am essentially trying to create the below line (created by
converting Java code to Jimple) using Soot.
$z0 = interfaceinvoke d.<soot.Unit: boolean
hasTag(java.lang.String)>("AnalysisInfoTag");
When I query the Scene for the method by "Scene.v().getMethod("<soot.Unit:
boolean hasTag(java.lang.String)>")" it throws an exception- "tried to get
nonexistent method <soot.Unit: boolean hasTag(java.lang.String)>".
The SootClass soot.Unit has two methods addTag and removeTag , but the rest
of the methods from the Host interface are missing.
It would be great if someone could point out what I am doing wrongly.
TIA!
Cheers,
Kaarthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20180209/74739eb0/attachment.html>
More information about the Soot-list
mailing list