Vector35 / Vector35/binaryninja-api

"Override Call Type" does not respect custom calling conventions

Aperta
#4,407 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Component: UI Effort: Trivial Impact: Medium
Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

Descrizione

When using "Override Call Type" on a function which has a custom calling convention set, the calling convention is not retained/applied.

For example, upon clicking "Override Call Type", the following type string is produced in the dialog box:

image

Then, I added a third argument:

image

After accepting, the analysis is visibly wrong in the IL (not pictured, but take my word that it's not using the correct calling convention), and upon opening the dialog again, the custom calling convention is gone:

image

Observed on Binary Ninja 3.5.4322-dev.

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.

Direzione di ricerca

Start by reproducing the issue through the Override Call Type dialog with a function using a custom calling convention. Compare the generated type string, the analyzed IL, and the reopened dialog before and after adding an argument. Done means the custom calling convention remains applied and the IL reflects it correctly.

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

Valutazione

Stack tecnologico
cpp
Ambito
compilers, reverse-engineering
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.