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: bool
Data Execution Prevention / No-Execute bit
aslr: bool
Address Space Layout Randomization
stack_canary: bool
Stack canaries / stack protection
cfi: bool
Control Flow Integrity
fortify: bool
Fortify source
pie: bool
Position Independent Executable
relro: bool
Relocation Read-Only
signed: bool
Signed binary
Trait Implementations§
Source§impl Clone for SecurityFeatures
impl Clone for SecurityFeatures
Source§fn clone(&self) -> SecurityFeatures
fn clone(&self) -> SecurityFeatures
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SecurityFeatures
impl Debug for SecurityFeatures
Source§impl Default for SecurityFeatures
impl Default for SecurityFeatures
Source§fn default() -> SecurityFeatures
fn default() -> SecurityFeatures
Returns the “default value” for a type. 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 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