1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21adb logcat -s "storm"
V/storm (17772): g_JavaVM:414cef00
V/storm (17772): LoadDex optFile path:/data/data/com.example.stormhookdemo/hoo
k.dat
V/storm (17772): classLoaders size:1
V/storm (17772): original Element size:1
V/storm (17772): ClassMethodHook[Can't find class:com/storm/hook/main in bootc
lassloader
V/storm (17772): loadClass com/storm/hook/main successful clazz:0x1d600059
D/storm (17772): Inject dex entry is called
D/storm (17772): After addNativeLibraryDirectory pathLoader is:dalvik.system.P
athClassLoader[DexPathList[[zip file "/data/app/com.example.stormhookdemo-1.apk"
, dex file "dalvik.system.DexFile@425e31c0"],nativeLibraryDirectories=[/data/loc
al/tmp, /data/app-lib/com.example.stormhookdemo-1, /vendor/lib, /system/lib]]]
D/storm (17772): [+]find original method (getMacAddress_hook)
D/storm (17772): [+]find original method (test_public_hook)
D/storm (17772): [+]find original method (currentTimeMillis)
D/storm (17772): [+]find original method (test_private)
D/storm (17772): [+]find original method (test_privatestatic)
D/storm (17772): Inject dex hook success
I/storm (17772): *-*-*-*-*-*-*- End -*-*-*-*-*-*-*-*-*-*