radareorg/iaito

Decompiler not working

anthraxx opened this issue ยท 8 comments

Environment Details

iaito 5.5.0 24a2eba21c43f42aa4535278be20ff7e957c884d
radare2 5.6.6
r2ghidra a4ba1ddc85c84a98df1d39fe6c611894daa97474
ghidra-native e45b661d59978b371e30a5540064a31e6ea647f0

Description

Decompiler view loads forever and remains empty. pdg command works flawlessly in native r2.

Iaito uses pdgj, which prints the decompilation in json format. Can you try this? Qt/c++ is ultra slow to load this json, as from my checks this was 80% of the time spent in rendering the output of pdg in iaito.

but now that r2 and r2g are out i'll check this out during the weekend. It shouldnt be hard to fix. Thanks for reporting

pdgj also works and returns basically instantly. In Iaito it doesn't matter how long I wait, i grabbed a coffee and a tiny test method still didn't show any results in Iaito (cpu usage 0%).

that sounds like a deadlock to me ๐Ÿ’€๐Ÿ”’

yechs commented

I've encountered the same problem also on iaito 5.5.0 24a2eba

Both pdg and pdgj works within r2 commandline but not in iaito

Same issue here, latest builds and no iaito decompiler output.

There hasnt been any commits in iaito so its totally expected that the bug wasnt fixed.

I don't plan to spend time in iaito until r2-5.7 is out because im working on important api/abi break changes that are needed to make iaito work properly with thread-safe behaviours.

Contributions and patches are always welcome, but my iaito is far from my main priority. I can guide you if you want to help on that.

I have local fixes for this. Will push soon

Should be fixed now