Skip to content

Commit

Permalink
Fix #872 and #1135: Fix missing unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanSalwan committed Jun 4, 2022
1 parent ec72d86 commit cb0038f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def emulate(ctx, handler):
instruction = Instruction(pc, opcode)

# Process
ctx.processing(instruction)
if ctx.processing(instruction) != EXCEPTION.NO_FAULT:
return

# Next
pc = ctx.getConcreteRegisterValue(ctx.registers.rip)
Expand Down

0 comments on commit cb0038f

Please sign in to comment.