Skip to main content

Analyzer

Trait Analyzer 

Source
pub trait Analyzer: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn analyze(&self, snapshot: &MemorySnapshot) -> AnalysisResult;
}
Expand description

Analyzer trait for pluggable analysis modules

All analyzers must implement this trait to be used with the AnalysisEngine.

Required Methods§

Source

fn name(&self) -> &str

Get the name of this analyzer

Source

fn analyze(&self, snapshot: &MemorySnapshot) -> AnalysisResult

Analyze a memory snapshot and return results

§Arguments
  • snapshot - The memory snapshot to analyze

Implementors§

Source§

impl<D: Detector + Send + Sync + 'static> Analyzer for DetectorToAnalyzer<D>