xdis's "exception match" is now "exception-match"

This commit is contained in:
rocky
2017-07-17 22:42:57 -04:00
parent 9e8e4f54c7
commit d138a01bf1
4 changed files with 4 additions and 5 deletions

View File

@@ -452,7 +452,7 @@ class Scanner2(Scanner):
self.not_continue.add(jmp)
jmp = self.get_target(jmp)
prev_offset = self.prev[except_match]
# COMPARE_OP argument should be "exception match" or 10
# COMPARE_OP argument should be "exception-match" or 10
if (self.code[prev_offset] == self.opc.COMPARE_OP and
self.code[prev_offset+1] != 10):
return None