Searched refs:ShadowBytes (Results 1 – 7 of 7) sorted by relevance
/external/llvm/unittests/Transforms/Utils/ |
D | ASanStackFrameLayoutTest.cpp | 17 ShadowBytesToString(ArrayRef<uint8_t> ShadowBytes) { in ShadowBytesToString() argument 19 for (size_t i = 0, n = ShadowBytes.size(); i < n; i++) { in ShadowBytesToString() 20 switch (ShadowBytes[i]) { in ShadowBytesToString() 24 default: os << (unsigned)ShadowBytes[i]; in ShadowBytesToString() 37 EXPECT_EQ(ExpectedShadow, ShadowBytesToString(L.ShadowBytes)); in TestLayout()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | ASanStackFrameLayoutTest.cpp | 17 ShadowBytesToString(ArrayRef<uint8_t> ShadowBytes) { in ShadowBytesToString() argument 19 for (size_t i = 0, n = ShadowBytes.size(); i < n; i++) { in ShadowBytesToString() 20 switch (ShadowBytes[i]) { in ShadowBytesToString() 27 default: os << (unsigned)ShadowBytes[i]; in ShadowBytesToString()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZAsmPrinter.cpp | 518 unsigned ShadowBytes = 0; in LowerSTACKMAP() local 522 while (ShadowBytes < NumNOPBytes) { in LowerSTACKMAP() 527 ShadowBytes += TII->getInstSizeInBytes(*MII); in LowerSTACKMAP() 534 while (ShadowBytes < NumNOPBytes) in LowerSTACKMAP() 535 ShadowBytes += EmitNop(OutContext, *OutStreamer, NumNOPBytes - ShadowBytes, in LowerSTACKMAP()
|
/external/llvm/lib/Transforms/Utils/ |
D | ASanStackFrameLayout.cpp | 68 SmallVector<uint8_t, 64> &SB(Layout->ShadowBytes); in ComputeASanStackFrameLayout() 107 assert(Layout->FrameSize / Granularity == Layout->ShadowBytes.size()); in ComputeASanStackFrameLayout()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | ASanStackFrameLayout.h | 45 SmallVector<uint8_t, 64> ShadowBytes; member
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 1043 void copyToShadow(ArrayRef<uint8_t> ShadowMask, ArrayRef<uint8_t> ShadowBytes, 1045 void copyToShadow(ArrayRef<uint8_t> ShadowMask, ArrayRef<uint8_t> ShadowBytes, 1049 ArrayRef<uint8_t> ShadowBytes, size_t Begin, 2642 ArrayRef<uint8_t> ShadowBytes, in copyToShadowInline() argument 2660 assert(!ShadowBytes[i]); in copyToShadowInline() 2679 Val |= (uint64_t)ShadowBytes[i + j] << (8 * j); in copyToShadowInline() 2681 Val = (Val << 8) | ShadowBytes[i + j]; in copyToShadowInline() 2694 ArrayRef<uint8_t> ShadowBytes, in copyToShadow() argument 2696 copyToShadow(ShadowMask, ShadowBytes, 0, ShadowMask.size(), IRB, ShadowBase); in copyToShadow() 2700 ArrayRef<uint8_t> ShadowBytes, in copyToShadow() argument [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 788 void poisonRedZones(ArrayRef<uint8_t> ShadowBytes, IRBuilder<> &IRB, 1923 void FunctionStackPoisoner::poisonRedZones(ArrayRef<uint8_t> ShadowBytes, in poisonRedZones() argument 1926 size_t n = ShadowBytes.size(); in poisonRedZones() 1937 Val |= (uint64_t)ShadowBytes[i + j] << (8 * j); in poisonRedZones() 1939 Val = (Val << 8) | ShadowBytes[i + j]; in poisonRedZones() 2180 poisonRedZones(L.ShadowBytes, IRB, ShadowBase, true); in poisonStack() 2188 poisonRedZones(L.ShadowBytes, IRB, ShadowBase, false); in poisonStack()
|