cutter icon indicating copy to clipboard operation
cutter copied to clipboard

Hexagon: Packet prefix not shown

Open Rot127 opened this issue 3 years ago • 0 comments

Environment information

  • Operating System: Ubuntu 20.04
  • Cutter version: 2.0.5
  • Obtained from:
    • [ ] Built from source
    • [x] Downloaded release from Cutter website or GitHub
    • [ ] Distribution repository
  • File format: ELF

Describe the bug

To Reproduce

  • Open an ELF binary for the Hexagon architecture.
  • Select disassembly.

No packet prefix information is shown.

Expected behavior

Packet prefixes is shown.

Screenshots

Cutter no packet prefix:

cutter-b0

Packet prefixes in Rizin:

0x0004c9dc   fcn.0004c9dc:
0x0004c9dc ?   P0 = cmp.eq(R0,#0x0); if (!P0.new) jump:t 0x4c9e4
0x0004c9e0 [   jumpr LR
0x0004c9e4 [   jump 0x25b60
0x0004c9e8   fcn.0004c9e8:
0x0004c9e8 [   P0 = cmp.eq(R0,#0x0); if (!P0.new) jump:t 0x4c9f0
0x0004c9ec [   jumpr LR
0x0004c9f0 [   jump 0x25ca0
0x0004c9f4   fcn.0004c9f4:
0x0004c9f4 ┌   P0 = cmp.eq(R0,##0x0)
0x0004c9f8 │   R0 = ##0x2
0x0004c9fc └   R3 = R0 ; allocframe(#0x8)
0x0004ca00 ┌   if (P0) jump:nt 0x4ca14
0x0004ca04 └   memd(SP+##0x0) = R17:16
0x0004ca08 ┌   R16 = R2
0x0004ca0c │   if (!P0.new) R0 = add(R3,##0x8)
0x0004ca10 └   P0 = cmp.eq(R2,#0x0); if (!P0.new) jump:nt 0x4ca18
0x0004ca14 [   R17:16 = memd(R29+#0x0) ; dealloc_return
0x0004ca18 [   call 0x25348
0x0004ca1c ┌   R0 = ##0x0
0x0004ca20 └   R17:16 = memd(R29+#0x0) ; memw(R16+#0x0) = R0
0x0004ca24 [   LR:FP = dealloc_return(FP):raw

Additional context

Tinkered with pretty much all disassembly settings I could find under Edit->Preferences but nothing changed.

Rot127 avatar May 18 '22 11:05 Rot127