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

7
tests/mylib/Cargo.lock generated Normal file
View File

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "mylib"
version = "0.1.0"

9
tests/mylib/Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[package]
name = "mylib"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]

4
tests/mylib/src/lib.rs Normal file
View File

@ -0,0 +1,4 @@
#[no_mangle]
pub extern "C" fn mylib_foo() -> u8 {
10
}