Skip to content

Releases

0.6.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 13:08

0.6.0

Changes since 0.5.1

  • Release 0.6.0 (02b0b84)
  • Give duplicate Dart method names unique r2 flags and function names (0ee5e01)
  • Update mafia -z goldens for VM base-object pool strings (cc33899)
  • Support RVec fcn->bbs on R2_ABIVERSION >= 168 (8a9e54b)
  • Scan complete instruction ranges for standalone xrefs (441d614)
  • Decode Record fields in snapshot value graphs (25a5b3f)
  • Resolve direct ObjectPool Code targets (3bfdd56)
  • Resolve ObjectPool Field names and owners (84a25ea)
  • Propagate ObjectPool collection strings into analysis (2bf6136)
  • Include ObjectPool instance strings in -z output (a2fd821)
  • Fix ObjectPool string xrefs through instance fields (bd6f596)

0.5.1

Choose a tag to compare

@github-actions github-actions released this 16 Oct 01:30

0.5.1

Changes since 0.5.0

  • Release 0.5.1 (7be0c17)
  • Update class metadata golden for quoted pf output (3552d74)

0.4.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 22:49

0.4.0

Changes since 0.3.6

  • Release 0.4.0 (fa854fb)
  • doc: record x86-64 Dart AOT scan support (a9efd1d)
  • Seed anal.gp with the right PP register per arch (01db9e6)
  • Resolve x86-64 pool slots by adding back the heap tag (abcdbb2)
  • Detect x86-64 pool loads and xref the pool slot from code (05ebbd2)
  • Recognize x86-64 registers and operand syntax in the scan (cd90ffe)
  • Add r2flutter.str options to configure string parsing limits (05c0616)
  • Fix extras tests for tiered -A/-AA/-AAA and the analysis log line (49f174f)
  • Dartpool refs moved into -AA and speedup AAA (cfb6448)
  • Apply dart pool refs to actual data strings with -AAA (b7f425c)
  • Annotate NULL_REG (x22) null/true/false idioms in -AAA (db30ebc)
  • Expose the ObjectPool as anal.gp in r2flutter-A (5651efc)
  • Fix PP mis-identification: a loaded pool value is not a PP pointer (a6fc7e4)
  • Resolve PP-slot comments to kind/name and add xrefs (d0467e4)
  • Add modern_collect_direct_pool_refs batch pool resolver (f35d5b5)
  • Clear dangling ctx->layout in the PP-string loader (2396599)
  • Support pre r2-6.2.4 triplets (7d28390)
  • Improve the ci builds to make binary r2pm possible (30b8fe7)
  • Speed up -AAA on large snapshots without changing its results (6793505)
  • Fix Dart 3.13 ObjectPool decode: parse early base-object clusters (5c4a51d)
  • Fix CID_SHIFT1 ObjectPool decode: PatchClass has 2 refs on Dart 3.0-3.3 (e8bf641)

0.3.6

Choose a tag to compare

@github-actions github-actions released this 08 Sep 11:42

0.3.6

Changes since 0.3.4

  • Release 0.3.6 (3e12922)
  • Build the debian package in the ci (42b606a)
  • Add dist/debian (507994d)
  • Ship the r2 plugin in the windows zip and strip the binaries before packaging (ce97e96)

0.3.4

Choose a tag to compare

@github-actions github-actions released this 08 Sep 09:18

0.3.4

Changes since 0.3.2

  • Release 0.3.4 (2f8343b)
  • Use r_str_tok_r in the sbom parser to link on windows (5394a6f)
  • Fix the windows build by avoiding posix-only apis and translating the r2 flags for msvc (b2d8a49)
  • Fix PatchClass parsing for CID_SHIFT1 snapshots (edd43d6)

0.3.0

Choose a tag to compare

@trufae trufae released this 07 Sep 11:30

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.