Skip to content

Commit

Permalink
Fix one case where Const is created without tags. (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
ltfish authored Oct 20, 2023
1 parent 1b66ef3 commit be8a069
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion ailment/converter_vex.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,18 @@ def Unop(expr, manager):
shifted = BinaryOp(
manager.next_atom(),
"Shr",
[inner, Const(manager.next_atom(), None, simop._to_size, 8)],
[
inner,
Const(
manager.next_atom(),
None,
simop._to_size,
8,
ins_addr=manager.ins_addr,
vex_block_addr=manager.block_addr,
vex_stmt_idx=manager.vex_stmt_idx,
),
],
False,
ins_addr=manager.ins_addr,
vex_block_addr=manager.block_addr,
Expand Down

0 comments on commit be8a069

Please sign in to comment.