mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-15 07:33:02 +00:00
Add Zygisk API getFlags()
This commit is contained in:
@@ -37,14 +37,9 @@ uintptr_t get_function_off(int pid, uintptr_t addr, char *lib);
|
||||
// Get function address, given library name + offset
|
||||
uintptr_t get_function_addr(int pid, const char *lib, uintptr_t off);
|
||||
|
||||
struct AppInfo {
|
||||
bool is_magisk_app;
|
||||
bool on_denylist;
|
||||
};
|
||||
|
||||
extern void *self_handle;
|
||||
|
||||
void unload_first_stage();
|
||||
void hook_functions();
|
||||
std::vector<int> remote_get_info(int uid, const char *process, AppInfo *info);
|
||||
std::vector<int> remote_get_info(int uid, const char *process, uint32_t *flags);
|
||||
int remote_request_unmount();
|
||||
|
||||
Reference in New Issue
Block a user