avast / avast/retdec

Demangler: Incorrect demangling

Open
#96 5 comments 0 reactions 0 assignees View on GitHub
bug C-demangler P-output S-pending
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Originally reported by @q1o1p in https://github.com/avast-tl/demangler/issues/1.

elliptic function like `?debugf@@YAXPB_WZZ` demangling wrong.
now: `void __cdecl debugf(wchar_t const *)`
must be: `void __cdecl debugf(wchar_t const *,...)`
lose `...`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported case `?debugf@@YAXPB_WZZ` and trace the demangler entry point that produces the current signature. Compare it with the required variadic signature and add or update coverage for the missing `...` before verifying the demangled output.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
reverse-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.