angr / angr/pypcode

Align with pyvex on `max_instructions` behavior

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
214
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.