Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.cpp761 uptr patch_length = kDetourHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithDetour() local
770 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithDetour()
780 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithDetour()
830 uptr patch_length = kHotPatchHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithHotPatch() local
861 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithHotPatch()
869 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithHotPatch()
916 uptr patch_length = instructions_length + padding_length; in OverrideFunctionWithTrampoline() local
918 if (!ChangeMemoryProtection(patch_address, patch_length, &protection)) in OverrideFunctionWithTrampoline()
925 if (!RestoreMemoryProtection(patch_address, patch_length, protection)) in OverrideFunctionWithTrampoline()