Return shadow bytes for a stack frame with all locals in scope.
Synopsis
Declared in <llvm/Transforms/Utils/ASanStackFrameLayout.h>
SmallVector<uint8_t, 64>
GetShadowBytes(
SmallVectorImpl<ASanStackVariableDescription> const& Vars,
ASanStackFrameLayout const& Layout);
Description
Redzones are marked with AddressSanitizer magic values. This shadow represents the state of the stack frame when all local variables are inside their own scope.
Return Value
Shadow bytes with redzones marked and in‐scope locals as valid.
Parameters
Name |
Description |
Vars |
Stack variables after layout has been computed. |
Layout |
Computed frame layout that supplies granularity and size. |
Created with MrDocs