1
Fork 0

Fix documentation of basic stack protector

A stack protector is used for N >= 8, not N > 8.
This commit is contained in:
Nikita Popov 2022-05-28 10:41:28 +02:00
parent 6dc4fe5fe8
commit 1ff051a9c5

View file

@ -304,8 +304,8 @@ impl CodegenBackend for LlvmCodegenBackend {
local stack variable in the ABI.) local stack variable in the ABI.)
basic basic
Generate stack canaries in functions with: Generate stack canaries in functions with local variables of `[T; N]`
- local variables of `[T; N]` type, where `T` is byte-sized and `N` > 8. type, where `T` is byte-sized and `N` >= 8.
none none
Do not generate stack canaries. Do not generate stack canaries.