<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Arial Narrow";
panose-1:2 11 6 6 2 2 2 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas",serif;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Kobra,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">If you comment out the line you mention, FlowDroid will not only compute the callgraph, but perform a full taint analysis, which can take quite some time, depending
on the app. Consequently, if you only need the callgraph, that line is important. If this method is not available, you are most likely using an outdated version of FlowDroid. Did you download the 1.5 release version from Github?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> Steven<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></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:soot-list-bounces@cs.mcgill.ca]
<b>On Behalf Of </b>Kobra Khanmohammadi<br>
<b>Sent:</b> Tuesday, March 28, 2017 5:16 PM<br>
<b>To:</b> soot-list@cs.mcgill.ca<br>
<b>Subject:</b> [Soot-list] infoflow analyser configuration<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I am trying to get the call graph of an Android app and useing infoflow. I used the sample code provided by Steven in this issue chain
<a href="https://github.com/secure-software-engineering/soot-infoflow-android/issues/129">
https://github.com/secure-software-engineering/soot-infoflow-android/issues/129</a><o:p></o:p></p>
</div>
<p class="MsoNormal">I get error for <o:p></o:p></p>
<pre><code>analyzer.getConfig().setTaintAnalysisEnabled(false);</code><o:p></o:p></pre>
<pre><code><span style="font-family:"Arial Narrow",sans-serif">setTainAnalyserEnabled is not in the list of methods for getConfig. If I comment this line I will get out of memory after running the code.</span></code><o:p></o:p></pre>
<pre style="margin-bottom:12.0pt"><code><span style="font-family:"Arial Narrow",sans-serif">I import these:</span></code><span style="font-family:"Arial Narrow",sans-serif"><br><code><span style="font-family:"Arial Narrow",sans-serif">import soot.jimple.infoflow.android.SetupApplication;</span></code><br><code><span style="font-family:"Arial Narrow",sans-serif">import soot.jimple.infoflow.android.config.SootConfigForAndroid;</span></code><br><code><span style="font-family:"Arial Narrow",sans-serif">import soot.jimple.spark.pag.PAG;</span></code><br><code><span style="font-family:"Arial Narrow",sans-serif">import soot.jimple.toolkits.callgraph.CHATransformer;</span></code><br><code><span style="font-family:"Arial Narrow",sans-serif">import soot.jimple.toolkits.callgraph.CallGraph;</span></code><br><code><span style="font-family:"Arial Narrow",sans-serif">import soot.jimple.toolkits.callgraph.CallGraphBuilder;</span></code><br><code><span style="font-family:"Arial Narrow",sans-serif">import soot.jimple.toolkits.callgraph.Edge;</span></code><br><code><span style="font-family:"Arial Narrow",sans-serif">import soot.jimple.toolkits.callgraph.Targets;</span></code></span><o:p></o:p></pre>
<pre><code><span style="font-family:"Arial Narrow",sans-serif">Sorry if it is very naive question. I got stuck on it.</span></code><o:p></o:p></pre>
<pre><code><span style="font-family:"Arial Narrow",sans-serif">Bests,</span></code><o:p></o:p></pre>
<pre><code><span style="font-family:"Arial Narrow",sans-serif">Kobra</span></code><o:p></o:p></pre>
<pre style="margin-bottom:12.0pt"><o:p> </o:p></pre>
</div>
</div>
</body>
</html>