<div dir="ltr">So did u find any solution for dumping the cfgs with the in and out sets from soot along the way? If yes, could you share your method ? Thanks!<br><br>Mike Shah於 2017年3月14日星期二 UTC+8上午3時14分25秒寫道:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Ah excellent, I was able to get soot to work from the command line.<div><br></div><div>As far as performing a data flow analysis from the command line, are there any examples for dumping the cfgs with the in and out sets from soot along the way? I don't want to duplicate work. But if I am otherwise constrained to the eclipse plugin, I will find a way to make that work.</div><div><br></div><div>Thanks,</div><div>Mike</div></div><div><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>______________________________<wbr>_</div><div><div style="font-size:12.8px">Mike Shah<br>Ph.D. <span style="font-size:12.8px">Candidate</span></div><div style="font-size:12.8px"><span style="font-size:12.8px">Tufts Graduate Student Council President</span></div><div style="font-size:12.8px"><a href="http://ase.tufts.edu/gsc" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fase.tufts.edu%2Fgsc\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH79mlAh0jD1TWPwlm_QPofpXE36w';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fase.tufts.edu%2Fgsc\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH79mlAh0jD1TWPwlm_QPofpXE36w';return true;">ase.tufts.edu/gsc</a></div><div style="font-size:12.8px"><a href="http://michaeldshah.net/" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fmichaeldshah.net%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG97hQovavDuzSMj4xnCE7E3Ot27A';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Fmichaeldshah.net%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG97hQovavDuzSMj4xnCE7E3Ot27A';return true;">http://michaeldshah.net</a></div></div><div><a href="https://twitter.com/MichaelShah" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2FMichaelShah\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHdZDj7mgd9nUmXPQwAEuc7T2ZNUQ';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2FMichaelShah\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHdZDj7mgd9nUmXPQwAEuc7T2ZNUQ';return true;">https://twitter.com/<wbr>MichaelShah</a><br></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Mar 13, 2017 at 5:31 AM, Arzt, Steven <span dir="ltr"><<a href="javascript:" target="_blank" gdf-obfuscated-mailto="nI32cTPCBQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">steve...@sit.fraunhofer.de</a><wbr>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If you implement your own data flow analysis, you have to create your own main() method that registers your custom phase into Soot and then calls Soot’s normal
main() method. You can find this as “MyMain” in the example on the page that you mentioned. This is the program that you can then launch from the command line.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> Steven<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Soot-list [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="nI32cTPCBQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">soot-lis...@cs.<wbr>mcgill.ca</a>]
<b>On Behalf Of </b>Mike Shah<br>
<b>Sent:</b> Sunday, March 12, 2017 9:50 PM<br>
<b>To:</b> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="nI32cTPCBQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">soot...@cs.mcgill.ca</a><br>
<b>Subject:</b> [Soot-list] Soot dataflow analysis from commandline?<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Are there any examples of running soot as a dataflow analysis tool from the commandline?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I cannot seem to get the plugin installed on the latest eclipse tool, and would like to just run my dataflow analysis from the commandline.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I am trying to use the GuaranteedDefs example from the tutorial.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://github.com/Sable/soot/wiki/Implementing-an-intra-procedural-data-flow-analysis-in-Soot" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSable%2Fsoot%2Fwiki%2FImplementing-an-intra-procedural-data-flow-analysis-in-Soot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEWqIgppLW7MI0phBN4JLKW0Ryvig';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSable%2Fsoot%2Fwiki%2FImplementing-an-intra-procedural-data-flow-analysis-in-Soot\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEWqIgppLW7MI0phBN4JLKW0Ryvig';return true;">https://github.com/Sable/soot/<wbr>wiki/Implementing-an-intra-<wbr>procedural-data-flow-analysis-<wbr>in-Soot<br>
</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm assuming I can just dump out the tags as xml--but an example would be helpful!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>
</blockquote></div>