use totally xdis's opcodes

Needs xdis 1.1.0 or greater
This commit is contained in:
rocky
2016-05-31 19:53:17 -04:00
parent 3e5876dd03
commit 20768266b4
13 changed files with 42 additions and 879 deletions

View File

@@ -8,10 +8,10 @@ scanner routine for Python 3.
from __future__ import print_function
import xdis
# import xdis
# bytecode verification, verify(), uses JUMP_OPs from here
JUMP_OPs = xdis.opcodes.opcode_34.JUMP_OPs
# JUMP_OPs = xdis.opcodes.opcode_34.JUMP_OPs
from uncompyle6.scanners.scanner3 import Scanner3
class Scanner34(Scanner3):