3.2 Encoding Stack Protections

The stack protection note (value 2) encodes the setting of the -fstack-protector option. Possible values are:

0

Not compiled with any setting of -fstack-protector (or the setting is unknown).

1

Compiled with just -fstack-protector.

2

Compiled with -fstack-protector-all.

3

Compiled with -fstack-protector-strong.

4

Compiled with -fstack-protector-explicit.