现在发现hook有些函数倒是无所谓,但对于某些函数还是会出现crash,错误信息如下:
09-01 13:54:04.871: A/libc(6744): Fatal signal 4 (SIGILL) at 0x2ac0f754 (code=1)
09-01 13:54:05.282: I/DEBUG(21431): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-01 13:54:05.282: I/DEBUG(21431): Build fingerprint: 'SEMC/MT15i_1247-4369/MT15i:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys'
09-01 13:54:05.282: I/DEBUG(21431): pid: 6744, tid: 6744 >>> com.test<<<
09-01 13:54:05.282: I/DEBUG(21431): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 2ac0f754
09-01 13:54:05.282: I/DEBUG(21431): r0 00010810 r1 2b558d20 r2 001d2008 r3 2bfed118
09-01 13:54:05.282: I/DEBUG(21431): r4 3653e980 r5 00012b68 r6 00000000 r7 364e2b88
09-01 13:54:05.282: I/DEBUG(21431): r8 7ed0c6b0 r9 364e2b68 10 37897cd4 fp 7ed0c6c4
09-01 13:54:05.282: I/DEBUG(21431): ip 2ac0f755 sp 7ed0c698 lr 2b2bdc34 pc 2ac0f754 cpsr 80000030
09-01 13:54:05.282: I/DEBUG(21431): d0 6472656767756265 d1 432d000000000028
09-01 13:54:05.282: I/DEBUG(21431): d2 4200000000000063 d3 000000000000006f
09-01 13:54:05.282: I/DEBUG(21431): d4 3f80000045655000 d5 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): d6 432d000000000000 d7 4200000000000000
09-01 13:54:05.282: I/DEBUG(21431): d8 3f8000003f800000 d9 43f0000043ce0000
09-01 13:54:05.282: I/DEBUG(21431): d10 0000000000000000 d11 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): d12 0000000000000000 d13 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): d14 0000000000000000 d15 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): d16 0035d6380035d638 d17 bff0000000000000
09-01 13:54:05.282: I/DEBUG(21431): d18 3ff0000000000000 d19 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): d20 0000000000000000 d21 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): d22 3ff0000000000000 d23 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): d24 3ff0000000000000 d25 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): d26 0000000000000000 d27 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): d28 001e001d001c001b d29 0020001f001e001c
09-01 13:54:05.282: I/DEBUG(21431): d30 000a000a000a000a d31 0000000000000000
09-01 13:54:05.282: I/DEBUG(21431): scr 60000013
09-01 13:54:05.661: I/DEBUG(21431): #00 pc 00000754 /system/lib/libandroid_runtime.so
09-01 13:54:05.661: I/DEBUG(21431): #01 pc 0001ec30 /system/lib/libdvm.so (dvmPlatformInvoke)
09-01 13:54:05.661: I/DEBUG(21431): #02 pc 00058c70 /system/lib/libdvm.so (_Z16dvmCallJNIMethodPKjP6JValuePK6MethodP6Thread)
09-01 13:54:05.661: I/DEBUG(21431): code around pc:
09-01 13:54:05.661: I/DEBUG(21431): 2ac0f734 a905b110 eee0f7dc ecbdb006 e8bd8b02 ................
09-01 13:54:05.661: I/DEBUG(21431): 2ac0f744 bf0087f0 fffff987 00030098 000300a5 ................
09-01 13:54:05.661: I/DEBUG(21431): 2ac0f754 e59ff000 e1a08008 39b71030 f8d1461e ........0..9.F..
09-01 13:54:05.661: I/DEBUG(21431): 2ac0f764 46195294 8020f8dd 9b0d47a8 0a0aed9d .R.F.. ..G......
09-01 13:54:05.661: I/DEBUG(21431): 2ac0f774 eddd9a09 ebc80a0b 93000202 eb009b0c ................
09-01 13:54:05.661: I/DEBUG(21431): code around lr:
09-01 13:54:05.661: I/DEBUG(21431): 2b2bdc14 3497c004 3488c004 3afffff9 e2888004 ...4...4...:....
09-01 13:54:05.661: I/DEBUG(21431): 2b2bdc24 eafffff9 e899000c e59bc00c e12fff3c ............<./.
09-01 13:54:05.661: I/DEBUG(21431): 2b2bdc34 e3560000 159bc010 e24bd014 188c0003 ..V.......K.....
09-01 13:54:05.661: I/DEBUG(21431): 2b2bdc44 e8bd8bc0 e1a0ce22 e59b6008 e2866001 ...."....`...`..
09-01 13:54:05.661: I/DEBUG(21431): 2b2bdc54 e3a02000 e4d6c001 e35c0000 0a000007 . ........\.....
09-01 13:54:05.661: I/DEBUG(21431): memory map around addr 2ac0f754:
09-01 13:54:05.661: I/DEBUG(21431): 2abb7000-2ac0f000 /system/lib/libandroid_runtime.so
09-01 13:54:05.661: I/DEBUG(21431): 2ac0f000-2ac11000 /system/lib/libandroid_runtime.so
09-01 13:54:05.661: I/DEBUG(21431): 2ac11000-2ac1f000 /system/lib/libandroid_runtime.so
09-01 13:54:05.661: I/DEBUG(21431): stack:
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c658 432d0000
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c65c 00000000
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c660 00000000
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c664 2b4ce18b /system/lib/libhwui.so
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c668 42000000
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c66c 00000001
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c670 3f800000
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c674 3f800000
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c678 2b4ce139 /system/lib/libhwui.so
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c67c 00012b68 [heap]
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c680 00000007
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c684 364e2bf4
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c688 7ed0c6b0 [stack]
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c68c 2ac0edbd /system/lib/libandroid_runtime.so
09-01 13:54:05.661: I/DEBUG(21431): 7ed0c690 df0027ad
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c694 00000000
09-01 13:54:05.671: I/DEBUG(21431): #01 7ed0c698 00000000
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c69c 0000000a
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6a0 00000000
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6a4 41c80000
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6a8 00000002
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6ac 0035b238 [heap]
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6b0 364e2b68
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6b4 00000001
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6b8 2b558d20 /dev/ashmem/dalvik-heap (deleted)
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6bc 00012b78 [heap]
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6c0 0000005c
09-01 13:54:05.671: I/DEBUG(21431): 7ed0c6c4 2b2f7c73 /system/lib/libdvm.so
09-01 13:54:08.101: I/BootReceiver(306): Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE)