Override call type dialog should show current call type at first time open

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

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

評価

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

調査の方向性

Reproduce the issue by opening the call-type override dialog for a call whose inferred signature is visible in linear view. Trace the dialog's initial value and compare it with the call type Binary Ninja has already detected. Done means the first-open value reflects the detected signature instead of the generic void calltarget() placeholder.

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

説明

Component: Core Effort: Low Impact: Low UI: Dialogs

Version and Platform (required):

  • Binary Ninja Version: 3.6.4719-dev, dec72a07
  • OS: macos
  • OS Version: 14.2
  • CPU Architecture: arm64

Bug Description:

Let's say there is a function call in linear view like this:

job->callback(job, config, job->field_10)

When I try to override call type for this call, dialog show me this as default call type: void calltarget(). But obviously there is different call type detected by BN. Instead of void calltarget(), BN should show me current call type which is something like this: void (* callback)(struct my_job*, struct config*, int64_t).

If BN do so and it predicts it correctly, I can easily copy that and set structure member type to that.

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