Skip to content

feat(output): emit ghidra symbol script from decompile - #29

Merged
caverav merged 2 commits into
mainfrom
feat/ghidra-symbol-script
Feb 26, 2026
Merged

caverav merged 2 commits into
mainfrom
feat/ghidra-symbol-script

Conversation

@caverav

@caverav caverav commented Feb 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • add --emit-ghidra-script to flutterdec decompile
  • emit ghidra_apply_symbols.py in output directory with recovered symbol application logic
    • renames existing functions when present
    • creates labels as fallback when function objects are missing
    • sanitizes names for Ghidra-safe identifiers
  • add ghidra_script metadata to report.json (enabled, path, symbol count)
  • add regression tests for script generation and CLI parsing
  • document usage in README and docs

Validation

  • nix flake check
  • nix develop -c cargo fmt --all --check
  • nix develop -c ./scripts/lint-shell.sh
  • nix develop -c cargo clippy --workspace --all-targets -- -D warnings
  • nix develop -c cargo test --workspace
  • nix develop -c cargo build -p flutterdec-cli --release

@caverav
caverav merged commit 342dad2 into main Feb 26, 2026
2 checks passed
@caverav
caverav deleted the feat/ghidra-symbol-script branch February 26, 2026 03:52
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