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
modified: src/simple_log.rs
This commit is contained in:
parent
ef5339f595
commit
0f7206e51a
@ -2,7 +2,7 @@
|
||||
|
||||
use jni::{
|
||||
objects::{JClass, JString},
|
||||
sys::{jboolean, jchar, jint},
|
||||
sys::{jboolean, jchar, jint, jstring},
|
||||
JNIEnv,
|
||||
};
|
||||
use std::{error::Error, fs, net::Ipv4Addr, str};
|
||||
@ -37,7 +37,7 @@ pub unsafe extern "C" fn Java_com_alterdekim_frida_FridaLib_run(
|
||||
pub unsafe extern "C" fn Java_com_alterdekim_frida_FridaLib_fetchLogs(
|
||||
mut env: JNIEnv,
|
||||
_clazz: JClass
|
||||
) -> JString {
|
||||
) -> jstring {
|
||||
String::from_utf8_lossy(simple_log::fetch_logs())
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
use crossbeam_channel::unbounded;
|
||||
|
||||
struct ll {
|
||||
pub tx: Sender<Vec<u8>>,
|
||||
pub rx: Receiver<Vec<u8>>
|
||||
|
Loading…
x
Reference in New Issue
Block a user