Share via


BinaryHardeningFeatures interface

Binary hardening features.

Properties

canary

Flag indicating if the binary was compiled with stack canaries enabled.

noExecute

Flag indicating the binary's stack is set to NX (no-execute).

positionIndependentExecutable

Flag indicating the binary was compiled to be a position independent executable.

relocationReadOnly

Flag indicating the binary has enabled relocation read-only protections.

stripped

Flag indicating if debug symbols have been stripped from the binary.

Property Details

canary

Flag indicating if the binary was compiled with stack canaries enabled.

canary?: boolean

Property Value

boolean

noExecute

Flag indicating the binary's stack is set to NX (no-execute).

noExecute?: boolean

Property Value

boolean

positionIndependentExecutable

Flag indicating the binary was compiled to be a position independent executable.

positionIndependentExecutable?: boolean

Property Value

boolean

relocationReadOnly

Flag indicating the binary has enabled relocation read-only protections.

relocationReadOnly?: boolean

Property Value

boolean

stripped

Flag indicating if debug symbols have been stripped from the binary.

stripped?: boolean

Property Value

boolean