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
25c66d1a78
commit
6bad4f9921
@ -32,8 +32,8 @@ static LOG_FILE: std::sync::Mutex<Option<File>> = std::sync::Mutex::new(None);
|
||||
pub fn log2java(text: String) {
|
||||
if let Ok(mut l) = LOG_FILE.lock() {
|
||||
if let Some(mut ff) = l.take() {
|
||||
ff.write_all(text.as_bytes());
|
||||
ff.write_all(b"\n");
|
||||
ff.write(text.as_bytes());
|
||||
ff.write(b"\n");
|
||||
ff.flush();
|
||||
//jni::FridaLib::traceFromNative(l.unwrap(), text);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user