Skip to content

Commit 81c7628

Browse files
committed
Set a default for instruction_alignment
1 parent a0fe146 commit 81c7628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

archinfo/arch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def keystone_support(self):
685685
max_inst_bytes: int
686686
ret_instruction = b""
687687
nop_instruction = b""
688-
instruction_alignment: int
688+
instruction_alignment: Optional[int] = None
689689

690690
# register offsets
691691
ip_offset: Optional[RegisterOffset] = None

0 commit comments

Comments
 (0)