[Soot-list] Instrument Class to print HashCode
Utkarsh Gupta
utkarsh11117 at iiitd.ac.in
Tue Nov 25 08:47:38 EST 2014
Hi everyone,
We are trying to retrieve the hashcodes of all objects on the left hand
sides of assignment statements and print them using instrumentation. We are
following this
<https://github.com/Sable/soot/wiki/Adding-profiling-instructions-to-applications>
tutorial.
In the tutorial, the code to increment the counter is
*AssignStmt toAdd1 = Jimple.v().newAssignStmt(tmpLong,*
*
Jimple.v().newStaticFieldRef(gotoCounter.makeRef()));*
How do we invoke the hashcode function in a similar way?
Thank you,
Utkarsh Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20141125/160c33fd/attachment.html
More information about the Soot-list
mailing list