[][src]Trait binsec::check::Checker

pub trait Checker {
    fn bin_info(&self) -> Box<dyn FeatureCheck>;
fn harden_check(&self) -> Box<dyn FeatureCheck>; }

trait that is implemented in order to extend libgoblin's functionality to detect binary security mitigations either through traditional hardening techniques.

Required methods

fn bin_info(&self) -> Box<dyn FeatureCheck>

parses out and returns basic binary information for more verbose user output.

fn harden_check(&self) -> Box<dyn FeatureCheck>

defines the function be implemented in order to detect the standard binary hardening features usually enforced by the compiler.

Loading content...

Implementations on Foreign Types

impl<'_> Checker for Elf<'_>[src]

fn bin_info(&self) -> Box<dyn FeatureCheck>[src]

parses out basic binary information and stores for consumption and output.

fn harden_check(&self) -> Box<dyn FeatureCheck>[src]

implements the necesary checks for the security mitigations for the specific file format.

impl<'_> Checker for MachO<'_>[src]

fn bin_info(&self) -> Box<dyn FeatureCheck>[src]

parses out basic binary information and stores for consumption and output.

fn harden_check(&self) -> Box<dyn FeatureCheck>[src]

implements the necesary checks for the security mitigations for the specific file format.

impl<'_> Checker for PE<'_>[src]

fn bin_info(&self) -> Box<dyn FeatureCheck>[src]

parses out basic binary information and stores for consumption and output.

fn harden_check(&self) -> Box<dyn FeatureCheck>[src]

implements the necesary checks for the security mitigations of the specific file format.

Loading content...

Implementors

Loading content...