Stack view does not determines usages of structure elements correctly

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞

調査の方向性

No source file, test, or entry point is named. Start by reproducing the reported structure usage in the Stack view and comparing it with the HLIL view, focusing on dwFlags, hStdInput, hStdError, hStdOutput, and wShowWindow. Done means every structure element used in HLIL is recognized by Stack view rather than shown as unused.

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

説明

Component: UI Effort: Medium Impact: High UI: Stack

Binary Ninja Version: 3.4.4090-dev Personal
Platform: Windows 11 Version 22H2

Stack view:
stack_view

HLIL:
hlil

As you can see from screenshots, even if dwFlags, hStdInput, hStdError, hStdOutput, wShowWindow did used in the HLIL, stack view does not detect them (so they are grayed out and says "Not used in current IL" on hover).

I guess it only detect the first used element in the structure. Because in other examples I can see that it only detects first used element and then left the others undetected. Probably it assumes first element of the structure is equal to structure itself in regards of referencing.

主要言語
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 を短くまとめたダイジェスト。