Skip to content

Commit

Permalink
Fix scale tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Sep 10, 2024
1 parent ce9f3a0 commit c9d231c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bindings/python/capstone/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# define the API
class ArmOpMem(ctypes.Structure):
_fields_ = (
('base', ctypes.c_uint),
('index', ctypes.c_uint),
('base', ctypes.c_int),
('index', ctypes.c_int),
('scale', ctypes.c_int),
('disp', ctypes.c_int),
('align', ctypes.c_uint),
Expand Down
4 changes: 2 additions & 2 deletions tests/issues/issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3651,7 +3651,7 @@ test_cases:
type: ARM_OP_MEM
mem_base: r1
mem_index: r3
mem_scale: 0
mem_scale: -1
access: CS_AC_READ
subtracted: 1
regs_read: [ r1, r3 ]
Expand Down Expand Up @@ -4090,7 +4090,7 @@ test_cases:
type: ARM_OP_MEM
mem_base: r2
mem_index: r3
mem_scale: 0
mem_scale: 1
shift_type: ARM_SFT_LSL
shift_value: 2
regs_read: [ r2, r3 ]
Expand Down

0 comments on commit c9d231c

Please sign in to comment.