Skip to content

Commit

Permalink
非目标进程执行卸载操作
Browse files Browse the repository at this point in the history
  • Loading branch information
Perfare committed Apr 25, 2023
1 parent 70b95e8 commit 9c0ecac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions module/src/main/cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class MyModule : public zygisk::ModuleBase {
LOGW("Unable to open arm file");
}
#endif
} else {
api->setOption(zygisk::Option::DLCLOSE_MODULE_LIBRARY);
}
}
};
Expand Down

0 comments on commit 9c0ecac

Please sign in to comment.