Bitfield resolution in MLIL/HLIL

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp

調査の方向性

Start by reading the MLIL/HLIL bitfield examples in the issue and the referenced binary, then review issue 694's discussion of bitfields in the type system. Determine how resolved bitfield accesses should appear in HLIL and whether the first accessed member should be hidden or represented anonymously. Done means the examples show the actual bitfield accesses without requiring manual arithmetic.

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

説明

Core: HLIL Core: MLIL Effort: High Impact: Medium UI: Linear

What is the feature you'd like to have?
I would like to see resolved accesses to bitfields in HLIL, since we now can express them (bitfields) in our type system.

Is your feature request related to a problem?
Currently you must do math in your head to determine the accessed bitfield, for example:

Image

The above is setting the first member a to 1 and 4 respectively for each structure.

Another, more annotated example:

MLIL listing:
Image

Types:
Image

Additional Information:
We also likely want to stop showing the first member being accessed, e.g. a in the examples above, and show either no access (the structure itself is loaded into the register) or some anonymous access, so that users do not get confused as to what is really getting accessed.

The above binary is available with: echo nebula rises persistently

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