Xdis

Latest version: v6.1.0

Safety actively analyzes 629004 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 19

3.6.1

=====================

- Improve --asm option: disambiguate code objects with the same co_name
- Update canonic versions 3.6.3, 3.5.4, etc.
- "std" API now uses get_opcode_module rather than get_opcode()
- Add function extended_arg_val and use it in unpack_opargs_bytecode()
- str2version(): canonicalize version before float
- str2float(): We now at least detect inter-python version magic changes and
can return something like 3.54 for 3.5.4 This assumes there never will be a 3.51

3.6.0

=====================

- StdApi now uses std functions and constants from the
correctly generated opc rather than the standard dis module (moagstar)
- Improve accuracy of opcode stack effects; classify opcodes more correctly
- Regularize opcode names: pypy is at the end now
- Correct writing Python3 bytecode from Python2 and Python2 bytecode from Python 3
- Add function to load from file object
- Add EXTENDED_ARG_SHIFT the number of bit positions EXTENDED_ARGS shifts
This varies depending on where we are with respect to Python 3.6; similarly
add ARG_MAX_VALUE, the maixumim integer value an operand field can have before
needing EXTENDED_ARGS
- add unpack_opargs_bytecode which is similar to unpack_opargs_wordcode of 3.6
This probably fixes a long-standing but little-noticed bug in Python 2.x disassembly
- cross version compatability bug fixed in code2num()
- Mark NOFOLLOW opcodes (RETURN, RAISE)
- Mark conditional opcodes (POP_JUMP_IF...)
- Add len() and getitem() to code types to mimic Python3 behavior
- More tests; add appveyor CI testing

3.5.5

=====================

- Add 3.7 opcodes
- Add optional file parameter on load_file
- add functions code_has_star_arg and code_has_star_star_arg (from uncompyle6)

3.5.4

=====================

- Add internal switch in findlabels() to show multiple offsets for a
given line. This is turned on in pydisasm --xasm mode. Otherwise, it
is off. Sme programs make use of findlinstart's somewhat misleading
behavior

- Add methods for selecting from sys.version_info to the right opcode
module, or canonic Python string or floating-point number.

- Add a notion of a canonic Python version.

- Add magic values for pyston and Jython.

- Some pyston tolerance. More is needed though.

3.5.3

=====================

Showing all line number bolixes uncompyle6 and the trepan debuggers,
so nuke that for now.

However, we show the full deal in pydisasm for asm format. Here it is important since we recreate the line number table based on information
given in the instructions. We could and probably should allow showing all the line number in the default format as well. Underneath there is a parameter to control that.

* Add pypy 3.5.3 magic number

3.5.2

=====================

- magic to opcode for all known versions we handle
- simpiler import access to opcodes modules
- magic lookup for Python 3.3 is probably more correct more often

Page 12 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.