Commit Graph

28 Commits

Author SHA1 Message Date
swift_gan 1b67e7c0d4 SandHook: remove useless code & fix dex cache 2019-11-13 20:05:27 +08:00
solohsu a26990ec99 Fix dummy resources classes not found when resources hook is disabled 2019-06-27 16:28:53 +08:00
solohsu 1df3d88c13 Instant modules: update module list in zygote before child process forked 2019-06-26 13:18:48 +08:00
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 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 ed968eb7cc Exclude WebViewLoader, webview_zygote and isolated processes 2019-06-14 15:20:10 +08:00
solohsu 18bd0a8c0f Wait to hook static methods once their trampolines are fixed up 2019-06-05 00:09:59 +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 50444072b0 Fix dummyClassLoader being detached when replacing app classloader
Fix #236.
2019-05-09 00:20:01 +08:00
solohsu 66eac2d320 Clean up unused codes
Fix #229.
2019-05-02 12:02:12 +08:00
solohsu 7d5a72b683 Dynamically create XResourcesSuperClass and XTypedArraySuperClass
To support ROMs using custom Resources subclasses.
2019-04-30 00:23:56 +08:00
solohsu ee4d48c1b4 Add a native method to remove final flag of class 2019-04-29 20:26:27 +08:00
solohsu 20c83e4db7 Postpone XResources native methods registering 2019-04-29 20:20:56 +08:00
solohsu e5e5ccf3b1 Clean up code 2019-04-24 17:11:22 +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 711c589088 Add support for resources hooking. (1/2) 2019-04-21 11:46:58 +08:00
solohsu a48229960f Fix compile error 2019-04-20 14:31:47 +08:00
solohsu 6804043a6c Edxp-YAHFA: minify build 2019-04-20 12:27:23 +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 d0b1d7c52b Introduce Whale hook for Android 2019-03-20 10:29:51 +08:00
solohsu e858ebd70b Introduce SandHook 2019-03-20 00:32:33 +08:00
solohsu 53d0dbd120 Refactor project structure 2019-03-19 14:32:44 +08:00