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.cpp788 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()