2703040d0b
The Python dis module allows you to disassemble bytecode from the same version of Python that you are running on. But what about bytecode from different versions? That's what this package is for. It can "marshal load" Python bytecodes from different versions of Python. The command-line routine pydisasm will show disassembly output using Python 3.6 disassembly conventions. Also, if you need to modfiy and write bytecode, the routines here can be of help. There are routines to pack and unpack the read-only tuples in Python's Code type. For interoperability between Python 2 and 3 we provide our own versions of the Code type, and we provide routines to reduce the tedium in writing a bytecode file. This package also has an extensive knowledge of Python bytecode magic numbers, including Pypy and others, and how to translate from sys.sys_info major, minor, and release numbers to the corresponding magic value. So If you want to write a cross-version assembler, or a bytecode-level optimizer this package may also be useful. In addition to the kinds of instruction categorization that dis offers, we have additional categories for things that would be useful in such a bytecode optimizer.
151 lines
5.5 KiB
Text
151 lines
5.5 KiB
Text
@comment $NetBSD: PLIST,v 1.1 2018/09/20 13:45:11 adam Exp $
|
|
bin/pydisasm-${PYVERSSUFFIX}
|
|
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
|
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
|
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
|
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
|
|
${PYSITELIB}/${EGG_INFODIR}/zip-safe
|
|
${PYSITELIB}/xdis/__init__.py
|
|
${PYSITELIB}/xdis/__init__.pyc
|
|
${PYSITELIB}/xdis/__init__.pyo
|
|
${PYSITELIB}/xdis/bytecode.py
|
|
${PYSITELIB}/xdis/bytecode.pyc
|
|
${PYSITELIB}/xdis/bytecode.pyo
|
|
${PYSITELIB}/xdis/code.py
|
|
${PYSITELIB}/xdis/code.pyc
|
|
${PYSITELIB}/xdis/code.pyo
|
|
${PYSITELIB}/xdis/dropbox/__init__.py
|
|
${PYSITELIB}/xdis/dropbox/__init__.pyc
|
|
${PYSITELIB}/xdis/dropbox/__init__.pyo
|
|
${PYSITELIB}/xdis/dropbox/decrypt25.py
|
|
${PYSITELIB}/xdis/dropbox/decrypt25.pyc
|
|
${PYSITELIB}/xdis/dropbox/decrypt25.pyo
|
|
${PYSITELIB}/xdis/load.py
|
|
${PYSITELIB}/xdis/load.pyc
|
|
${PYSITELIB}/xdis/load.pyo
|
|
${PYSITELIB}/xdis/magics.py
|
|
${PYSITELIB}/xdis/magics.pyc
|
|
${PYSITELIB}/xdis/magics.pyo
|
|
${PYSITELIB}/xdis/main.py
|
|
${PYSITELIB}/xdis/main.pyc
|
|
${PYSITELIB}/xdis/main.pyo
|
|
${PYSITELIB}/xdis/marsh.py
|
|
${PYSITELIB}/xdis/marsh.pyc
|
|
${PYSITELIB}/xdis/marsh.pyo
|
|
${PYSITELIB}/xdis/op_imports.py
|
|
${PYSITELIB}/xdis/op_imports.pyc
|
|
${PYSITELIB}/xdis/op_imports.pyo
|
|
${PYSITELIB}/xdis/opcodes/__init__.py
|
|
${PYSITELIB}/xdis/opcodes/__init__.pyc
|
|
${PYSITELIB}/xdis/opcodes/__init__.pyo
|
|
${PYSITELIB}/xdis/opcodes/base.py
|
|
${PYSITELIB}/xdis/opcodes/base.pyc
|
|
${PYSITELIB}/xdis/opcodes/base.pyo
|
|
${PYSITELIB}/xdis/opcodes/check-stackeffect.py
|
|
${PYSITELIB}/xdis/opcodes/check-stackeffect.pyc
|
|
${PYSITELIB}/xdis/opcodes/check-stackeffect.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_13.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_13.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_13.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_14.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_14.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_14.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_15.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_15.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_15.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_20.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_20.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_20.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_21.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_21.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_21.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_22.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_22.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_22.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_23.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_23.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_23.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_24.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_24.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_24.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_25.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_25.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_25.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_26.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_26.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_26.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_26pypy.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_26pypy.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_26pypy.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_27.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_27.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_27.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_27pypy.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_27pypy.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_27pypy.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_2x.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_2x.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_2x.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_30.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_30.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_30.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_31.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_31.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_31.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_32.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_32.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_32.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_32pypy.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_32pypy.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_32pypy.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_33.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_33.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_33.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_34.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_34.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_34.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_35.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_35.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_35.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_35pypy.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_35pypy.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_35pypy.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_36.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_36.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_36.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_37.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_37.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_37.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_3x.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_3x.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_3x.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy26.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy26.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy26.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy27.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy27.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy27.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy32.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy32.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy32.pyo
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy35.py
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy35.pyc
|
|
${PYSITELIB}/xdis/opcodes/opcode_pypy35.pyo
|
|
${PYSITELIB}/xdis/std.py
|
|
${PYSITELIB}/xdis/std.pyc
|
|
${PYSITELIB}/xdis/std.pyo
|
|
${PYSITELIB}/xdis/unmarshal.py
|
|
${PYSITELIB}/xdis/unmarshal.pyc
|
|
${PYSITELIB}/xdis/unmarshal.pyo
|
|
${PYSITELIB}/xdis/util.py
|
|
${PYSITELIB}/xdis/util.pyc
|
|
${PYSITELIB}/xdis/util.pyo
|
|
${PYSITELIB}/xdis/verify.py
|
|
${PYSITELIB}/xdis/verify.pyc
|
|
${PYSITELIB}/xdis/verify.pyo
|
|
${PYSITELIB}/xdis/version.py
|
|
${PYSITELIB}/xdis/version.pyc
|
|
${PYSITELIB}/xdis/version.pyo
|
|
${PYSITELIB}/xdis/wordcode.py
|
|
${PYSITELIB}/xdis/wordcode.pyc
|
|
${PYSITELIB}/xdis/wordcode.pyo
|