Skip to content

Commit

Permalink
VEXIRSBConveter: Fix two places where regs do not have tags. (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
ltfish authored Oct 29, 2024
1 parent a888ad8 commit c6c4aa1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ailment/converter_vex.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,9 @@ def convert(irsb, manager): # pylint:disable=arguments-differ
ret_reg_offset,
manager.arch.bits,
reg_name=manager.arch.translate_register_name(ret_reg_offset, size=manager.arch.bits),
ins_addr=manager.ins_addr,
vex_block_addr=manager.block_addr,
vex_stmt_idx=DEFAULT_STATEMENT,
)
fp_ret_reg_offset = manager.arch.fp_ret_offset
if fp_ret_reg_offset is not None and fp_ret_reg_offset != ret_expr:
Expand All @@ -771,6 +774,9 @@ def convert(irsb, manager): # pylint:disable=arguments-differ
fp_ret_reg_offset,
manager.arch.bits,
reg_name=manager.arch.translate_register_name(fp_ret_reg_offset, size=manager.arch.bits),
ins_addr=manager.ins_addr,
vex_block_addr=manager.block_addr,
vex_stmt_idx=DEFAULT_STATEMENT,
)
else:
fp_ret_expr = None
Expand Down

0 comments on commit c6c4aa1

Please sign in to comment.