Pointer sweep can remove existing data variables when defining string variables

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

@bdash がすでに取り組んでいます。

2026年7月21日 から。

評価

この issue はまだ評価されていません。

説明

Component: Core Effort: Trivial

Version and Platform (required):

  • Binary Ninja Version: 5.4.10147-dev Ultimate, 9c231a95
  • OS: macos
  • OS Version: 26.5.2
  • CPU Architecture: arm64

Bug Description:
When pointer sweep finds a data word whose value points at a recognized string, it defines a string data variable at the target without checking whether a data variable already exists there. Since Analysis::DefineDataVariable erases overlapping auto data variables, this can result in a typed data variable created earlier (e.g. a header struct defined by a binary view during init) being silently removed.

Reported by a user on Slack.

The reproduction steps provided require a custom binary view plug-in.

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