<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>Thanks for the reply.<br><br></div>Eric, yeah it's notifying me the flows but that's not only what i want. I need to analyze the data flow.<br><br>For eg. in the RV2013.apk i got the o/p<br>Found a flow to sink virtualinvoke $r4.<android.telephony.SmsManager: void sendTextMessage(java.lang.String,java.lang.String,java.lang.String,android.app.PendingIntent,android.app.PendingIntent)>($r6, null, $r7, null, null) on line 31, from the following sources:<br> - $r1 = virtualinvoke $r0.<de.ecspride.RV2013: android.view.View findViewById(int)>(2131165187) (in <de.ecspride.RV2013: void sendSms(android.view.View)>)<br> - $r1 = virtualinvoke $r0.<de.ecspride.RV2013: android.view.View findViewById(int)>(2131165184) (in <de.ecspride.RV2013: void sendSms(android.view.View)>)<br><br></div>I actually need the analyses(some data dependency graph) that could depict the flow ,a node sendsms() followed by(i.e edge) the node gettext() that is in the argument of sendTextMessage(...) followed by node sendTextMessage(...) etc.<br><br></div>How do i get this?? I think i could get that flow using flowdroid, but i am not able to get how to i convert it to dot file.<br><br></div>Dacong, I will definitely try that tool.<br><br></div>Thanks & Regards<br></div>Lokesh Jain<br><div><div><br><div><br><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 4, 2015 at 2:05 PM, Bodden, Eric <span dir="ltr"><<a href="mailto:eric.bodden@sit.fraunhofer.de" target="_blank">eric.bodden@sit.fraunhofer.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Lokesh.<br>
<span class=""><br>
> I want to do intra and inter procedural data flow analysis for an .apk file.<br>
> For this I have used FlowDroid. I followed <a href="https://github.com/secure-software-engineering/soot-infoflow-android/wiki" target="_blank">https://github.com/secure-software-engineering/soot-infoflow-android/wiki</a> this tutorial in eclipse and it worked fine. But i am not able to deduce anything useful from the output. Is there any way, I can get the Data dependency graph from this ?<br>
<br>
</span>Yes, sure. That's the main data structure that FlowDroid supports. The textual output indeed won't help you much, though. FlowDroid provides callbacks instead, which notify you of any flows found. That's usually how people use the tool.<br>
<span class=""><br>
> Also is FlowDroid is good option for getting Data dependency or is there any other option better than this?<br>
<br>
</span>There are other tools but FlowDroid is certainly one of the most stable and thorough ones.<br>
<br>
Cheers,<br>
Eric<br>
</blockquote></div><br></div>