[Soot-list] Method Parameters
Pallavi Majumder
s8pamaju at stud.uni-saarland.de
Tue Jan 10 09:04:03 EST 2017
Hi All,
I want to find the parameter values of a method in soot. I went
through the previous posts and found
"http://marc.info/?l=soot-list&m=129568637009542" to be helpful. I
have implemented the same, I get the left and right variables.
However, I need the values that are stored in these variables and not
just the variable names. When I try to instrument the target program
with the instructions it doesn't print.
The instrumentation code is:
units
.add(Jimple.v()
.newInvokeStmt(Jimple.v()
.newVirtualInvokeExpr(tmpRef, Scene.v()
.getMethod("<java.io.PrintStream: void
println(java.lang.String)>").makeRef(),
StringConstant.v(left.toString()))));
Where left is the Value left.
Can someone please help me find a solution to this.
Thanks in advance,
Pallavi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20170110/31a86a79/attachment.html
More information about the Soot-list
mailing list