<div dir="ltr"><span id="yiv7673841225yui_3_16_0_1_1455156331232_67847">I have replied to Jason previously in private email as my email was blocked from posting in soot-list by<br>googlegroups. This is a direct post to the soot-list Google groups, summarizing my replies. I hope they help<br>people having similar question.<br></span><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_68240"><span id="yiv7673841225yui_3_16_0_1_1455156331232_67847"><br clear="none"></span></div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_68190">1) PaddleTransformer is in paddle-0.3.jar archive here: <a id="yui_3_16_0_1_1455238443363_11358" rel="nofollow" shape="rect" target="_blank" href="http://www.sable.mcgill.ca/software/paddle-0.3.jar">http://www.sable.mcgill.ca/software/paddle-0.3.jar</a><br clear="none"></div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_68031"> You can also find a link to the archive from http://www.sable.mcgill.ca/paddle.<br><span id="yiv7673841225yui_3_16_0_1_1455156331232_68030">2)
 Figure 9 can be found in PointsToAnalysis.java in the source code 
example, in the method main and an expanded<br>version of Figure 10 can be 
found in setSparkPointsToAnalysis method of the same file.<br clear="none"></span></div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_68045"><div id="yiv7673841225yui_3_16_0_1_1455156331232_68675"><br clear="none"></div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_68579">It is likely that Soot will throw an exception on &quot;Item&quot; or &quot;Container&quot; class not found when one</div><div id="yiv7673841225yui_3_16_0_1_1455156331232_68578">tries to run the analysis. I use the command line to execute soot, so the following is only my own guess on</div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_68485">how properly set the project in case you want to run the analysis in Eclipse.</div></div><div id="yiv7673841225yui_3_16_0_1_1455156331232_59801"><div id="yiv7673841225yui_3_16_0_1_1455156331232_60952"><div id="yiv7673841225yui_3_16_0_1_1455156331232_68339"><br clear="none"></div><div id="yiv7673841225yui_3_16_0_1_1455156331232_68373">I think you need to compile pointsto/test/Item.java to Item.class and include its directory in</div></div><div id="yiv7673841225yui_3_16_0_1_1455156331232_60150">Java and Soot&#39;s classpath. That is, assuming Item.class is built as /some_path/Item.class,</div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_60318">you need to include /some_path/ as a class path in Eclipse by:</div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_60951"><br clear="none"></div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_60453">1.
 Right-click the project name in the Project Explorer -&gt; Java Build 
Path -&gt; Libraries -&gt; Add Class Folder<br>-&gt; select /some_path/ 
-&gt; OK.<br clear="none"></div></div><div id="yiv7673841225yui_3_16_0_1_1455156331232_51945"><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_60452">2. You need to modify PointsToAnalysis.java by adding the following as the first line in the main method:</div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_61510"><br clear="none"></div><div dir="ltr" id="yiv7673841225yui_3_16_0_1_1455156331232_61511">soot.options.Options.v().set_soot_classpath(&quot;/some_path:&lt;other_paths&gt;&quot;);<br clear="none"></div><br clear="none"><div id="yiv7673841225yui_3_16_0_1_1455156331232_60950">Where &lt;other_paths&gt; stands for other paths you may need to include.<br clear="none"></div></div><div id="yiv7673841225yui_3_16_0_1_1455156331232_50115"><br clear="none"></div><div id="yiv7673841225yui_3_16_0_1_1455156331232_68674">Regards,</div><div id="yiv7673841225yui_3_16_0_1_1455156331232_68673">Andrew</div><br>On Thursday, February 11, 2016 at 3:24:08 AM UTC+8, Jason wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.8px">Hello,</span><div style="font-family:arial,sans-serif;font-size:12.8px"><br></div><div style="font-family:arial,sans-serif;font-size:12.8px">I read theĀ <a href="http://www.brics.dk/SootGuide/sootsurvivorsguide.pdf" style="color:rgb(17,85,204)" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.brics.dk%2FSootGuide%2Fsootsurvivorsguide.pdf\46sa\75D\46sntz\0751\46usg\75AFQjCNFxNKjTK_DElBzt6fyRAEA71uAMkw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fwww.brics.dk%2FSootGuide%2Fsootsurvivorsguide.pdf\46sa\75D\46sntz\0751\46usg\75AFQjCNFxNKjTK_DElBzt6fyRAEA71uAMkw&#39;;return true;">http://www.brics.dk/<wbr>SootGuide/sootsurvivorsguide.<wbr>pdf</a></div><div style="font-family:arial,sans-serif;font-size:12.8px">But I have two small questions. If you could help me, I appreciate it so much.</div><div style="font-family:arial,sans-serif;font-size:12.8px"><br></div><div style="font-family:arial,sans-serif;font-size:12.8px">1). I download the source code example from your website, in &quot;pointsto&quot; folder, The &quot;PointsToAnalysis.java&quot;, the line 19 &quot;import soot.jimple.paddle.<wbr>PaddleTransformer;&quot; has error. I check that the package &quot;soot.jimple.paddle&quot; of soot, there is not a &quot;PaddleTransformer.java&quot;, but have &quot;IPaddleTransformer.java&quot;.</div><div style="font-family:arial,sans-serif;font-size:12.8px"><br></div><div style="font-family:arial,sans-serif;font-size:12.8px">2). In this guide, where can we get the code for Page 36, Figure 9 and Page 37, Figure 10? I did not see those code in the source code example.</div></div></blockquote></div>