rizinorg / cutter

Free and Open Source Reverse Engineering Platform powered by rizin
https://cutter.re
GNU General Public License v3.0
15.93k stars 1.15k forks source link

freezes on MacOS apple silicon #3307

Closed XFajk closed 7 months ago

XFajk commented 9 months ago

Environment information

Describe the bug the bug just freezes the app when I try to disassemble an executable it freezes at this point

Screenshot 2024-02-26 at 02 46 33

this bug wasn't happening in 2.3.2 I tried to open a simpler executable than one that opened the editor window but it also froze after that

To Reproduce

Steps to reproduce the behavior:

  1. open the app and select an executable file the file that opened the editor and froze was compiled from this C code
    
    #include <stdio.h>

int main() { int x = 1337; while(x--) { printf("ayo\n"); }

return 0;

}


2. when you choose the file select the default options for analysis aka auto and "Use virtual addressing", "import detangled symbols" (also the write mode option has no effect I tried it with it on and off)
3. Press OK and it should freeze
**Expected behavior**

I expected it to work and give me the functionality of the app like the disassembler (not much to say here)

**Additional context**

I am an absolute beginner in reverse engineering so any question to get more context that will need more knowledge about reverse engineering are impossible for me to answer 
XFajk commented 9 months ago

A new discovery tried to build it from the source(specifically from the dev branch) and this version works so this is probably a problem with the release version

ret2libc commented 9 months ago

Doesn't happen to me on Apple M1. Did you install any rizin/cutter plugin in the past?

XFajk commented 9 months ago

Doesn't happen to me on Apple M1. Did you install any rizin/cutter plugin in the past?

No, I don't think so but I don't know where to check since the editor freezes on me where can I delete them or something or maybe even better where can I delete the data about cutter so it is like I am using cutter for the first time maybe that could help

XVilka commented 9 months ago

Could you please retry with the 2.3.4 release? https://github.com/rizinorg/cutter/releases/tag/v2.3.4

XFajk commented 7 months ago

Could you please retry with the 2.3.4 release? https://github.com/rizinorg/cutter/releases/tag/v2.3.4

yeah this one works sorry for a late reply but I switched to ghidra in the mean time but now I can get on to cutter as I wanted originally