Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lsplant/src/main/jni/include/lsplant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ struct InitInfo {
InlineUnhookFunType inline_unhooker;
/// \brief The symbol resolver to \p libart.so. Must not be null.
ArtSymbolResolver art_symbol_resolver;

/// \brief The symbol prefix resolver to \p libart.so. May be null.
/// \brief The symbol prefix resolver to \p libart.so. Must not be null.
ArtSymbolPrefixResolver art_symbol_prefix_resolver;

/// \brief The generated class name. Must not be empty. It contains a field and a method
Expand Down
1 change: 1 addition & 0 deletions lsplant/src/main/jni/lsplant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,7 @@ using ::lsplant::IsHooked;
[[maybe_unused]] bool Init(JNIEnv *env, const InitInfo &info) {
if (!info.inline_hooker || !info.inline_unhooker || !info.art_symbol_resolver ||
!info.art_symbol_prefix_resolver) {
LOGE("Invalid init info");
return false;
}
bool static kInit = InitConfig(info) && InitJNI(env) && InitNative(env, info);
Expand Down