Make Zygisk 1st class citizen

This commit is contained in:
topjohnwu
2021-08-17 23:57:49 -07:00
parent c252a50fd7
commit 2b17c77195
7 changed files with 12 additions and 108 deletions

View File

@@ -114,6 +114,12 @@ string get_class_name(JNIEnv *env, jclass clazz) {
// -----------------------------------------------------------------
// TODOs
int remote_check_hide(int uid, const char *process) { return 0; }
void remote_request_hide() {}
// -----------------------------------------------------------------
#define DCL_HOOK_FUNC(ret, func, ...) \
ret (*old_##func)(__VA_ARGS__); \
ret new_##func(__VA_ARGS__)