Permalink
Browse files

readme fixed

  • Loading branch information...
maaaaz
maaaaz committed Aug 6, 2012
1 parent 7e91074 commit a7ece6bc2996f2f8344ca2ca83186612a7a8d342
Showing with 10 additions and 1 deletion.
  1. +10 −1 README.md
View
@@ -5,7 +5,7 @@ Description
-----------
A simple tool to help finding JNI calls in a x86/ARM disassembly listing.
-Originally presented here http://www.thebugmagazine.org/magazine/bug04/0x02-engenharia-reversa-em-apps-java.txt, this script has been modified in order to support both x86 syntaxes and ARM.
+Originally presented in this article http://www.thebugmagazine.org/magazine/bug04/0x02-engenharia-reversa-em-apps-java.txt, this script has been modified in order to support both x86 syntaxes as well as ARM.
Thus, it can be used for debugging/reverse engineering android native libraries.
@@ -83,6 +83,15 @@ $ tools/arm-linux-androideabi-objdump -d examples/hello-jni/libs/armeabi/libhell
...
```
+#### secretcode : example from the article
+```
+$ objdump -d examples/secretcode/secretcode.so | python jnianalyzer.py -a x86 | grep jnicall
+ 4be: ff 90 a4 02 00 00 call *0x2a4(%eax) ;jnicall: GetStringUTFChars
+ 4d9: ff 90 a0 02 00 00 call *0x2a0(%eax) ;jnicall: GetStringUTFLength
+ 550: ff 90 9c 02 00 00 call *0x29c(%eax) ;jnicall: NewStringUTF
+ 571: ff 90 a8 02 00 00 call *0x2a8(%eax) ;jnicall: ReleaseStringUTFChars
+```
+
Copyright and license
---------------------
JNI Analyzer is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

0 comments on commit a7ece6b

Please sign in to comment.