mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-19 16:31:47 +00:00
Remove all non-Magisk hiding code
Magisk no longer interferes with any signals/info that were not created or caused by Magisk itself.
This commit is contained in:
@@ -326,9 +326,6 @@ int hook_register(const char *path, const char *symbol, void *new_func, void **o
|
||||
|
||||
} // namespace
|
||||
|
||||
template<class T>
|
||||
static inline void default_new(T *&p) { p = new T(); }
|
||||
|
||||
#define XHOOK_REGISTER_SYM(PATH_REGEX, SYM, NAME) \
|
||||
hook_register(PATH_REGEX, SYM, (void*) new_##NAME, (void **) &old_##NAME)
|
||||
|
||||
|
Reference in New Issue
Block a user