Clang stack protector

GPTKB entity

Statements (20)
Predicate Object
gptkbp:instanceOf compiler security feature
gptkbp:category gptkb:security
compiler option
gptkbp:compatibleWith gptkb:LLVM
gptkbp:defaultBehavior off unless enabled by option
gptkbp:detects stack buffer overflows at runtime
https://www.w3.org/2000/01/rdf-schema#label Clang stack protector
gptkbp:implementedIn gptkb:Clang
gptkbp:introducedIn gptkb:Clang_3.1
gptkbp:option -fstack-protector
-fstack-protector-all
-fstack-protector-strong
gptkbp:protectedBy functions with local variables that have their address taken
functions with local arrays
gptkbp:purpose mitigate stack-based buffer overflows
gptkbp:relatedTo GCC stack protector
stack smashing protection
gptkbp:uses stack canary
gptkbp:bfsParent gptkb:Stack_Smashing_Protector
gptkbp:bfsLayer 7