问题
Is there a control flow graph generator for Android applications. (preferrably open source) I wish to do some flow analysis on applications. But I could not find any such static analyzer.
If there is no such software, can soot be extended to do the static analysis for Android app. Some pointers on how to do so (especially handling multiple entry points and asynchronous calls to onPause, onDestroy etc. while making Control Flow Graph) will be very helpful.
Thanks
回答1:
you can use Androguard to generate CFG. Other way is to decompile the app to smali using apktool and write our own CFG generator.
回答2:
DDMS? http://developer.android.com/guide/developing/debugging/ddms.html See also: http://developer.android.com/guide/developing/debugging/debugging-tracing.html
来源:https://stackoverflow.com/questions/7653260/flow-analysis-for-android