pub struct SecurityFeatures {
pub nx_bit: bool,
pub aslr: bool,
pub stack_canary: bool,
pub cfi: bool,
pub fortify: bool,
pub pie: bool,
pub relro: bool,
pub signed: bool,
}Expand description
Security features detected in the binary
Fields§
§nx_bit: boolData Execution Prevention / No-Execute bit
aslr: boolAddress Space Layout Randomization
stack_canary: boolStack canaries / stack protection
cfi: boolControl Flow Integrity
fortify: boolFortify source
pie: boolPosition Independent Executable
relro: boolRelocation Read-Only
signed: boolFormat-specific code-signature or certificate data is present.
This does not establish that the signature is cryptographically valid or chains to a trusted identity.
Trait Implementations§
Source§impl Clone for SecurityFeatures
impl Clone for SecurityFeatures
Source§impl Debug for SecurityFeatures
impl Debug for SecurityFeatures
Source§impl Default for SecurityFeatures
impl Default for SecurityFeatures
Source§impl<'de> Deserialize<'de> for SecurityFeatures
impl<'de> Deserialize<'de> for SecurityFeatures
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SecurityFeatures
impl RefUnwindSafe for SecurityFeatures
impl Send for SecurityFeatures
impl Sync for SecurityFeatures
impl Unpin for SecurityFeatures
impl UnsafeUnpin for SecurityFeatures
impl UnwindSafe for SecurityFeatures
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more