detour_attach, except for internal_detour_copy_instruction

This commit is contained in:
Lysann Tranvouez 2025-09-29 23:06:15 +02:00
parent f5a3491203
commit 4963fbc33c
4 changed files with 597 additions and 28 deletions

View file

@ -12,6 +12,8 @@ typedef void* detour_func_t;
#define detour_err_in_progress (err_local | 1)
#define detour_err_wrong_thread (err_local | 2)
#define detour_err_too_small (err_local | 3)
#define detour_err_too_large (err_local | 4)
mach_error_t detour_transaction_begin();
mach_error_t detour_transaction_abort();