MediumLevelILInstruction.get_reg_value appears broken

Aperta
#1,415 3 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
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Reproduce the two calls shown for current_mlil[9] and current_function at address 0x984, then trace how each computes the stack-frame offset for the 'sp' register. Compare the results and add a focused regression check once the expected behavior is confirmed; done means both APIs return consistent values for this instruction.

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

Descrizione

Component: Core Impact: Low
>>> current_mlil[9].get_reg_value('sp')
<stack frame offset 0x0>
>>> current_function.get_reg_value_at(here, 'sp')
<stack frame offset -0xd0>
>>> hex(here)
'0x984'
>>> hex(current_mlil[9].address)
'0x984'
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.