Split the frida handler to a separte handler and add a test

This commit is contained in:
Dimitris Zervas
2023-06-03 01:52:10 +03:00
parent 85c4aef520
commit 9180d62d67
12 changed files with 295 additions and 108 deletions

View File

@ -1,4 +1,7 @@
pub mod injector;
#[cfg(feature = "frida")]
pub mod frida_handler;
pub use injector::attach;
fn main() {
@ -12,3 +15,6 @@ fn main() {
let pid: u32 = args[1].parse().unwrap();
attach(pid);
}
// #[cfg(test)]
// mod integration_tests;