Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't error out if disassembling previous instructions fails #931

Merged
merged 3 commits into from Mar 13, 2023

Conversation

hugsy
Copy link
Owner

@hugsy hugsy commented Mar 5, 2023

Description/Motivation/Screenshots

This fixes #922 by safely failing when gef fails to disassemble previous instructions due to memory boundary.

Against which architecture was this tested ?

"Tested" indicates that the PR works and the unit test (see docs/testing.md) run passes without issue.

  • x86-32
  • x86-64
  • ARM
  • AARCH64
  • MIPS
  • POWERPC
  • SPARC
  • RISC-V

Checklist

  • My PR was done against the dev branch, not main.
  • My code follows the code style of this project.
  • If my change adds new code, adequate tests have been added.

@hugsy hugsy added the bug label Mar 5, 2023
@hugsy hugsy merged commit 9590305 into dev Mar 13, 2023
@hugsy hugsy deleted the fix_issue_922 branch March 13, 2023 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Don't error out if disassembling previous instructions fails
1 participant