test overriding a local function

This commit is contained in:
Lysann Tranvouez 2025-10-01 23:55:17 +02:00
parent 4947fb5553
commit 5e76138b53
7 changed files with 81 additions and 1 deletions

View file

@ -30,6 +30,10 @@ mach_error_t detour_attach(detour_func_t* inout_pointer, detour_func_t detour);
mach_error_t detour_attach_ex(detour_func_t* inout_pointer, detour_func_t detour, detour_func_t* out_real_trampoline, detour_func_t* out_real_target, detour_func_t* out_real_detour);
mach_error_t detour_detach(detour_func_t* inout_pointer, detour_func_t detour);
mach_error_t detour_attach_and_commit(detour_func_t* inout_pointer, detour_func_t detour);
mach_error_t detour_attach_and_commit_ex(detour_func_t* inout_pointer, detour_func_t detour, detour_func_t* out_real_trampoline, detour_func_t* out_real_target, detour_func_t* out_real_detour);
mach_error_t detour_detach_and_commit(detour_func_t* inout_pointer, detour_func_t detour);
bool detour_set_ignore_too_small(bool value);
bool detour_set_retain_regions(bool value);
void* detour_set_system_region_lower_bound(void* value);