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

Aperta
#4,833 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Vector35/binaryninja-api

Tutte le issue di Vector35/binaryninja-api

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.