Home
last modified time | relevance | path

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

/external/llvm/unittests/Transforms/Utils/
DASanStackFrameLayoutTest.cpp17 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/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp68 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/
DASanStackFrameLayout.h45 SmallVector<uint8_t, 64> ShadowBytes; member
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp737 void poisonRedZones(ArrayRef<uint8_t> ShadowBytes, IRBuilder<> &IRB,
1729 void FunctionStackPoisoner::poisonRedZones(ArrayRef<uint8_t> ShadowBytes, in poisonRedZones() argument
1732 size_t n = ShadowBytes.size(); in poisonRedZones()
1743 Val |= (uint64_t)ShadowBytes[i + j] << (8 * j); in poisonRedZones()
1745 Val = (Val << 8) | ShadowBytes[i + j]; in poisonRedZones()
1978 poisonRedZones(L.ShadowBytes, IRB, ShadowBase, true); in poisonStack()
2024 poisonRedZones(L.ShadowBytes, IRBElse, ShadowBase, false); in poisonStack()
2030 poisonRedZones(L.ShadowBytes, IRBRet, ShadowBase, false); in poisonStack()