Searched refs:patch_length (Results 1 – 1 of 1) sorted by relevance
| /openbsd-src/gnu/llvm/compiler-rt/lib/interception/ |
| H A D | interception_win.cpp | 705 uptr patch_length = kDetourHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithDetour() local 714 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithDetour() 724 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithDetour() 774 uptr patch_length = kHotPatchHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithHotPatch() local 805 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithHotPatch() 813 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithHotPatch() 860 uptr patch_length = instructions_length + padding_length; in OverrideFunctionWithTrampoline() local 862 if (!ChangeMemoryProtection(patch_address, patch_length, &protection)) in OverrideFunctionWithTrampoline() 869 if (!RestoreMemoryProtection(patch_address, patch_length, protection)) in OverrideFunctionWithTrampoline()
|