13 #ifndef LLVM_TRANSFORMS_UTILS_ASANSTACKFRAMELAYOUT_H 14 #define LLVM_TRANSFORMS_UTILS_ASANSTACKFRAMELAYOUT_H 59 size_t MinHeaderSize);
81 #endif // LLVM_TRANSFORMS_UTILS_ASANSTACKFRAMELAYOUT_H
This class represents lattice values for constants.
static const int kAsanStackMidRedzoneMagic
SmallString< 64 > ComputeASanStackFrameDescription(const SmallVectorImpl< ASanStackVariableDescription > &Vars)
static const int kAsanStackLeftRedzoneMagic
static const int kAsanStackUseAfterReturnMagic
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
SmallVector< uint8_t, 64 > GetShadowBytesAfterScope(const SmallVectorImpl< ASanStackVariableDescription > &Vars, const ASanStackFrameLayout &Layout)
static const int kAsanStackRightRedzoneMagic
ASanStackFrameLayout ComputeASanStackFrameLayout(SmallVectorImpl< ASanStackVariableDescription > &Vars, size_t Granularity, size_t MinHeaderSize)
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
static const int kAsanStackUseAfterScopeMagic
an instruction to allocate memory on the stack
SmallVector< uint8_t, 64 > GetShadowBytes(const SmallVectorImpl< ASanStackVariableDescription > &Vars, const ASanStackFrameLayout &Layout)