avast / avast/retdec

Suggestion from web: local array reconstruction in x86/PE/MSVC

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
enhancement P-output T-comp-msvc
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

[Binary](https://github.com/avast-tl/retdec/files/1703123/bin.zip) sent to us by user through https://retdec.com/.

Reported problems:
- Missing local array in `init_rand_buffer()` function (i.e. `function_4013d0()`).

However, this might be a good case for overall MSVC quality testing and improvement.

Contributor guide

No contributing guide indexed for this repository

Research direction

Obtain the attached bin.zip and reproduce RetDec's x86/PE/MSVC decompilation, then inspect init_rand_buffer() (function_4013d0()). Compare the output around the missing local array and use this case to verify that the array is reconstructed in the decompiled result.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.