avast / avast/retdec

Unhandled type conversion introduced by new demangler

Open
#605 3 comments 0 reactions 0 assignees View on GitHub
C-demangler P-run
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Attempting to decompile the demo at https://www.gamepressure.com/download.asp?ID=7338 results in the following error:

convertValueToType(): unhandled type conversion
call void @_free(i32* @317)
i32

After bisecting, ed685a6fde4a4ca096a3ef02c32edd9d432b4503 is indicated as the culprit commit.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the decompilation failure with the linked demo and inspect convertValueToType(), focusing on the behavior introduced by commit ed685a6fde4a4ca096a3ef02c32edd9d432b4503. Done means the demo decompiles without the unhandled type conversion error.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.