Upgrade Frida to 17.14.0 and migrate workspace to Rust edition 2024#244
Open
kkuehl wants to merge 1 commit into
Open
Upgrade Frida to 17.14.0 and migrate workspace to Rust edition 2024#244kkuehl wants to merge 1 commit into
kkuehl wants to merge 1 commit into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_fnnow deny-by-default requiring explicitunsafe {}blocks inside unsafe fns;refin let-else patterns removed. Applied viacargo fix --editionwhere possible, remaining blockers fixed manually first.API changes for 17.13.0/17.14.0:
Cross-platform (Linux/iOS devkits prefix GLib symbols with frida):
refpatterns updated for edition 2024 match ergonomics.