You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
00400000 b loc_40000800400004nop00400008 loc_400008:00400008 beq$v0,$v0, loc_4000100040000C nop00400010 loc_400010:00400010nop00400014 b loc_40001000400018nop
Which is ok - there are all 3 branches. They are moved to the next instruction, because that is the way RetDec is currently dealing with MIPS delay slots - which in itself may not be ok, I think there is a ticket somewhere that shows that this might cause us problems, but that is not the point of this issue.
Unfortunately we are not currently able to test LLVM IR right after decoding, there is no mechanism for it. So I added a test of the LLVM IR after the bin2llvmir tool is finished (avast/retdec-regression-tests@6449f6a). It is not ideal, only two branches survive the optimization, but better than nothing.
Short example:
Commands to reproduce:
bin2llvmir output:
The text was updated successfully, but these errors were encountered: