worawit / blutter

Flutter Mobile Application Reverse Engineering Tool
MIT License
752 stars 128 forks source link

exception: Cannot find null-safety text [Dart : 3.5.0-109.0.dev] #78

Closed IndAlok closed 1 week ago

IndAlok commented 2 weeks ago
Dart version: 3.5.0-109.0.dev, Snapshot: 8787c610dd232d2d3efae139c322b964, Target: android arm64
flags: product no-code_comments no-dwarf_stack_traces_mode no-lazy_dispatchers dedup_instructions no-tsan arm64 android compressed-pointers
exception: Cannot find null-safety text

https://www.mediafire.com/file/ugnwa4yf9nx9maa/arm64-Snapshot-8787c610dd232d2d3efae139c322b964.7z/file

AbhiTheModder commented 2 weeks ago

Most likely due to dev version, Dart devs implemented something new again... a possible temporary fix

Modify the DartLoader.cpp like this: #50 image

or you can even comment out whole condition for pos NULL check and force true flags.null_safety = true;

well even if you make it false, it'll work but considering since Dart 3 it's default, as such I've set it to true.

because there's no guarantee if dart devs will implement this onwards or will just use for some versions like #64

yzctzl commented 2 weeks ago

link to commit: https://github.com/dart-lang/sdk/commit/8e2acda7d68702d43eefae0c7b17d314d5c93b00#diff-0c27ee5540bcadf9531563ffd7dc5266b1475db16c6d75b73949611551452348