Wrong return value
- Dominant language
- C++
- Stars
- 8.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Subject: https://github.com/rfalke/decompiler-subjects/tree/master/from_holdec/dmi/cfg/ia32_elf/subject.exe
Output
```
int32_t advanced_20_jump_table_on_stack(uint32_t result) {
if (result < 6) {
// 0x8048f6c
return result;
}
// 0x8048f70
puts("is something else");
return 0;
}
```
The first return should also have a value.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the output from the linked subject.exe, focusing on advanced_20_jump_table_on_stack and its jump-table-on-stack handling; no repository file or test is named in the report. Determine the expected value for the first branch and confirm that the generated decompilation returns that value.
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
- 28/100