<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
</head>
<body style="font-family:Arial;font-size:14px">
<p>Hi All,<br>
<br>
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.<br>
<br>
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.<br>
<br>
The instrumentation code is:<br></p>
<div>units</div>
<div>.add(Jimple.v()</div>
<div>.newInvokeStmt(Jimple.v()</div>
<div>.newVirtualInvokeExpr(tmpRef, Scene.v()</div>
<div>.getMethod("<java.io.PrintStream: void println(java.lang.String)>").makeRef(),</div>
<div>StringConstant.v(left.toString()))));<br>
<br>
Where left is the Value left.<br>
<br>
Can someone please help me find a solution to this.<br>
<br>
Thanks in advance,<br>
Pallavi</div>
</body>
</html>