Vector35 / Vector35/binaryninja-api

[x86] [sysv] returned structures more than register width should be passed in rdi

Aperta
#8,426 13 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

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

Descrizione

Struct `Class::method`(class Class* `this`)

where sizeof(Struct) > REG_SIZE must be handled as

void `Class::method`(Struct& ret, class Class* `this`)

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 locating the x86 SysV ABI handling for returned structures and trace how the method signature is represented. Compare the behavior for structures at and above register width, then verify that oversized returns are represented with the return reference in rdi before this; done means the displayed signature matches the requested form.

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
50/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.