modified: src/main.rs
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
This commit is contained in:
parent
8e601254bf
commit
cb883df4f2
@ -31,7 +31,7 @@ static LOG_FILE: std::sync::Mutex<Option<File>> = std::sync::Mutex::new(None);
|
|||||||
|
|
||||||
pub fn log2java(text: String) {
|
pub fn log2java(text: String) {
|
||||||
if let Ok(mut l) = LOG_FILE.lock() {
|
if let Ok(mut l) = LOG_FILE.lock() {
|
||||||
if let Some(ff) = l.take() {
|
if let Some(mut ff) = l.take() {
|
||||||
ff.write_all(text.as_bytes());
|
ff.write_all(text.as_bytes());
|
||||||
//jni::FridaLib::traceFromNative(l.unwrap(), text);
|
//jni::FridaLib::traceFromNative(l.unwrap(), text);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user