Skip to content

0.3.0

Choose a tag to compare

@trufae trufae released this 07 Sep 11:30
· 53 commits to main since this release

Based on the commit history between versions 0.2.0 (c0f1484) and 0.3.0 (ae66842), here are the release notes:

πŸš€ New Features & Support

  • Dart Version Support:
    • Added support for Dart 3.13 Single Snapshots.
    • Added snapshot profiles for Dart 3.11.x and 3.12.x.
    • Expanded support for Dart 2.x (cws=4) snapshots, including ObjectPool decoding and name/string recovery.
  • Analysis Capabilities:
    • Function Signature Recovery: Now recovers Dart function signatures, including receiver and return types.
    • Snapshot Analysis: Added ability to probe snapshot layouts for unknown hashes and retain snapshot object value graphs.
    • Metadata Extraction: Added support for extracting classes, fields, and serialized class layout metadata from uncompressed (cws=8) snapshots.
    • Entrypoint Discovery: Added the -E (renamed to -ie) flag to find the entrypoint and instruction-image codemeta.
  • Tooling:
    • Added a tutorial for bypassing SSL pinning on iOS/Flutter.
    • Introduced a mechanism to override the DartVersion via the CLI using the -D flag.

πŸ› οΈ Improvements & Refactoring

  • Performance:
    • Significant performance boost (approx. 1.6x) for the -x command.
    • Optimized -p and cluster-stream walkers through read-caching and skipping RBin strings.
  • Parsing Logic:
    • Refactored modern snapshot parsing around a shared cluster walker.
    • Unified the tag-from-CID getter to handle three different formats.
    • Improved the resolution of serialized ObjectPool string xrefs.
  • Build System:
    • Migrated from pkg-config to r2 -H for dependency resolution.
    • Updated CI to use r2-6.2.0 and later.
    • Updated the project to use r2-6.2.2.

πŸ› Bug Fixes & Stability

  • iOS/Mach-O:
    • Fixed symbol recovery blockers and tag reads on iOS.
    • Improved the location of Dart instruction images on stripped Mach-O binaries.
    • Fixed ppstring recovery in disassembly and corrected pp.vaddr computation.
  • Correctness:
    • Fixed "modern fill rules" for shifted Dart CIDs.
    • Fixed a bug where -x read JSON keys that pdj did not emit.
    • Corrected anal.roregs settings for the x27 register.
  • General:
    • Fixed various build issues with recent radare2 git versions.

πŸ§ͺ Testing & Documentation

  • Test Suite:
    • Updated all tests to use standard r2 commands instead of !! oneliners.
    • Added extensive regression tests, including a "w0rdle" Flutter crackme sample.
    • Added specific tests for macOS cws=8 class extraction and iOS discovery.
  • Documentation:
    • Updated the README and improved the plugin help messages.
    • Updated the project roadmap/TODO list.