Unverified Commit 00027ced authored by ganyao114's avatar ganyao114 Committed by GitHub

Update README.md

parent 9a7e3ee6
......@@ -173,16 +173,6 @@ XposedHelpers.findAndHookMethod(Activity.class, "onResume", new XC_MethodHook()
# Notice
## Call Origin
!!!!!!!!
when OS >= 8.0
you must call backup method in hook method, if you want call it in other method, please call SandHook.compileMethod(otherMethod) before call backup method.
because when ART trigger JIT from profiling, JIT will invoke -> ResolveCompilingMethodsClass -> ClassLinker::ResolveMethod -> CheckIncompatibleClassChange -> ThrowIncompatibleClassChangeError finally!!!
## Disable Inline
### JIT inline
......@@ -215,6 +205,12 @@ SandHook.passApiCheck();
To bypass hidden api on P & Q
## Debuggable
You must set debuggble of the target hook process before init when OS >= 8.0.
SandHookConfig.DEBUG = <Debuggable of target process>
# Native Hook
## simple hook(no backup)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment