Changing a name shouldn't cause a whole function re-analysis

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

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

評価

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

調査の方向性

Start by tracing how variable and struct-field renames from the HLIL view trigger function analysis and how the updated decompilation output is produced. Compare the current full-function reanalysis path with a name-only substitution approach; done means renaming a name updates the displayed output without reanalyzing the entire function, including for large functions.

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

説明

Component: Core Effort: Medium Impact: Medium

Is your feature request related to a problem?
In Binary Ninja 2.5.3127-dev, If I rename a variable or struct field from within the HLIL view, it reanalyzes the entire function I'm looking at in order to display the new name. For large functions this can be rather slow.
What is the feature you'd like to have?
Since a name change is guaranteed to have a shallow effect on the decompilation output, Binary Ninja should just substitute the name in the output rather than redoing everything.
Are any alternative solutions acceptable?
Hypothetically, it would be even better to have a full-fledged incremental decompilation feature that can account for type changes and other semantic changes without reanalyzing the whole function. But that would probably be orders of magnitude harder to implement.

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