rapx/analysis/
mod.rs

1pub mod core;
2pub mod graphs;
3pub mod opt;
4pub mod rcanary;
5pub mod safedrop;
6pub mod scan;
7pub mod senryx;
8pub mod test;
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}