| 6 |
| #define BREVENT_INLINE_H |
| 7 |
| 8 | #include <stdbool.h> |
| 9 | #include "common.h" |
| 10 |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif |
| 14 |
| 15 | #ifdef DEBUG_HOOK_IO |
| 16 | bool setRead(void *symbol); |
| 17 | #endif |
| 18 |
| 19 | bool isInlineHooked(void *symbol); |
| 20 |
| 21 | #ifdef DEBUG_HOOK_SELF |
| 22 | #if defined(__arm__) || defined(__aarch64__) |
| 23 |
| 24 | #include "hookzz/hookzz.h" |
| 25 |
| 26 | void check_inline_hook_hookzz(); |
| 27 |
| 28 | void check_inline_hook_hookzz_b(); |
| 29 |
| 30 | #endif |
| 31 |
| 32 | void check_inline_hook_whale(); |
| 33 |
| 34 | #if defined(__arm__) |
| 35 |
| 36 | void check_inline_hook_substrate(); |
| 37 |
| 38 | #endif |
| 39 | #endif |
| 40 |
| 41 | #ifdef __cplusplus |
| 42 | } |
| 43 | #endif |
| 44 |
| 45 | #endif //BREVENT_INLINE_H |
| 46 |