We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 221f66d commit 8688d24Copy full SHA for 8688d24
hooklib/src/main/cpp/casts/cast_compiler_options.cpp
@@ -15,6 +15,9 @@ namespace SandHook {
15
Size calOffset(JNIEnv *jniEnv, art::CompilerOptions *p) override {
16
if (SDK_INT < ANDROID_N)
17
return getParentSize() + 1;
18
+ if (SDK_INT >= ANDROID_Q) {
19
+ return BYTE_POINT + 3 * sizeof(size_t);
20
+ }
21
if (SDK_INT >= ANDROID_O) {
22
return BYTE_POINT + 5 * sizeof(size_t);
23
} else {
0 commit comments