Home
last modified time | relevance | path

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

/external/compiler-rt/lib/interception/
Dinterception_win.cc570 uptr patch_length = kDetourHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithDetour() local
579 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithDetour()
589 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithDetour()
639 uptr patch_length = kHotPatchHeaderLen + kShortJumpInstructionLength; in OverrideFunctionWithHotPatch() local
669 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithHotPatch()
677 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithHotPatch()
723 uptr patch_length = instructions_length + padding_length; in OverrideFunctionWithTrampoline() local
725 if (!ChangeMemoryProtection(patch_address, patch_length, &protection)) in OverrideFunctionWithTrampoline()
732 if (!RestoreMemoryProtection(patch_address, patch_length, protection)) in OverrideFunctionWithTrampoline()