Skip to content

Commit

Permalink
Fix unsupported instruction for some bics variant
Browse files Browse the repository at this point in the history
  • Loading branch information
llaubin authored and cnheitman committed Oct 17, 2024
1 parent 0648bb9 commit 6fc90db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/libtriton/arch/arm/aarch64/aarch64Specifications.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ namespace triton {
break;

case triton::extlibs::capstone::ARM64_INS_BIC:
case triton::extlibs::capstone::ARM64_INS_BICS:
tritonId = triton::arch::arm::aarch64::ID_INS_BIC;
break;

Expand Down
3 changes: 3 additions & 0 deletions src/testers/aarch64/unicorn_test_aarch64.py
Original file line number Diff line number Diff line change
Expand Up @@ -2071,6 +2071,9 @@
(b"\x22\x70\x1d\x72", "bics w2, w1, #7"),
(b"\x22\x78\x1c\x72", "bics w2, w1, #8"),

(b"\x02\x00\x21\x6a", "bics w2, w0, w1"),
(b"\x1f\x00\x21\x6a", "bics wzr, w0, w1"),

(b"\x28\x00\x00\x37", "tbnz w8, #0, #4"),
(b"\x48\x00\x00\x36", "tbz w8, #0, #0"),

Expand Down

0 comments on commit 6fc90db

Please sign in to comment.