Commit Graph

33 Commits

Author SHA1 Message Date
solohsu ee2a3f5d02 Fix crash when hooked static method invokes class initialization 2019-06-20 21:42:13 +08:00
solohsu f6d2e3b62f Optimize module loading under dynamic-modules mode
by only loading newly added or updated modules
2019-06-19 16:35:20 +08:00
solohsu 5cba146185 Whale: fix bootloop 2019-06-17 22:45:01 +08:00
solohsu 661a675a09 Black/White mode: postpone initZygote callbacks
in case some modules hook methods in zygote, which would be
propagated into blacklisted processes
2019-06-17 16:13:21 +08:00
solohsu c5791951db Fix exceptions when hooking pending methods 2019-06-16 00:54:11 +08:00
solohsu ea57c60765 Fix class status checking on Oreo 2019-06-14 20:54:18 +08:00
solohsu 3334a6d9f6 Uniform log tags 2019-06-14 15:20:10 +08:00
solohsu ed968eb7cc Exclude WebViewLoader, webview_zygote and isolated processes 2019-06-14 15:20:10 +08:00
solohsu 7eaae6d898 Use inline hook to append allow-across-fork file whitelist 2019-06-14 15:20:10 +08:00
solohsu c4978b7344 Fix JNI ref leaks 2019-06-14 15:20:10 +08:00
solohsu 3d863cb4c2 Add support for Android Q (API Level 29) 2019-06-14 15:20:10 +08:00
solohsu 8e3afb0362 Fix bootloop 2019-06-06 14:45:51 +08:00
solohsu fe10afb663 Use ComposeClassLoader 2019-06-06 11:39:28 +08:00
solohsu 692d43cc57 Fix SystemServer hook not working 2019-06-05 02:10:07 +08:00
solohsu d05bd0fe19 Fix SystemServer class not found 2019-06-05 00:20:51 +08:00
solohsu 18bd0a8c0f Wait to hook static methods once their trampolines are fixed up 2019-06-05 00:09:59 +08:00
solohsu e7cdc25ab1 Add Xposed API implementation for bootstrap hooks 2019-06-05 00:09:59 +08:00
solohsu c38affbf3a Refactor Java code 2019-06-05 00:09:59 +08:00
solohsu c362449e33 Refactor native code 2019-06-05 00:09:59 +08:00
solohsu ffdfe1a0cb Update Whale to asLody/Whale@c812ddd385 2019-05-17 00:10:41 +08:00
solohsu 83ecd3ae97 Deoptimize resources hook related methods only if needed
For now deoptimization is only done on MIUI with resources hooking enabled.
2019-05-16 21:45:15 +08:00
solohsu 975bfd20cc Fix crash caused by StrictMode in systemui process 2019-05-16 21:21:18 +08:00
solohsu 50444072b0 Fix dummyClassLoader being detached when replacing app classloader
Fix #236.
2019-05-09 00:20:01 +08:00
solohsu aba57dc40f Add resources hooking support for MIUI 2019-04-30 00:24:44 +08:00
solohsu 20c83e4db7 Postpone XResources native methods registering 2019-04-29 20:20:56 +08:00
solohsu 3930799086 Disable resources hooking when initialization failed 2019-04-22 22:55:48 +08:00
solohsu bf9b270775 Add support for resources hooking. (2/2) 2019-04-22 16:12:18 +08:00
solohsu a48229960f Fix compile error 2019-04-20 14:31:47 +08:00
solohsu c13ae31b4c Always use latest hiddenapi-stub jar built from sources 2019-04-20 12:23:14 +08:00
solohsu b8228e1da9 Merge asLody/Whale@e589299bbd 2019-04-03 11:05:32 +08:00
solohsu 7c7928760a Pull out common codes 2019-04-03 01:51:13 +08:00
solohsu e1ccb12eac Keep dalvikdx and dexmaker jars up-to-date automatically 2019-03-21 18:33:15 +08:00
solohsu 696ede0209 Add edxp-common module 2019-03-19 22:25:48 +08:00