thread tests
This commit is contained in:
parent
bf83e14d26
commit
c87ad3c89a
4 changed files with 167 additions and 8 deletions
|
|
@ -20,11 +20,13 @@ typedef void* detour_func_t;
|
|||
#define detour_err_too_large (err_local | 4)
|
||||
|
||||
mach_error_t detour_transaction_begin();
|
||||
mach_error_t detour_transaction_begin_managed();
|
||||
mach_error_t detour_transaction_abort();
|
||||
mach_error_t detour_transaction_commit();
|
||||
mach_error_t detour_transaction_commit_ex(detour_func_t** out_failed_target);
|
||||
|
||||
mach_error_t detour_manage_thread(thread_t thread);
|
||||
mach_error_t detour_manage_all_threads();
|
||||
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue