angr / angr/pypcode

Align with pyvex on `max_instructions` behavior

Offen
#85 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
C++
Sterne
214
Forks
30
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.