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
2ac82592a0
commit
3ff3acb952
13
src/main.rs
13
src/main.rs
@ -75,8 +75,8 @@ mod jni {
|
||||
close_fd_on_drop: bool) -> JniResult<i32> {
|
||||
android_logger::init_once(Config::default().with_tag("RustFrida"));
|
||||
|
||||
trace!("Hello world");
|
||||
info!("Hello world! {:?}", tun_fd);
|
||||
FridaLib::traceFromNative("Hello world");
|
||||
FridaLib::traceFromNative("Hello world! {:?}", tun_fd);
|
||||
|
||||
Ok(-2)
|
||||
}
|
||||
@ -85,13 +85,12 @@ mod jni {
|
||||
Ok(-1)
|
||||
}
|
||||
|
||||
/*pub extern "java" fn getAppFilesDir(
|
||||
pub extern "java" fn traceFromNative(
|
||||
env: &JNIEnv,
|
||||
#[input_type("Landroid/content/Context;")] context: JObject,
|
||||
) -> JniResult<String> {
|
||||
}
|
||||
text: String,
|
||||
) {}
|
||||
|
||||
pub extern "java" fn threadTestNoClass(env: &JNIEnv, s: String) -> JniResult<i32> {}
|
||||
/*pub extern "java" fn threadTestNoClass(env: &JNIEnv, s: String) -> JniResult<i32> {}
|
||||
pub extern "java" fn threadTestWithClass(
|
||||
env: &JNIEnv,
|
||||
class_ref: &GlobalRef,
|
||||
|
Loading…
x
Reference in New Issue
Block a user