From 7a65617ca929ea066cf76408ea4a79be81207320 Mon Sep 17 00:00:00 2001 From: alterdekim Date: Mon, 7 Oct 2024 18:17:21 +0300 Subject: [PATCH] modified: src/main.rs --- src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 89a528c..9e1532d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,7 +75,7 @@ mod jni { close_fd_on_drop: bool) -> JniResult { android_logger::init_once(Config::default().with_tag("RustFrida")); - FridaLib::traceFromNative(env, "Hello world"); + FridaLib::traceFromNative(env, "Hello world".to_string()); Ok(-2) } @@ -87,7 +87,9 @@ mod jni { pub extern "java" fn traceFromNative( env: &JNIEnv, text: String, - ) {} + ) { + + } /*pub extern "java" fn threadTestNoClass(env: &JNIEnv, s: String) -> JniResult {} pub extern "java" fn threadTestWithClass(