More accurate x86 flag writes tracking now that we have the parity flag

Aperta
#8,340 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
cpp

Direzione di ricerca

Start in arch/x86/il.cpp around the XOR handling at line 4560, then read the linked pull-request review for the parity-flag context. Scan the x86 lifting code for other broad flag-write markers that can be narrowed. Done means affected instructions track only the flags they actually write, including parity where applicable.

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

Descrizione

Now that we have proper handling of the parity flag, we should scan the x86 lifting and find those instructions whose flag writes can be made more precise. For example, for XOR, https://github.com/Vector35/binaryninja-api/blob/a09ee8d47d6bb923a8ad6eccea9980dcf8bc35fe/arch/x86/il.cpp#L4560, we use IL_FLAGWRITE_ALL which is too broad.

More details: https://github.com/Vector35/binaryninja/pull/1680#pullrequestreview-4745933861

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.