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