Align with pyvex on `max_instructions` behavior
Aperta
bug
- Lingua principale
- C++
- Stelle
- 214
- Fork
- 30
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Description
If `max_instructions=1` when pyvex lifts an instruction that will cause delay slot execution, it will return `NoDecode`. pypcode will actually return 2 instructions. Probably best to be consistent with pyvex here and always decode at most `max_instructions`, including delay slot execution.
### Steps to reproduce the bug
_No response_
### Environment
_No response_
### Additional context
_No response_
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.