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:
parent
c12c6f31e2
commit
c1ddcb2eed
@ -25,7 +25,7 @@ libafl = { path = "../../../libafl", features = [
|
|||||||
"frida_cli",
|
"frida_cli",
|
||||||
] } #, "llmp_small_maps", "llmp_debug"]}
|
] } #, "llmp_small_maps", "llmp_debug"]}
|
||||||
libafl_bolts = { path = "../../../libafl_bolts" }
|
libafl_bolts = { path = "../../../libafl_bolts" }
|
||||||
frida-gum = { version = "0.13.7", features = [
|
frida-gum = { version = "0.14.0", features = [
|
||||||
"auto-download",
|
"auto-download",
|
||||||
"event-sink",
|
"event-sink",
|
||||||
"invocation-listener",
|
"invocation-listener",
|
||||||
|
@ -23,7 +23,7 @@ libafl = { path = "../../../libafl", features = [
|
|||||||
"errors_backtrace",
|
"errors_backtrace",
|
||||||
] } #, "llmp_small_maps", "llmp_debug"]}
|
] } #, "llmp_small_maps", "llmp_debug"]}
|
||||||
libafl_bolts = { path = "../../../libafl_bolts" }
|
libafl_bolts = { path = "../../../libafl_bolts" }
|
||||||
frida-gum = { version = "0.13.7", features = [
|
frida-gum = { version = "0.14.0", features = [
|
||||||
"auto-download",
|
"auto-download",
|
||||||
"event-sink",
|
"event-sink",
|
||||||
"invocation-listener",
|
"invocation-listener",
|
||||||
|
@ -26,7 +26,7 @@ libafl = { path = "../../../libafl", features = [
|
|||||||
"errors_backtrace",
|
"errors_backtrace",
|
||||||
] } #, "llmp_small_maps", "llmp_debug"]}
|
] } #, "llmp_small_maps", "llmp_debug"]}
|
||||||
libafl_bolts = { path = "../../../libafl_bolts" }
|
libafl_bolts = { path = "../../../libafl_bolts" }
|
||||||
frida-gum = { version = "0.13.7", features = [
|
frida-gum = { version = "0.14.0", features = [
|
||||||
"auto-download",
|
"auto-download",
|
||||||
"event-sink",
|
"event-sink",
|
||||||
"invocation-listener",
|
"invocation-listener",
|
||||||
|
@ -73,11 +73,11 @@ nix = { workspace = true, default-features = true, features = ["mman"] }
|
|||||||
libc = { workspace = true }
|
libc = { workspace = true }
|
||||||
hashbrown = { workspace = true, default-features = true }
|
hashbrown = { workspace = true, default-features = true }
|
||||||
rangemap = { workspace = true }
|
rangemap = { workspace = true }
|
||||||
frida-gum-sys = { version = "0.13.7", features = [
|
frida-gum-sys = { version = "0.14.0", features = [
|
||||||
"event-sink",
|
"event-sink",
|
||||||
"invocation-listener",
|
"invocation-listener",
|
||||||
] }
|
] }
|
||||||
frida-gum = { version = "0.13.7", features = [
|
frida-gum = { version = "0.14.0", features = [
|
||||||
"event-sink",
|
"event-sink",
|
||||||
"invocation-listener",
|
"invocation-listener",
|
||||||
"module-names",
|
"module-names",
|
||||||
|
@ -41,7 +41,7 @@ where
|
|||||||
// thread_id for the Stalker
|
// thread_id for the Stalker
|
||||||
thread_id: Option<u32>,
|
thread_id: Option<u32>,
|
||||||
/// Frida's dynamic rewriting engine
|
/// Frida's dynamic rewriting engine
|
||||||
stalker: Stalker<'a>,
|
stalker: Stalker,
|
||||||
/// User provided callback for instrumentation
|
/// User provided callback for instrumentation
|
||||||
helper: &'c mut FridaInstrumentationHelper<'b, RT>,
|
helper: &'c mut FridaInstrumentationHelper<'b, RT>,
|
||||||
followed: bool,
|
followed: bool,
|
||||||
|
@ -575,7 +575,7 @@ mod tests {
|
|||||||
"Skipping test, {test_harness} not found"
|
"Skipping test, {test_harness} not found"
|
||||||
);
|
);
|
||||||
|
|
||||||
GUM.set(unsafe { Gum::obtain() })
|
GUM.set(Gum::obtain())
|
||||||
.unwrap_or_else(|_| panic!("Failed to initialize Gum"));
|
.unwrap_or_else(|_| panic!("Failed to initialize Gum"));
|
||||||
let simulated_args = vec![
|
let simulated_args = vec![
|
||||||
"libafl_frida_test",
|
"libafl_frida_test",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user