Skip to content

Commit 6eb133b

Browse files
committed
Fix incorrect initInfo parameter
Since we are using Dobby inline hook, the field `is_plt_hook` should be the default value, i.e., false. Close #113 as fixed.
1 parent 867252f commit 6eb133b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magisk-loader/src/main/jni/src/magisk_loader.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class MagiskLoader : public Context {
6363
.art_symbol_resolver = [](auto symbol) { return GetArt()->getSymbAddress(symbol); },
6464
.art_symbol_prefix_resolver =
6565
[](auto symbol) { return GetArt()->getSymbPrefixFirstAddress(symbol); },
66-
.is_plt_hook = true};
66+
};
6767

6868
static void setAllowUnload(bool unload);
6969
};

0 commit comments

Comments
 (0)