Vector35 / Vector35/binaryninja-api

Disassembly of instruction stops at section boundary

Aperta
#3,435 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Component: Core Effort: Low Impact: Low
Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

Descrizione

Here is an issue that I ran into when I deal with the crackme at https://github.com/antire-book/dont_panic. After some processing, I get the following code:

Screen Shot 2022-08-26 at 9 10 11 PM

The code at 0x40017a fails to disassemble. However, if we look at the bytes(48 31 ed ...), it is definitely a valid instruction:

Screen Shot 2022-08-26 at 9 10 37 PM

And the reason that we stop disassembling even if the bytes are valid is because we are hititng a section boundary:

Screen Shot 2022-08-26 at 9 11 06 PM

The related database: trouble.bndb.zip

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 with the supplied trouble.bndb.zip database and reproduce disassembly at 0x40017a in the crackme from the issue. Trace the section-boundary handling that stops after the preceding bytes; done means the valid instruction beginning with 48 31 ed is disassembled instead of terminating at the boundary.

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

Valutazione

Stack tecnologico
cpp
Ambito
reverse-engineering
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.