rapx/analysis/
mod.rs

1pub mod core;
2pub mod extract;
3pub mod graphs;
4pub mod opt;
5pub mod rcanary;
6pub mod safedrop;
7pub mod scan;
8pub mod senryx;
9pub mod upg;
10pub mod utils;
11
12/// This is a general trait designed for all program analysis features.
13pub trait Analysis {
14    /// Return the name of the analysis.
15    fn name(&self) -> &'static str;
16
17    /// Execute the analysis.
18    fn run(&mut self);
19
20    /// Reset the analysis and cleanup the memory.
21    fn reset(&mut self);
22}