Pseudo-C rendering misses the structure name if there is an access to offset 0x0 and there is no structure member there
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- reverse-engineering
Research direction
Start with the attached executable and the reproduction steps at address 140002ed9, then inspect the pseudo-C rendering after creating the structure. Confirm that the first variable disappears when offset 0x0 has no structure member; done means the structure name and variable are both shown.
Written by the indexing model from the issue text.
Description
Version and Platform (required):
- Binary Ninja Version: 4.2.6455 (02c8da1e)
- OS: Windows 10
- OS Version: 22H2 OS build 19045.5371
- CPU Architecture: x64
Bug Description:
When creating a structure, the variable is now "not showing in the UI" (see the image)
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:
- I have a small video clip showing how to reproduce the bug here: https://mega.nz/file/h7QSlYZC#cVSzuCzussiO6dZxW-27f7q5GidEVXniy_hr-ElIZO0
- Open the .EXE have attached
- Goto address 140002ed9
- Right click and pick "Create Structure"
- Click "Create"
- See that the first variable is gone.
Expected Behavior:
The variable to be shown
Screenshots/Video Recording:
Binary:
Binary can be found here: https://mega.nz/file/ZzI2XDwT#r1C7MJIufDZoyAd-ePJbjaSIsiMLf5_zvIsDfYRT-a0
Password: malware
(I could not use your upload portal, it just say "unauthorized" when I tried to upload the file)
Additional Information:
Nothing I can think of right now
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Vector35/binaryninja-api
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Vector35/binaryninja-api#8540 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Vector35/binaryninja-api#8516 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Vector35/binaryninja-api#8503 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Vector35/binaryninja-api#8446 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Vector35/binaryninja-api#8444 ·
All issues in Vector35/binaryninja-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·