avast / avast/retdec

Pointer to a string not recognised

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

Description

example code:
*(int32_t *)(v65 + 4) = (int32_t)"Hello, I'm a string";

should be:
*(int32_t *)(v65 + 4) = (int32_t *)"Hello, I'm a string";

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the decompiler output shown in the issue and trace the code that formats pointer casts and string literals. Confirm the generated assignment uses a pointer-to-string cast, then add or update coverage for this example and verify the corrected output.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.