cutter icon indicating copy to clipboard operation
cutter copied to clipboard

Can't see disassembly for Xtensa LX6 object files (.o)

Open jeandudey opened this issue 5 years ago • 1 comments

Environment information

  • Operating System: Ubuntu 18.04
  • Cutter version:
Version 1.10.3
Using r2-4.4.0
Based on Qt 5.14.2 (GCC 5.4.0 20160609, 64 bit)
Optional Features:
Python: ON
Python Bindings: ON
  • Obtained from:
    • [ ] Built from source
    • [x] Downloaded from release
    • [ ] Distribution repository
  • File format:

Describe the bug

Object files can be opened very well, however, the Disassembly section doesn't show anything when a function is clicked.

To Reproduce

Steps to reproduce the behavior:

  1. Download some code to reverse:
git clone https://github.com/espressif/esp32-wifi-lib
cd esp32-wifi-lib/esp32/ && make objs && cd objs
xtensa-esp32-elf-ar x ../libphy.a
  1. Open phy.o for example
  2. Tap on any function
  3. Go to Disassembly view, should show nothing.

Expected behavior

Show disassembly of Xtensa code.

Screenshots

Screenshot from 2020-07-05 11-27-27

Additional context

#676 , happens on Linux too, crashes, and a new window is opened.

jeandudey avatar Jul 05 '20 16:07 jeandudey

@jeandudey please attach the binary file directly for easier debugging.

XVilka avatar Aug 03 '23 03:08 XVilka