Home
last modified time | relevance | path

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

/external/puffin/src/
Dpuffpatch.cc98 size_t patch_length, in DecodePatch() argument
109 TEST_AND_RETURN_FALSE(patch_length >= (kMagicLength + sizeof(header_size))); in DecodePatch()
122 TEST_AND_RETURN_FALSE(header_size <= (patch_length - offset)); in DecodePatch()
137 *bsdiff_patch_size = patch_length - offset; in DecodePatch()
144 size_t patch_length, in PuffPatch() argument
153 TEST_AND_RETURN_FALSE(DecodePatch(patch, patch_length, &bsdiff_patch_offset, in PuffPatch()
Dfuzzer.cc36 size_t patch_length,
/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()
/external/puffin/src/include/puffin/
Dpuffpatch.h31 size_t patch_length,