PowerPC mulhdu lifting incorrect due to core analysis bug

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

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

The issue identifies incorrect core analysis folding for PowerPC mulhdu with both operands set to 1 << 32, where the high half should be 1 but HLIL shows 0. Start by reproducing that case and tracing the core analysis path that folds the 128-bit product; the payload names no source files or tests. Done when the analysis preserves the expected high half and the resulting HLIL is correct.

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

Descrizione

Originally posted by @zznop in https://github.com/Vector35/binaryninja-api/pull/8665#discussion_r4329638809

Not advocating that you should fix this as it's not your issue, but this code does expose it: for mulhdu with both operands equal to 1 << 32 the expected high half is 1. But instead our core analysis folds the 128-bit product to 0 leaving seemingly incorrect HLIL.

Image
Lingua principale
C++
Stelle
1.3k
Fork
304
Merge medio
2g 20h
PR unite (30g)
10

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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.