Repository navigation
Releases
Releases Β· radareorg/r2flutter
0.6.0
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
0.4.0
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
0.3.4
0.3.0
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
DartVersionvia the CLI using the-Dflag.
π οΈ Improvements & Refactoring
- Performance:
- Significant performance boost (approx. 1.6x) for the
-xcommand. - Optimized
-pand cluster-stream walkers through read-caching and skipping RBin strings.
- Significant performance boost (approx. 1.6x) for the
- 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-configtor2 -Hfor dependency resolution. - Updated CI to use
r2-6.2.0and later. - Updated the project to use
r2-6.2.2.
- Migrated from
π 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
ppstringrecovery in disassembly and correctedpp.vaddrcomputation.
- Correctness:
- Fixed "modern fill rules" for shifted Dart CIDs.
- Fixed a bug where
-xread JSON keys thatpdjdid not emit. - Corrected
anal.roregssettings for thex27register.
- General:
- Fixed various build issues with recent
radare2git versions.
- Fixed various build issues with recent
π§ͺ Testing & Documentation
- Test Suite:
- Updated all tests to use standard
r2commands 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.
- Updated all tests to use standard
- Documentation:
- Updated the README and improved the plugin help messages.
- Updated the project roadmap/TODO list.