From db76b1adcfec57c7f4ea05c5150584e53f736d89 Mon Sep 17 00:00:00 2001 From: kotori0 Date: Sun, 13 Dec 2020 00:09:24 +0800 Subject: [PATCH] revert hook cap --- edxp-core/src/main/cpp/external/yahfa/src/trampoline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edxp-core/src/main/cpp/external/yahfa/src/trampoline.h b/edxp-core/src/main/cpp/external/yahfa/src/trampoline.h index ad1a0078..2235a42d 100644 --- a/edxp-core/src/main/cpp/external/yahfa/src/trampoline.h +++ b/edxp-core/src/main/cpp/external/yahfa/src/trampoline.h @@ -16,6 +16,6 @@ int doInitHookCap(unsigned int cap); void setupTrampoline(uint8_t offset); void *genTrampoline(void *toMethod, void *entrypoint); -#define DEFAULT_CAP 4 //size of each trampoline area would be no more than 4k Bytes(one page) +#define DEFAULT_CAP 1 //size of each trampoline area would be no more than 4k Bytes(one page) #endif //YAHFA_TAMPOLINE_H