enum MachineFrameInfo::SSPLayoutKind
Description
Stack Smashing Protection (SSP) rules require that vulnerable stack allocations are located close the stack protector.
Declared at: llvm/include/llvm/CodeGen/MachineFrameInfo.h:110
Enumerators
Name | Value | Comment |
---|---|---|
SSPLK_None | 0 | Did not trigger a stack protector. No effect on data layout. |
SSPLK_LargeArray | 1 | Array or nested array >= SSP-buffer-size. Closest to the stack protector. |
SSPLK_SmallArray | 2 | Array or nested array < SSP-buffer-size. 2nd closest to the stack protector. |
SSPLK_AddrOf | 3 | The address of this allocation is exposed and triggered protection. 3rd closest to the protector. |