./devel/py-xdis, Python cross-version byte-code disassembler and marshal routines

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.0.13, Package name: py39-xdis-5.0.13, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [lang/py-six] [devel/py-click] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

RMD160: 1bd1d1960ba8b9b1aabcc4c3829526b3f4edfc35
Filesize: 286.366 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-09-28 18:17:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xdis: updated to 5.0.13

5.0.13 2021-09-24
=================

Added knowledge of Python versions 3.6.15 and 3.7.12.

However the main motivation was to impove packaging to handle administration
of the 3 different branches or dialects of Python 2.4-2.7, 3.1-3.2, 3.3-3.5, and 3.6+

Restrict wheel packaging for Python 3 only.

Use the wheel for only the 3.x and newer version of Python.
Use eggs for 2.x versions (and others as well).
   2021-09-12 11:58:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xdis: updated to 5.0.12

5.0.12 2021-09-11
=================
* Add Python version 3.9.7
* Document unmarshal beter
* Correct stack information for IMPORT_NAME
* Fix bug in code type handling where bytes were showing up as strings
* More type annotations in master branch. Create more older variations without \ 
annotations
   2021-07-07 12:11:47 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xdis: updated to 5.0.11

5.0.11:
Add Python versions 3.9.6, 3.7.11, 3.8.11, and 3.6.14
Format Python various files using black. (Not completely done yet though)
   2021-06-23 22:11:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xdis: updated to 5.0.10

5.0.10:

Fix incorrect variable name in marshaller dump
Add Python 3.8.10 as a 3.8.x release
xdis/magics.py: Add 3.9.5
   2021-04-22 18:07:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-xdis: updated to 5.0.9

5.0.9:
Improve 3.9 IS_OP and CONTAINS_OP operand formatting
Correct disassembly of 3.9 bytecode from other bytecode
Accept 3.9.3 and 3.9.4 as a valid 3.9 version
Accept 3.8.9 as a valid 3.8 version
   2021-03-14 09:25:02 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-xdis: updated to 5.0.8

5.0.8:

Allow an alternate opmap - adds the capability to disassemble python bytecode \ 
that has
been frozen with a custom opcode mapping. This is particularly useful for \ 
disassembling
malware that uses custom opcode mappings in an attempt to hinder disassembly \ 
with standard
tools. The updates in this pull request are used by pydecipher, a tool to \ 
unfreeze and deob fuscate frozen python code.

Add Python versions 3.8.8 and 3.9.2
   2021-01-11 08:17:06 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xdis: updated to 5.0.7

5.0.7:
Add Python 3.8.7

5.0.6:
Add Python 3.9.1