iGio90/Dwarf

the decompiler output is wrong

jambooid opened this issue · 8 comments

Describe the bug
the decompiler output is different with ida

To Reproduce
Steps to reproduce the behavior:

  1. open an app with dwarf

Expected behavior
the decompiler should output the correct asm code
Screenshots
the wrong output
image
the correct output
image

Desktop (please complete the following information):

  • OS: win10

Smartphone (please complete the following information):

  • Device: mi6x
  • OS:android 6.0

Switch to arm thumb

how to do that?

If I'm not wrong @PinkiePieStyle added it to ctrl+t? I added it in the right click menu if I'm not wrong. Long time I don't meet arm32 binaries

ctrl+ t is no availble.
no right menu is for switching to thumb.
image

def add_default_actions():

Don't click on an asm line. Outside. In the panel

still don't find...
the dwarf version:
image
right click:
image
right click on the panel:
image

Problem is in

its doing only if nothing is in disasm

pretty sure its from old code

move the add_default_actions() there to line 697 with same indent from line below (698)