Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/compiler-rt/lib/interception/
Dinterception_win.cpp137 static const int kJumpInstructionLength = 5; variable
141 FIRST_32_SECOND_64(kJumpInstructionLength, kIndirectJumpInstructionLength);
252 if (!DistanceIsWithin2Gig(from + kJumpInstructionLength, target)) in WriteJumpInstruction()
254 ptrdiff_t offset = target - from - kJumpInstructionLength; in WriteJumpInstruction()
742 uptr absolute_target = old_func + relative_offset + kJumpInstructionLength; in OverrideFunctionWithRedirectJump()
756 if (!ChangeMemoryProtection(old_func, kJumpInstructionLength, &protection)) in OverrideFunctionWithRedirectJump()
763 if (!RestoreMemoryProtection(old_func, kJumpInstructionLength, protection)) in OverrideFunctionWithRedirectJump()