Pseudo-C rendering misses the structure name if there is an access to offset 0x0 and there is no structure member there

オープン
#6,495 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

Effort: Low Impact: Low LanguageRep: Pseudo-C

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:

  1. I have a small video clip showing how to reproduce the bug here: https://mega.nz/file/h7QSlYZC#cVSzuCzussiO6dZxW-27f7q5GidEVXniy_hr-ElIZO0
  2. Open the .EXE have attached
  3. Goto address 140002ed9
  4. Right click and pick "Create Structure"
  5. Click "Create"
  6. See that the first variable is gone.

Expected Behavior:
The variable to be shown

Screenshots/Video Recording:

Image

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

主要言語
C++
スター
1.3k
フォーク
298
平均マージ
5日 5時間
マージ済み PR(30日)
19

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Vector35/binaryninja-api のほかの issue

Vector35/binaryninja-api の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。