worawit / blutter

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

Error extracting R1, R2, R3 at line 1881 #73

Open euzada opened 3 weeks ago

euzada commented 3 weeks ago

Dart version: 3.4.1, Snapshot: d20a1be77c3d3c41b2a5accaee1ce549, Target: android arm64 flags: product no-code_comments no-dwarf_stack_traces_mode no-lazy_dispatchers dedup_instructions no-tsan no-asserts arm64 android compressed-pointers null-safety -- Configuring done (0.1s) -- Generating done (0.0s) -- Build files have been written to: /data/data/com.termux/files/home/blutter-termux/build/blutter_dartvm3.4.1_android_arm64 [2/2] Linking CXX executable blutter_dartvm3.4.1_android_arm64 -- Install configuration: "Release" -- Installing: /data/data/com.termux/files/home/blutter-termux/blutter/../bin/blutter_dartvm3.4.1_android_arm64 libapp is loaded at 0x72485fa000 Dart heap at 0x7100000000 Analyzing the application Analysis error at line 1881 auto FunctionAnalyzer::processPrologueParametersInstr(AsmIterator &, uint64_t)::(anonymous class)::operator()(A64::Register) const: srcReg == A64::Register::R1 || srcReg == A64::Register::R2 || srcReg == A64::Register::R3 0x7040f8: sub x15, x15, #0x20 0x7040fc: stur x22, [x29, #-8] 0x704100: stur x1, [x29, #-0x10] 0x704104: stur d0, [x29, #-0x20]

AbhiTheModder commented 3 weeks ago

@euzada Kindly share your binary you're working on

Edit 1: found it.

Edit 2: I don't get any errors at all Screenshot_2024-06-08-09-36-53-287_com.termux.png

euzada commented 3 weeks ago

It's more than 18mb. I can send it by telegram if you want. Or you can share yours and I can test it

AbhiTheModder commented 3 weeks ago

arm64-v8a.zip

@euzada if yours is different than this then let me know, if not then it just works fine for me

euzada commented 3 weeks ago

blutter.txt

arm64-v8a.zip

@euzada if yours is different than this then let me know, if not then it just works fine for me

I get the same issue. I will do a clean clone and check again

Same issue after fresh clone too using the Lib you sent.

The problem persist.

worawit commented 1 week ago

should be fixed in latest commit

euzada commented 1 week ago

Will test it and share my feedback. Thank you.