avast / avast/retdec

retdec fails to identify calling conventions on 32-bit x86

Open
#1,096 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

It causes incorrect results, easily visible (for example fastcall funcs access uninitialized variables residing in registers before populating them from memory).

Contributor guide

No contributing guide indexed for this repository

Research direction

Investigate RetDec's 32-bit x86 calling-convention identification, using the reported fastcall example as the starting reproduction. Trace how register-based arguments are classified and confirm the fix by ensuring fastcall functions do not access uninitialized argument registers before loading values from memory.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.