Missing COFF relocation

Aperta
#7,982 0 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
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Start in arch/x86/arch_x86.cpp around lines 4600-4777 and reproduce the issue by opening thunder rush points valuably, inspecting 0x4f062d, and querying bv.relocations_at(0x4f062d + 1)[0]. Trace how the COFF relocation for _invalid_parameter_noinfo_noreturn is handled; done means the relocation is filled in rather than leaving the call zeroed out.

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

Descrizione

Effort: Low Impact: Medium
  1. Open thunder rush points valuably
  2. Go to 0x4f062d
  3. Observe zeroed out call to _invalid_parameter_noinfo_noreturn
  4. Relocation information:
>>> bv.relocations_at(0x4f062d + 1)[0]
<Relocation: "_invalid_parameter_noinfo_noreturn" @ 0x60fd00>

Putting this as a bug because IIRC the relocations should be filled in for COFF.

https://github.com/Vector35/binaryninja-api/blob/3eda43f185a0411538745a99e251122e6a9192e0/arch/x86/arch_x86.cpp#L4600-L4777

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.