avast / avast/retdec

Unsuccessful MIPS decompilation

Open
#633 7 comments 0 reactions 0 assignees View on GitHub
bug P-output T-arch-mips
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Hi, I've just discovered the tool and wanted to test it with some MIPS executable I have, but it seems decompilation being cut at some opcode (output is only ~5 lines) but the tool acts as it decompiled the whole function, without any error messages.

I've tried it within IDA and without it, but always with --select-decode-only and --select-range options. Also tried to shrink function end address gradually to see where's the problem, but I haven't had any luck.

I can send the binary file and range to any team member e-mail.

Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Obtain the MIPS executable and function range referenced in the report, then reproduce the issue with and without IDA using --select-decode-only and --select-range. Compare the truncated output with the selected function and determine whether the tool should report an error or decompile the full range.

Written by the indexing model from the issue text.

Assessment

Domain
reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.