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.
This commit is contained in:
JingMatrix 2024-12-06 22:29:40 +01:00
parent 867252fb3b
commit 6eb133b114
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ private:
.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);
};