<div dir="ltr">Hi all,<br><br>I am new to soot. I want to construct the control flow graph for an app. Here is the code I&#39;m using<code>:<br></code><br>import java.io.IOException;<br><br>import java.util.Collections;<br><br>import org.xmlpull.v1.XmlPullParserException;<br><br>import soot.PackManager;<br><br>import soot.Scene;<br><br>import soot.SootMethod;<br><br>import soot.jimple.infoflow.android.SetupApplication;<br><br>import soot.options.Options;<br><br>public class CFG {<br><br>public CFG() {<br><br>// TODO Auto-generated constructor stub<br><br>}<br><br>public static void main(String[] args) {<br><br>// TODO Auto-generated method stub<br><br>SetupApplication app = new SetupApplication(&quot;/home/arash/Desktop/adt-bundle-linux-x86_64-20140702/sdk/platforms&quot;,&quot;/home/arash/Desktop/apps/app.easytoken_909.apk&quot;);<br><br>try {<br><br>app.calculateSourcesSinksEntrypoints(&quot;./AndroidCallbacks.txt&quot;);<br><br>} catch (IOException e) {<br><br>// TODO Auto-generated catch block<br><br>e.printStackTrace();<br><br>} catch (XmlPullParserException e) {<br><br>// TODO Auto-generated catch block<br><br>e.printStackTrace();<br><br>}<br><br>soot.G.reset();<br><br>Options.v().set_src_prec(Options.src_prec_apk);<br><br>Options.v().set_process_dir(Collections.singletonList(&quot;/home/arash/Desktop/apps/app.easytoken_909.apk&quot;));<br><br>Options.v().set_android_jars(&quot;/home/arash/Desktop/adt-bundle-linux-x86_64-20140702/sdk/platforms&quot;);<br><br>Options.v().set_whole_program(true);<br><br>Options.v().set_allow_phantom_refs(true);<br><br>Options.v().set_output_format(Options.output_format_none);<br><br>Options.v().setPhaseOption(&quot;cg.spark&quot;, &quot;on&quot;);<br><br>Scene.v().loadNecessaryClasses();<br><br><b>SootMethod entryPoint = app.getEntryPointCreator().createDummyMain();</b><br><br>Options.v().set_main_class(entryPoint.getSignature());<br><br>Scene.v().setEntryPoints(Collections.singletonList(entryPoint));<br><br>System.out.println(entryPoint.getActiveBody());<br><br>PackManager.v().runPacks();<br><br>System.out.println(Scene.v().getCallGraph().size());<br><br>}<br><br>}<code><br><br><br></code>I get the following error for the above bold line:<br><br><span style="color: rgb(255, 0, 0);">Exception in thread &quot;main&quot; java.lang.Error: Unresolved compilation problems: <br>    The type soot.jimple.infoflow.entryPointCreators.AndroidEntryPointCreator cannot be resolved. It is indirectly referenced from required .class files<br>    The method getEntryPointCreator() from the type SetupApplication refers to the missing type AndroidEntryPointCreator</span><br><br>Any idea how can I fix this?<br><br>Thanks<br><br><br><br><br></div>