its all C now
This commit is contained in:
parent
a63de06aa9
commit
9f1f93d9e4
5 changed files with 589 additions and 622 deletions
|
|
@ -758,7 +758,7 @@ mach_error_t detour_attach_ex(detour_func_t* inout_pointer, detour_func_t detour
|
|||
DETOUR_TRACE(("detours: trampoline=%p, detour=%p\n", trampoline, detour));
|
||||
|
||||
// Determine the number of movable target instructions.
|
||||
uint8_t* src = target;
|
||||
const uint8_t* src = target;
|
||||
uint8_t* trampoline_code = trampoline->code;
|
||||
uint8_t* trampoline_code_limit = trampoline_code + sizeof(trampoline->code);
|
||||
uint32_t offset_target = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue