Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.cpp878 size_t instructions_length = kBranchLength; in OverrideFunctionWithTrampoline() local
885 instructions_length = RoundUpToInstrBoundary(kBranchLength, old_func); in OverrideFunctionWithTrampoline()
886 if (!instructions_length) in OverrideFunctionWithTrampoline()
890 uptr trampoline_length = instructions_length + kDirectBranchLength; in OverrideFunctionWithTrampoline()
894 if (!CopyInstructions(trampoline, old_func, instructions_length)) in OverrideFunctionWithTrampoline()
896 WriteDirectBranch(trampoline + instructions_length, in OverrideFunctionWithTrampoline()
897 old_func + instructions_length); in OverrideFunctionWithTrampoline()
916 uptr patch_length = instructions_length + padding_length; in OverrideFunctionWithTrampoline()