Misleading decompilation

Aperta
#8,086 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
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla

Direzione di ricerca

Start with the attached Wincrack.zip and inspect the decompilation at 0x14000812e, focusing on how PEB + 0x800 is represented. Compare the current expression with the requested warning tag or explicit pointer arithmetic; done when the output no longer presents this access misleadingly.

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

Descrizione

Version and Platform (required):

  • Binary Ninja Version: 5.2.8772
  • Edition: Non-Commercial
  • OS: Windows
  • OS Version: 11
  • CPU Architecture: x64

Bug Description:
Binary ninja decompiles peb + 0x800 as

pebbed ^= gsbase->ProcessEnvironmentBlock->WaitOnAddressHashTable[0xc + (int64_t)(i_1 + 0x80)];

which isn't wrong, but very misleading

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Go to 0x14000812e
  2. See that misleading code

Expected Behavior:
There should be an error/warning tag or/and pointer arithmetic (something like (char*)PEB + 0x800)

Binary:
Wincrack.zip

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.