Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/interception/
Dinterception_win.cpp619 size_t instruction_size = GetInstructionSize(address + cursor); in RoundUpToInstrBoundary() local
620 if (!instruction_size) in RoundUpToInstrBoundary()
622 cursor += instruction_size; in RoundUpToInstrBoundary()
631 size_t instruction_size = GetInstructionSize(from + cursor, &rel_offset); in CopyInstructions() local
633 (size_t)instruction_size); in CopyInstructions()
643 cursor += instruction_size; in CopyInstructions()
728 size_t instruction_size = GetInstructionSize(old_func); in OverrideFunctionWithHotPatch() local
729 if (instruction_size < kShortJumpInstructionLength || in OverrideFunctionWithHotPatch()
735 uptr trampoline_length = instruction_size + kDirectBranchLength; in OverrideFunctionWithHotPatch()
739 if (!CopyInstructions(trampoline, old_func, instruction_size)) in OverrideFunctionWithHotPatch()
[all …]