Searched refs:patch_length (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/interception/ |
H A D | interception_win.cc | 649 uptr patch_length = kDetourHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithDetour() local 658 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithDetour() 668 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithDetour() 718 uptr patch_length = kHotPatchHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithHotPatch() local 749 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithHotPatch() 757 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithHotPatch() 804 uptr patch_length = instructions_length + padding_length; in OverrideFunctionWithTrampoline() local 806 if (!ChangeMemoryProtection(patch_address, patch_length, &protection)) in OverrideFunctionWithTrampoline() 813 if (!RestoreMemoryProtection(patch_address, patch_length, protection)) in OverrideFunctionWithTrampoline()
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/interception/ |
H A D | interception_win.cpp | 702 uptr patch_length = kDetourHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithDetour() local 711 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithDetour() 721 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithDetour() 771 uptr patch_length = kHotPatchHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithHotPatch() local 802 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithHotPatch() 810 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithHotPatch() 857 uptr patch_length = instructions_length + padding_length; in OverrideFunctionWithTrampoline() local 859 if (!ChangeMemoryProtection(patch_address, patch_length, &protection)) in OverrideFunctionWithTrampoline() 866 if (!RestoreMemoryProtection(patch_address, patch_length, protection)) in OverrideFunctionWithTrampoline()
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/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()
|