Return shadow bytes after all locals have gone out of scope.
Declared in <llvm/Transforms/Utils/ASanStackFrameLayout.h>
SmallVector<uint8_t, 64>
GetShadowBytesAfterScope(
SmallVectorImpl<ASanStackVariableDescription> const& Vars,
ASanStackFrameLayout const& Layout);
Redzones are marked, and each variable's lifetime region is filled with use-after-scope magic. This shadow represents the state of the stack frame when all local variables are outside their own scope.
Shadow bytes with redzones and use-after-scope bytes marked.
| Name | Description |
|---|---|
| Vars | Stack variables after layout has been computed. |
| Layout | Computed frame layout that supplies granularity and size. |