Searched refs:patch_length (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/contrib/compiler-rt/lib/interception/ |
| H A D | interception_win.cc | 651 uptr patch_length = kDetourHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithDetour() local 660 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithDetour() 670 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithDetour() 720 uptr patch_length = kHotPatchHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithHotPatch() local 751 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithHotPatch() 759 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithHotPatch() 806 uptr patch_length = instructions_length + padding_length; in OverrideFunctionWithTrampoline() local 808 if (!ChangeMemoryProtection(patch_address, patch_length, &protection)) in OverrideFunctionWithTrampoline() 815 if (!RestoreMemoryProtection(patch_address, patch_length, protection)) in OverrideFunctionWithTrampoline()
|