66 Commits

Author SHA1 Message Date
葫芦娃
439f38f48c
fixed logic bug for re-deoptimize condition in RestoreBackup (#59) 2023-11-22 17:57:39 +08:00
Ylarod
896f985017
Fix typo (#57) 2023-11-14 17:18:44 +08:00
LoveSy
c6d6773536
Fix missing PLOGE when disabled log
Fix #51
2023-10-23 18:05:39 +08:00
LoveSy
a612522188
Avoid using too much java debuggable guard 2023-10-11 13:54:25 +08:00
LoveSy
e48d78c6ad
Fix old SDK 2023-10-10 13:19:59 +08:00
LoveSy
a4f6979c28
Fix AdjustThreadVisibilityCounter inline 2023-10-10 11:24:32 +08:00
LoveSy
780cbe09a3 Fix class verification of hooker crash for sdk 34 2023-10-10 02:29:53 +08:00
LoveSy
79f2f13517 Fix crash when logging uninitialized methods 2023-10-10 02:24:31 +08:00
LoveSy
c18f276177
Use phmap 2023-10-07 21:35:45 +08:00
Wang Han
7a6940e722
Don't hook ShouldUseInterpreterEntrypoint on T+ (#49) 2023-10-06 14:34:28 +08:00
LoveSy
bbabd25043
Add functional header 2023-10-04 20:45:06 +08:00
LoveSy
ab5830a020
Hook if ShouldUseInterpreterEntrypoint
This will not be inlined
2023-07-26 15:56:26 +08:00
LoveSy
9c33903c87 Avoid using PrettyMethod during backup 2023-06-29 01:51:45 +08:00
LoveSy
35612201f9
Lock-free JavaDebuggable guard 2023-06-27 15:31:44 +08:00
LoveSy
8c92a2d5a1 Make JavaDebuggable Guard thread free 2023-06-25 22:19:05 +08:00
Katana
7766263eeb
Fix initialization failed on specific devices (#43)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-06-17 01:02:49 +08:00
LoveSy
25fff8a2a8
Preliminary riscv64 support 2023-04-12 10:19:18 +08:00
LoveSy
77d02b29ec
Upgrade deps 2023-04-12 10:03:42 +08:00
LoveSy
89cdf4cd2d
Update deps 2023-01-08 06:31:55 +08:00
LoveSy
bdc1e6f8a7
x86 and x86_64 do not have AdjustThreadVisibilityCounter 2023-01-06 22:01:30 +08:00
LoveSy
9e437ffcd6
Fix 32bit symbol 2022-12-07 09:46:29 +08:00
LoveSy
d5a057b025
Redeoptimize when class initialized 2022-12-02 23:22:13 +08:00
LoveSy
65a276ff91
Use latest tag for publication 2022-11-29 16:40:53 +08:00
LoveSy
a15d854930
No hook instrument when non-debuggable 2022-11-20 01:09:16 +08:00
LoveSy
bde8b5ed16
Fix hooking proxy method 2022-11-01 22:52:22 +08:00
LoveSy
3f513a43d1
Avoid prttymethod during SetStatus
It may crash
2022-10-29 15:08:27 +08:00
LoveSy
a67f36b695
Only hook AdjustThreadVisibilityCounter since 30 2022-10-29 14:44:41 +08:00
LoveSy
a124dcb547
A bit optimization 2022-10-29 14:18:12 +08:00
LoveSy
2c1fba450b
Fix ABI 2022-10-29 12:58:39 +08:00
LoveSy
96f217d0bf
Fix initialized value for P & Q 2022-10-29 05:43:02 +08:00
LoveSy
c6cc93ae7e
Fix hook/deoptimize static methods failed on some Andorid 13 devices
Fix #29
2022-10-29 04:03:13 +08:00
LoveSy
c812fb503c
Always hooking function that updates method codes 2022-10-29 00:59:53 +08:00
LoveSy
0864159fc4
Use option to identify standalone 2022-09-19 09:10:08 +08:00
LoveSy
fb083af39c
Add build type without c++_shared: Standalone 2022-09-16 15:06:14 +08:00
LoveSy
7c5457a699
Support SetRuntimeDebugState (#24) 2022-09-14 00:42:07 +08:00
LoveSy
2bd37aaba9
Fix deoptmize static methods 2022-09-13 16:30:10 +08:00
LoveSy
5ab468d905 Update deps 2022-07-05 21:49:57 +08:00
LoveSy
3bc395a08c Update deps 2022-06-30 15:59:48 +08:00
LoveSy
ca19d61942 Fix UB 2022-06-27 15:51:18 +08:00
LoveSy
7bc6d9ffe6 Update dex builder 2022-06-27 14:53:55 +08:00
LoveSy
a56a6b9ed8 Use absl::flat_hash_map instead 2022-06-27 14:53:51 +08:00
LoveSy
565555601b Update deps 2022-05-21 17:40:09 +08:00
残页
5867b67380
Fix fast interpreter function name (#19) 2022-05-10 20:18:05 +08:00
LoveSy
d3cd931364 Fix corruption when hooking internal used methods 2022-04-28 11:02:53 +08:00
LoveSy
050348fd08 Update interface to v2 to support prefix resolver 2022-04-27 11:07:09 +08:00
LoveSy
9c63dcecf3 Set runtime java non-debuggable in case of inline
`ShouldUseInterpreterEntrypoint` maybe inlined
2022-04-27 00:14:34 +08:00
LoveSy
20413748f0 Upgrade dex_builder 2022-04-14 15:39:18 +08:00
ZQY
d74ca0d4f8
Suppress NSME caused by isJavaDebuggable on 8.1 (#13) 2022-04-06 13:16:28 +08:00
LoveSy
3d2e1f5fc7
Fix crash when debugger attached (#12)
* Fix crash when debugger attached

* 1

* 2

* 3

* 4
2022-04-03 11:23:15 +08:00
LoveSy
4c4b08faab Bump version to 3.2 2022-03-30 15:06:30 +08:00