Split the frida handler to a separte handler and add a test
This commit is contained in:
7
tests/mylib/Cargo.lock
generated
Normal file
7
tests/mylib/Cargo.lock
generated
Normal 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
9
tests/mylib/Cargo.toml
Normal 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
4
tests/mylib/src/lib.rs
Normal file
@ -0,0 +1,4 @@
|
||||
#[no_mangle]
|
||||
pub extern "C" fn mylib_foo() -> u8 {
|
||||
10
|
||||
}
|
Reference in New Issue
Block a user