Vector35 / Vector35/binaryninja-api

Append field does not add the new field at the end of the stucture when there are empty bytes in the structure defition

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

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

Component: UI Effort: Trivial Impact: Low UI: Types
主要言語
C++
スター
1.3k
フォーク
298
平均マージ
5日 5時間
マージ済み PR(30日)
19

説明

Repro steps:

  1. Define an empty structure, set its size to 0x10
  2. Append a field to it
  3. Observe the field is added at the start of the structure, rather than at the end of it

Screenshot 2024-09-26 at 12 50 39 PM

Note this works when all of the bytes are occupied by the structure fields. It seems like that we always append the field to the next not occupied byte. Is this intended? I think we should still add it to the end of the structure

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

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

はじめの一歩

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

調査の方向性

Start with the structure field-append entry point implicated by the reproduction steps: create an empty structure of size 0x10 and append a field. Trace how unused bytes are selected, then verify that the field is placed at the end of the structure rather than at the first unoccupied byte.

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

評価

技術スタック
cpp
領域
reverse-engineering
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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