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