Skip to content

Commit

Permalink
Fix naming in Python sample_x86.py (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
disconnect3d authored and aquynh committed May 7, 2018
1 parent 2edb4b5 commit 19ffa83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/python/sample_x86.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def hook_block(uc, address, size, user_data):
# callback for tracing instructions
def hook_code(uc, address, size, user_data):
print(">>> Tracing instruction at 0x%x, instruction size = 0x%x" %(address, size))
eip = uc.reg_read(UC_X86_REG_EFLAGS)
print(">>> --- EFLAGS is 0x%x" %(eip))
eflags = uc.reg_read(UC_X86_REG_EFLAGS)
print(">>> --- EFLAGS is 0x%x" %eflags)

def hook_code64(uc, address, size, user_data):
print(">>> Tracing instruction at 0x%x, instruction size = 0x%x" %(address, size))
Expand Down

0 comments on commit 19ffa83

Please # to comment.