modified: src/main.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
This commit is contained in:
parent
dc65630dc5
commit
9d96bfdc71
@ -72,13 +72,17 @@ mod jni {
|
||||
impl<'env: 'borrow, 'borrow> FridaLib<'env, 'borrow> {
|
||||
pub extern "jni" fn start(self, env: &JNIEnv, config_b32: String,
|
||||
tun_fd: i32,
|
||||
close_fd_on_drop: bool) -> jint {
|
||||
close_fd_on_drop: bool) -> JniResult<i32> {
|
||||
android_logger::init_once(Config::default().with_tag("RUST_FRIDA"));
|
||||
|
||||
|
||||
info!("Hello world! {:?}", tun_fd);
|
||||
|
||||
-2
|
||||
}
|
||||
|
||||
pub extern "jni" fn stop(self, env: &JNIEnv) -> JniResult<i32> {
|
||||
-1
|
||||
}
|
||||
|
||||
/*pub extern "java" fn getAppFilesDir(
|
||||
|
Loading…
x
Reference in New Issue
Block a user