-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add access support for RISC-V (#2393)
* resolve conflict for loongarch and RISCV in Mapping.c and Mapping.h * Use RISCV_get_detail for simplicity Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com> * Use detail_is_set for simplicity Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com> * Change comment style Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com> * remove redundant add_str * fix bug for RISCV_add_detail * fix operands for csr instructions * add python binding and tester for RISC-V * add more test cases for RISC-V (M,A,F,D,C instructions) * fix incorrect operand and access for sc.w and sc.d * fix incorrect operand for fence and sfence.vma * assert -> CS_ASSERT * some instructions in test_riscv.c should be RISCV64 * add cs details test * update python testers --------- Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
- Loading branch information
Showing
16 changed files
with
3,159 additions
and
36 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
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
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
Oops, something went wrong.