You've already forked ZygiskNext
mirror of
https://github.com/Dr-TSNG/ZygiskNext.git
synced 2025-08-27 23:46:34 +00:00
Preload modules
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <string_view>
|
||||
#include <string>
|
||||
#include <unistd.h>
|
||||
#include <vector>
|
||||
|
||||
#if defined(__LP64__)
|
||||
@@ -44,11 +45,9 @@ namespace zygiskd {
|
||||
|
||||
struct Module {
|
||||
std::string name;
|
||||
void* handle;
|
||||
int id;
|
||||
UniqueFd memfd;
|
||||
|
||||
inline explicit Module(int id, std::string name, void* handle)
|
||||
: name(name), handle(handle), id(id) {}
|
||||
inline explicit Module(std::string name, int memfd) : name(name), memfd(memfd) {}
|
||||
};
|
||||
|
||||
enum class SocketAction {
|
||||
|
||||
Reference in New Issue
Block a user