Update frida to 0.14.0 (#2596)

* update frida crate to the latest version

* adapt libafl_frida to the latest version of frida
This commit is contained in:
Romain Malmain 2024-10-09 11:13:43 +02:00 committed by GitHub
parent c12c6f31e2
commit c1ddcb2eed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ libafl = { path = "../../../libafl", features = [
"frida_cli",
] } #, "llmp_small_maps", "llmp_debug"]}
libafl_bolts = { path = "../../../libafl_bolts" }
frida-gum = { version = "0.13.7", features = [
frida-gum = { version = "0.14.0", features = [
"auto-download",
"event-sink",
"invocation-listener",

View File

@ -23,7 +23,7 @@ libafl = { path = "../../../libafl", features = [
"errors_backtrace",
] } #, "llmp_small_maps", "llmp_debug"]}
libafl_bolts = { path = "../../../libafl_bolts" }
frida-gum = { version = "0.13.7", features = [
frida-gum = { version = "0.14.0", features = [
"auto-download",
"event-sink",
"invocation-listener",

View File

@ -26,7 +26,7 @@ libafl = { path = "../../../libafl", features = [
"errors_backtrace",
] } #, "llmp_small_maps", "llmp_debug"]}
libafl_bolts = { path = "../../../libafl_bolts" }
frida-gum = { version = "0.13.7", features = [
frida-gum = { version = "0.14.0", features = [
"auto-download",
"event-sink",
"invocation-listener",

View File

@ -73,11 +73,11 @@ nix = { workspace = true, default-features = true, features = ["mman"] }
libc = { workspace = true }
hashbrown = { workspace = true, default-features = true }
rangemap = { workspace = true }
frida-gum-sys = { version = "0.13.7", features = [
frida-gum-sys = { version = "0.14.0", features = [
"event-sink",
"invocation-listener",
] }
frida-gum = { version = "0.13.7", features = [
frida-gum = { version = "0.14.0", features = [
"event-sink",
"invocation-listener",
"module-names",

View File

@ -41,7 +41,7 @@ where
// thread_id for the Stalker
thread_id: Option<u32>,
/// Frida's dynamic rewriting engine
stalker: Stalker<'a>,
stalker: Stalker,
/// User provided callback for instrumentation
helper: &'c mut FridaInstrumentationHelper<'b, RT>,
followed: bool,

View File

@ -575,7 +575,7 @@ mod tests {
"Skipping test, {test_harness} not found"
);
GUM.set(unsafe { Gum::obtain() })
GUM.set(Gum::obtain())
.unwrap_or_else(|_| panic!("Failed to initialize Gum"));
let simulated_args = vec![
"libafl_frida_test",