[Soot-list] About Instrumenting Android Apps with Soot

47 views
Skip to first unread message

吕颖俊

unread,
Jul 12, 2013, 6:34:54 AM7/12/13
to soot...@sable.mcgill.ca
Hi, thanks for adding Android support in Soot.
May I ask you a question about Android Instrumentation?
Suppose you want to manually add some extra code to log the execution duration of each method call automatically, and you use Soot to implement this function.
Is there any difficulty on Android instrumentation by using Soot?


Best Regards,
Winson LV  

Victor

unread,
Jul 12, 2013, 2:54:31 PM7/12/13
to soot...@sable.mcgill.ca
Hello Lv,

I tried but failed to install and run the apk after instrumented with Soot. To verify it is my problem or not, I empty the instrumentation code, which means there is no instrumentation done by me at all. But the problems still exist (before instrumentation the app can be successfully executed in emulator). The target application I use is APV whose version is 0.4.0, the platform is android-17.

If  you want to track the execution, you can use ddms. To be more specific, you can use TraceView to record the execution at run time.

Cheers!
Victor 
_______________________________________________
Soot-list mailing list
Soot...@sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list

Bodden, Eric

unread,
Jul 24, 2013, 12:23:57 PM7/24/13
to Victor, <soot-list@sable.mcgill.ca>
Hi all.

In general this should work. In fact, we are preparing a tutorial on this very topic right now. We will give the tutorial at the RV conference this year, and probably also at CCS.

Having said that, yes, there might still be bugs in the implementation. If you find any, please report them using our bug tracker. Thanks!

Cheers,
Eric
--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422 Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt
Reply all
Reply to author
Forward
0 new messages