Home
last modified time | relevance | path

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

/external/compiler-rt/lib/interception/
Dinterception_win.cc138 static const int kJumpInstructionLength = 5; variable
142 FIRST_32_SECOND_64(kJumpInstructionLength, kIndirectJumpInstructionLength);
237 if (!DistanceIsWithin2Gig(from + kJumpInstructionLength, target)) in WriteJumpInstruction()
239 ptrdiff_t offset = target - from - kJumpInstructionLength; in WriteJumpInstruction()
607 uptr absolute_target = old_func + relative_offset + kJumpInstructionLength; in OverrideFunctionWithRedirectJump()
621 if (!ChangeMemoryProtection(old_func, kJumpInstructionLength, &protection)) in OverrideFunctionWithRedirectJump()
628 if (!RestoreMemoryProtection(old_func, kJumpInstructionLength, protection)) in OverrideFunctionWithRedirectJump()