forked from pwndbg/pwndbg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small fixes for RISC-V (pwndbg#2172)
* Fix i386-32 syscall name printing pwndbg-git from AUR shows hexadecimal constants in masm syntax (e.g. 80h) for some reason (as if the option CS_OPT_SYNTAX_MASM was set). This commit makes syscall name printing work regardless of hex syntax. * riscv: Fix AssertionError on "jalr ra, ra, 0x252" When the PC was on this instruction, the pwndbg context would not be printed due to this AssertionError. * riscv: Fix AssertionError on "c.jalr a5" According to the specification, "C.JALR expands to jalr x1, 0(rs1)".
- Loading branch information
Showing
3 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters