core/win32/callback.c
/* Introduced as part of fix for case 9593, which required leaking trampolines. */
Introduced as part of fix for case 9593, which required leaking trampolines.
Introduced as part of fix for case 9593 which required leaking trampolines .
void
insert_jmp_at_tramp_entry(byte *trampoline, byte *target)
{
    ASSERT(trampoline != NULL && target != NULL);
    *(trampoline + 5) = JMP_REL32_OPCODE;
    patch_branch(trampoline + 5, target, false );
}
void insert_jmp_at_tramp_entry ( byte * trampoline , byte * target ) { ASSERT ( trampoline != NULL && target != NULL ) ; * ( trampoline + 5 ) = JMP_REL32_OPCODE ; patch_branch ( trampoline + 5 , target , false ) ; }
Introduced as part of fix for case 9593, which required leaking trampolines.
Introduced as part of fix for case 9593 which required leaking trampolines .
/* Note: first 5 bytes of the trampoline contain the copy of app code which
     * was overwritten with the hook;  so, entry point is 5 bytes after that.
     */ /* Don't have to hot_patch. */