Commit 62b42c64 authored by swift_gan's avatar swift_gan

tweak default accessFlag offset

parent 5b8585d4
......@@ -113,7 +113,7 @@ namespace SandHook {
}
int offset = findOffset(p, getParentSize(), 2, accessFlag);
if (offset < 0) {
if (SDK_INT >= ANDROID_Q) {
if (SDK_INT >= ANDROID_N) {
return 4;
} else if (SDK_INT == ANDROID_L2) {
return 20;
......
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