Home
last modified time | relevance | path

Searched refs:kJumpInstructionLength (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.cpp137 static const int kJumpInstructionLength = 5; variable
141 FIRST_32_SECOND_64(kJumpInstructionLength, kIndirectJumpInstructionLength);
273 if (!DistanceIsWithin2Gig(from + kJumpInstructionLength, target)) { in WriteJumpInstruction()
280 ptrdiff_t offset = target - from - kJumpInstructionLength; in WriteJumpInstruction()
807 uptr absolute_target = old_func + relative_offset + kJumpInstructionLength; in OverrideFunctionWithRedirectJump()
821 if (!ChangeMemoryProtection(old_func, kJumpInstructionLength, &protection)) in OverrideFunctionWithRedirectJump()
828 if (!RestoreMemoryProtection(old_func, kJumpInstructionLength, protection)) in OverrideFunctionWithRedirectJump()