Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
plafosse committed Oct 11, 2017
1 parent 5f395e0 commit 51718f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ def patch_opaque_inner(bv, status):
continue
# Get the possible_values of the condition result
condition_value = i.condition.possible_values
if i.address == 0x40051e:
log_info("Address: %x %s" % (i.address, str(condition_value)))
# If the condition never changes then its safe to patch the branch
if condition_value.type == RegisterValueType.ConstantValue:
if condition_value.value == 0 and bv.is_never_branch_patch_available(i.address):
Expand Down

0 comments on commit 51718f1

Please sign in to comment.