5

I am looking forward to having your input regarding the availability of any tool that can do instrumentation in byte code level run-time, so that data dependency analysis can be carried out? Such tool exists for x86 binaries, such as Pin.

Also i would like to know your precious input regarding tools to run static analysis by instrumenting dalvik byte code.

3

Soot can give you a Jimple IR of an apk and inject instrumentation into it. It's not dynamic though, although I don't see why it couldn't be used for data dependency analysis. Unless your target app does weird things with reflection or JNI you should still be able to perform the analysis you want.

There's a tutorial on using Soot with Dalvik executables that covers getting started - you'll probably need to build Soot from the repository to get the dex functionality; there's a tutorial on getting it running here.

  • Hi actually I need to carry on dynamic slicing on byte codes, i previously implemented the algorithm on x86 binaries using Pin. Now was wondering whether the same can be used in dalvik byte code, actually what I need is the execution trace of the instructions carried out by the VM. – P basak Sep 22 '13 at 12:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.