cutter icon indicating copy to clipboard operation
cutter copied to clipboard

Cutter freeze on plugin execution

Open devl00p opened this issue 2 years ago • 1 comments

Environment information

  • Operating System: Linux 64bits
  • Cutter version: 2.3.2
  • Obtained from:
    • [ ] Built from source
    • [x] Downloaded release from Cutter website or GitHub
    • [ ] Distribution repository
  • File format: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows, 13 section

Cuter freeze on plugin execution

I recently participated to the Huntress CTF and one of the files to analyze was a Windows binary made using Golang.

Golang symbols didn't appear in Cutter so I used GoReSym to figure out some important functions names and renamed them manually.

Later I started to write a plugin for Cutter to automate the naming of functions but Cutter stop after having renamed ~ 45 functions (while there is a lot more) and the GUI is freezed.

I made my plugin write the function names to a txt fileto figure out the progress and indeed there is no more activity from Cutter so I have to kill the process.

To Reproduce

Steps to reproduce the behavior:

  1. Get the GoReSym binary

  2. Get the exe file from the attached DecryptMyFiles.zip file

  3. Get the python plugin file from the attached myplugin.zip file

  4. Move it to .local/share/rizin/cutter/plugins/python

  5. Load the exe file with Cutter and call the plugin from Windows > Plugin > Import Golang Symbols

Expected behavior

All function names found by GoReSym should appear in the function list on the left side of Cutter.

Cutter GUI should not freeze.

I hope it helps, I love the tool and I have been using it for several years :) Great job

devl00p avatar Nov 05 '23 15:11 devl00p

In part this should be solved by updating the Rizin submodule to the latest commit from dev, to include this commit: https://github.com/rizinorg/rizin/pull/3947

XVilka avatar Nov 05 '23 22:11 XVilka