avast / avast/retdec

Error: An error occurred in the decompilation result

Open
#861 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Hello, when I decompile a small program, there is an error in the run function. The strcpy and gets functions are not recognized.
[pro.zip](https://github.com/avast/retdec/files/5288278/pro.zip)
'main.c' is the source code
'out' is the compiled binary file

Contributor guide

No contributing guide indexed for this repository

Research direction

Extract pro.zip and compare main.c with the compiled out binary. Run RetDec on out and inspect the generated run function, focusing on how strcpy and gets are represented. Done means the decompilation recognizes both functions without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
compilers, reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.