Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/interception/
H A Dinterception_win.cc135 static const int kAddressLength = FIRST_32_SECOND_64(4, 8); variable
141 static const int kDirectBranchLength = kBranchLength + kAddressLength;
742 indirect_address = AllocateMemoryForTrampoline(old_func, kAddressLength); in OverrideFunctionWithHotPatch()
792 if (IsMemoryPadding(old_func - kAddressLength, kAddressLength)) { in OverrideFunctionWithTrampoline()
793 indirect_address = old_func - kAddressLength; in OverrideFunctionWithTrampoline()
794 padding_length = kAddressLength; in OverrideFunctionWithTrampoline()
796 indirect_address = AllocateMemoryForTrampoline(old_func, kAddressLength); in OverrideFunctionWithTrampoline()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/interception/
H A Dinterception_win.cpp136 static const int kAddressLength = FIRST_32_SECOND_64(4, 8); variable
142 static const int kDirectBranchLength = kBranchLength + kAddressLength;
795 indirect_address = AllocateMemoryForTrampoline(old_func, kAddressLength); in OverrideFunctionWithHotPatch()
845 if (IsMemoryPadding(old_func - kAddressLength, kAddressLength)) { in OverrideFunctionWithTrampoline()
846 indirect_address = old_func - kAddressLength; in OverrideFunctionWithTrampoline()
847 padding_length = kAddressLength; in OverrideFunctionWithTrampoline()
849 indirect_address = AllocateMemoryForTrampoline(old_func, kAddressLength); in OverrideFunctionWithTrampoline()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/interception/
H A Dinterception_win.cc137 static const int kAddressLength = FIRST_32_SECOND_64(4, 8); variable
143 static const int kDirectBranchLength = kBranchLength + kAddressLength;
744 indirect_address = AllocateMemoryForTrampoline(old_func, kAddressLength); in OverrideFunctionWithHotPatch()
794 if (IsMemoryPadding(old_func - kAddressLength, kAddressLength)) { in OverrideFunctionWithTrampoline()
795 indirect_address = old_func - kAddressLength; in OverrideFunctionWithTrampoline()
796 padding_length = kAddressLength; in OverrideFunctionWithTrampoline()
798 indirect_address = AllocateMemoryForTrampoline(old_func, kAddressLength); in OverrideFunctionWithTrampoline()