Skip to content

Upgrade Frida to 17.14.0 and migrate workspace to Rust edition 2024#244

Open
kkuehl wants to merge 1 commit into
frida:mainfrom
kkuehl:kkuehl/frida-17.13-edition-2024
Open

Upgrade Frida to 17.14.0 and migrate workspace to Rust edition 2024#244
kkuehl wants to merge 1 commit into
frida:mainfrom
kkuehl:kkuehl/frida-17.13-edition-2024

Conversation

@kkuehl

@kkuehl kkuehl commented Jun 16, 2026

Copy link
Copy Markdown

This is a smaller, minimal PR. The missing features will come after this is merged.

FRIDA_VERSION: bump 17.9.5 -> 17.14.0 across all FRIDA_VERSION files.

Edition 2024 (workspace Cargo.toml): unsafe extern "C" required for all extern blocks; unsafe_op_in_unsafe_fn now deny-by-default requiring explicit unsafe {} blocks inside unsafe fns; ref in let-else patterns removed. Applied via cargo fix --edition where possible, remaining blockers fixed manually first.

API changes for 17.13.0/17.14.0:

  • gum_interceptor_replace/replace_fast: new options param added; pass null.
  • gum_interceptor_attach: options param replaces separate listener_data arg.
  • gum_stalker_activate_experimental_unwind_support: removed; drop wrapper.
  • frida-build: fix redundant-reference lints in format!/println! macros.
  • backtracer: fix double-reference in fuzzy_with_context.

Cross-platform (Linux/iOS devkits prefix GLib symbols with frida):

  • variant.rs ref patterns updated for edition 2024 match ergonomics.
  • process.rs Linux/FreeBSD extern block marked unsafe extern.
  • aarch64/relocator.rs + x86_64/relocator.rs extern blocks marked unsafe.

FRIDA_VERSION: bump 17.9.5 -> 17.14.0 across all FRIDA_VERSION files.

Edition 2024 (workspace Cargo.toml): `unsafe extern "C"` required for all
extern blocks; `unsafe_op_in_unsafe_fn` now deny-by-default requiring explicit
`unsafe {}` blocks inside unsafe fns; `ref` in let-else patterns removed.
Applied via `cargo fix --edition` where possible, remaining blockers fixed
manually first.

API changes for 17.13.0/17.14.0:
- gum_interceptor_replace/replace_fast: new options param added; pass null.
- gum_interceptor_attach: options param replaces separate listener_data arg.
- gum_stalker_activate_experimental_unwind_support: removed; drop wrapper.
- frida-build: fix redundant-reference lints in format!/println! macros.
- backtracer: fix double-reference in fuzzy_with_context.

Cross-platform (Linux/iOS devkits prefix GLib symbols with _frida_):
- variant.rs `ref` patterns updated for edition 2024 match ergonomics.
- process.rs Linux/FreeBSD extern block marked unsafe extern.
- aarch64/relocator.rs + x86_64/relocator.rs extern blocks marked unsafe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant