<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1434217066301_265203"><font size="2" id="yui_3_16_0_1_1434217066301_273192"><span id="yui_3_16_0_1_1434217066301_267808">Hi guys,</span><br>&nbsp;<br></font><div class="" id="yui_3_16_0_1_1434217066301_266431" style=""><div class="" id="yui_3_16_0_1_1434217066301_266430" style="word-wrap: break-word;"><div class="" id="yui_3_16_0_1_1434217066301_266429" style=""><div class="" id="yui_3_16_0_1_1434217066301_266428" style=""><div class="" id="yui_3_16_0_1_1434217066301_266426" style=""><div class="" id="yui_3_16_0_1_1434217066301_266425"><div class="" id="yui_3_16_0_1_1434217066301_266538" style=""><div class="" id="yui_3_16_0_1_1434217066301_266545" style=""><div class="" id="yui_3_16_0_1_1434217066301_266557" style=""><div class="" id="yui_3_16_0_1_1434217066301_266556" style=""><div class="" id="yui_3_16_0_1_1434217066301_266554" style=""><div class="" id="yui_3_16_0_1_1434217066301_266553" style=""><div class="" id="yui_3_16_0_1_1434217066301_266609" style=""><div class="" id="yui_3_16_0_1_1434217066301_266608" style=""><div class="" id="yui_3_16_0_1_1434217066301_266607" style=""><div class="" id="yui_3_16_0_1_1434217066301_266606" style="margin: 0cm 0cm 0.0001pt;" dir="ltr"><font size="2" id="yui_3_16_0_1_1434217066301_273189"><span id="yui_3_16_0_1_1434217066301_267776">I ran into a problem with constructing&nbsp;</span><span class="" id="yui_3_16_0_1_1434217066301_273046">entryPoint for performing analysis. &nbsp;</span><span id="yui_3_16_0_1_1434217066301_273086">The android application that I am analyzing includes AsyncTasks containing methods which are need to be analyzed. I used following code to construct entry point to run&nbsp;analysis:</span></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div id="yui_3_16_0_1_1434217066301_265203" class="" style="">
<div class="" style="" id="yui_3_16_0_1_1434217066301_273059"><font size="2"><span class="" style=""></span><br class="" style=""></font></div>
<div class="" style="" id="yui_3_16_0_1_1434217066301_273060"><span class="" style="" id="yui_3_16_0_1_1434217066301_273085"><font size="2" id="yui_3_16_0_1_1434217066301_273188">SootMethod entryPoint = app.getEntryPointCreator().createDummyMain();</font></span></div>
<div class="" style="" id="yui_3_16_0_1_1434217066301_273061"><span class="" style="" id="yui_3_16_0_1_1434217066301_273087"><font size="2" id="yui_3_16_0_1_1434217066301_273190">Options.v().set_main_class(entryPoint.getSignature());</font></span></div>
<div class="" style="" id="yui_3_16_0_1_1434217066301_273063"><span class="" style="" id="yui_3_16_0_1_1434217066301_273062"><font size="2" id="yui_3_16_0_1_1434217066301_273187">System.out.println("entry points are: "+(Collections.singletonList(entryPoint)).toString());</font></span></div>
<div class="" style="" id="yui_3_16_0_1_1434217066301_273064"><span class="" style="" id="yui_3_16_0_1_1434217066301_273065"><font size="2" id="yui_3_16_0_1_1434217066301_273191">Scene.v().setEntryPoints(Collections.singletonList(entryPoint));</font></span></div>
<div class="" style="" id="yui_3_16_0_1_1434217066301_273066"><font size="2"><span class="" style=""></span><br class="" style=""></font></div>
<div class="" style="" id="yui_3_16_0_1_1434217066301_273067"><font size="2"><span class="" style=""></span><br class="" style=""></font></div>
<div class="" style="" id="yui_3_16_0_1_1434217066301_273069"><span class="" style="" id="yui_3_16_0_1_1434217066301_273068"><font size="2" id="yui_3_16_0_1_1434217066301_273186">But, the problem is that the constructed entry point dose not include all the methods and AsyncTasks. It only includes "MainActivity". I also tried the mentioned code in “<a href="http://www.bodden.de/2012/07/26/soot-custom-entry-points/%E2%80%9C" class="" style="" id="yui_3_16_0_1_1434217066301_273071"><span class="" style="" id="yui_3_16_0_1_1434217066301_273070">http://www.bodden.de/2012/07/26/soot-custom-entry-points/“</span></a>, but it does not work.</font></span></div>
<div class="" dir="ltr" style="" id="yui_3_16_0_1_1434217066301_273073"><span class="" style="" id="yui_3_16_0_1_1434217066301_273072"><font size="2" id="yui_3_16_0_1_1434217066301_277760">I would be appreciated if you could help me in this matter.&nbsp;</font></span></div></div><div id="yui_3_16_0_1_1434217066301_265203" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1434217066301_265203" class="" style=""><br></div><div id="yui_3_16_0_1_1434217066301_265203" class="" style="">Best Regards,</div><div id="yui_3_16_0_1_1434217066301_265203" class="" style="">Marjan&nbsp;</div></div></body></html>