Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.cpp656 uptr patch_length = kDetourHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithDetour() local
665 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithDetour()
675 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithDetour()
725 uptr patch_length = kHotPatchHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithHotPatch() local
756 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithHotPatch()
764 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithHotPatch()
811 uptr patch_length = instructions_length + padding_length; in OverrideFunctionWithTrampoline() local
813 if (!ChangeMemoryProtection(patch_address, patch_length, &protection)) in OverrideFunctionWithTrampoline()
820 if (!RestoreMemoryProtection(patch_address, patch_length, protection)) in OverrideFunctionWithTrampoline()