Skip to content

Commit

Permalink
Fix incorrect initInfo parameter
Browse files Browse the repository at this point in the history
Since we are using Dobby inline hook, the field `is_plt_hook` should be
the default value, i.e., false.

Close #113 as fixed.
  • Loading branch information
JingMatrix committed Dec 6, 2024
1 parent 867252f commit 6eb133b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magisk-loader/src/main/jni/src/magisk_loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class MagiskLoader : public Context {
.art_symbol_resolver = [](auto symbol) { return GetArt()->getSymbAddress(symbol); },
.art_symbol_prefix_resolver =
[](auto symbol) { return GetArt()->getSymbPrefixFirstAddress(symbol); },
.is_plt_hook = true};
};

static void setAllowUnload(bool unload);
};
Expand Down

0 comments on commit 6eb133b

Please sign in to comment.