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
ffac3c9bf0
commit
e566e42e46
@ -31,8 +31,8 @@ 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 l.is_some() {
|
if let Some(ff) = l.take() {
|
||||||
l.unwrap().write_all(text.as_bytes());
|
ff.unwrap().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