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