Skip to content

Commit

Permalink
Update frida to 0.14.0 (AFLplusplus#2596)
Browse files Browse the repository at this point in the history
* update frida crate to the latest version

* adapt libafl_frida to the latest version of frida
  • Loading branch information
rmalmain authored Oct 9, 2024
1 parent c12c6f3 commit c1ddcb2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion fuzzers/binary_only/frida_executable_libpng/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion fuzzers/binary_only/frida_gdiplus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion fuzzers/binary_only/frida_libpng/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions libafl_frida/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion libafl_frida/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libafl_frida/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c1ddcb2

Please sign in to comment.