Commit Graph

  • e5caad41d6 Accepting request 1067290 from devel:languages:python factory Dominique Leuenberger 2023-02-23 15:29:30 +00:00
  • 61c4350fdb - Skip python 3.11, not yet supported, gh#rocky/python-xdis#98 - Update to version 6.0.5 * Detect versions pypy3.8.15, pypy-3.9.15 * Dectect Python 3.{7,8,9}.14 3.10.{5,6,7} * correct 3.10+ pydisasm -F xasm label * Revise marshal error handling (Issue #97) * Improve PyPy 3.7 CALL_FUNCTION arg interpretation * Fix 1.5-2.x bugs in line number encoding * Fix showing MAKE_FUNCTION operand * Miscellaneous lint, black, and isort changes Daniel Garcia 2023-02-21 07:38:50 +00:00
  • c9a50a3a6c Accepting request 1009875 from devel:languages:python Dominique Leuenberger 2022-10-12 16:24:28 +00:00
  • 18fcaf3258 Accepting request 1009871 from home:yarunachalam:branches:devel:languages:python Matej Cepl 2022-10-11 17:30:24 +00:00
  • 9a786d6f49 Accepting request 951463 from devel:languages:python Dominique Leuenberger 2022-02-04 20:49:16 +00:00
  • 839f4d458e - Update to 6.0.3: * xasm format fixes * more Python version tuple compare conversions * add version_str_to_tuple() to convert the other way. This is useful in xasm, for example. * Reduce PYTHON_VERSION usage in xdis. * Allow optional delimiter and start length in version_tuple_to_str() * fix logic bug in setting MAGIC * Add a little Python 3.8.5 Graal (Java VM) knowledge. * Add PyPy 3.8 opcodes and disassembly * Accept Python 3.8.12 * Fix some small lingering bugs introduced converting Python version number floats to tuples * Reworked for Python 3.10. * Add 3.10 opcodes. * Add 3.9 and 3.10 testing. * Some tolerance for running from 3.11 * Update magic numbers * Expanding testing to include pyston and PyPy 3.7 * Added knowledge of Python versions 3.6.15 and 3.7.12. * Restrict wheel packaging for Python 3 only. * Use the wheel for only the 3.x and newer version of Python. * Add Python version 3.9.7 * Document unmarshal better * 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 * Add Python versions 3.9.6, 3.7.11, 3.8.11, and 3.6.14 * Note Python versions 3.8.10 and 3.9.5 * Incorrect variable name in marshal dump (used in writting .pyc files). PR #77 * Improve 3.9 IS_OP and CONTAINS_OP operand formatting * Correct disassembly of 3.9 bytecode from other bytecode Steve Kowalik 2022-02-04 00:31:04 +00:00
  • 8b8b93f50e Accepting request 865547 from devel:languages:python Dominique Leuenberger 2021-01-26 13:46:19 +00:00
  • bfa909b7a6 - Switch to python_alternative for pydisasm script Steve Kowalik 2021-01-22 05:41:56 +00:00
  • 360e67d13e Accepting request 859979 from devel:languages:python Dominique Leuenberger 2021-01-04 18:07:32 +00:00
  • fb53be7356 Accepting request 859581 from home:olh:branches:devel:languages:python Matej Cepl 2021-01-03 19:48:33 +00:00
  • 1b4ace18da Accepting request 835018 from devel:languages:python Dominique Leuenberger 2020-09-17 12:51:55 +00:00
  • ed784f0ef0 - udpate to 5.0.4: * Add python versions 3.6.12, 3.7.9 * extended arg disassembly handling for {LOAD,STORE}_ATTR * Add versions 3.8.5, 3.7.8, and 3.6.11 * Clarify changes to 3.8 ROT_FOUR * Update 3.9 magics and opcodes * Add Python 3.8.4 as a 3.8 release * pydisasm.py Python 3.3 tolerance * Make pydoc's version reporting show xdis's version Dirk Mueller 2020-09-16 21:34:57 +00:00
  • 479ce7ed4b Accepting request 822103 from devel:languages:python Dominique Leuenberger 2020-07-24 07:55:06 +00:00
  • 10245f7d87 Accepting request 822088 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-07-21 13:19:34 +00:00
  • f895489e7d Accepting request 811038 from devel:languages:python Dominique Leuenberger 2020-06-12 19:37:21 +00:00
  • ea639d9989 - Update to 4.6.1: * A portable version of types.CodeType was rewritten. * Python 3.8-ish replace() method has been added to the portable code types * Portable code type classes Code13, Code15 have been added to more precisely distinguish Python 1.3 and 1.5 code types. The other portable code classes are Code2, Code3, and Code38. * the to_native() conversts a portable code type into a native code type * the decode_lineno_tab() method on portable code types from Python 1.5 on decompresses the Python encode line number table into a dictionary mapping offset to line number. * The module xdis.code has been remamed to xdis.codetype. * load_module() and load_module_from_file_object() now return a couple more parameters. * --asm option fixes * Show sip hash in 3.7+ when that is used * Handle PEP 552 bytecode-file variations more properly * Detect more intermediate Python versions in load_code_from_file_object() * 3.8+ posonlyargcount in assembly... rename Kw-only field to Keyword-only * Add 3.5 canonic bytecode version Marshal dumps() * convert from byte() to str() in dumps() when needed in 3.x * to_native() convert to bytes from string when needed in 3.x. * clean up loading code by using float version values rather than magic values * stack_effects() checked against Python 3.4+ is now in place. * Added stack_effects() function to std.py since this is part of the API * cross_xdis.py file/module now has dis.py functions split off from bytecod e.py * Instructions class is in its own module too. * Python 2.7.18 added into magics. * Fix bug in marshal for 3.8+ (include posonlyargcount) * Go over stack effects from 2.5 to 3.4 using and idea from Maynard * Expand stack-effect testing * 3.8.3 added as a valid 3.8 release * command program pydisasm disassembles more Python source files now * Add better arguemnt formatting on CALL_FUNCTION and MAKE_FUNCTION Steve Kowalik 2020-06-03 08:27:20 +00:00
  • 9a3ca828a6 Accepting request 794470 from devel:languages:python Dominique Leuenberger 2020-04-16 21:03:18 +00:00
  • 2d3db12784 - Update to 4.2.4: * Add Instruction instance methods: #Instruction.is_jump() and #Instruction.jumps_forward() Tomáš Chvátal 2020-04-16 07:35:00 +00:00
  • c91d6d7dfb Accepting request 787860 from devel:languages:python Dominique Leuenberger 2020-03-24 21:37:35 +00:00
  • 4ba04aa922 Accepting request 787858 from home:pgajdos:python Tomáš Chvátal 2020-03-24 15:29:31 +00:00
  • a30da8dbc2 Accepting request 783027 from devel:languages:python Dominique Leuenberger 2020-03-09 17:34:30 +00:00
  • 7750dec3e6 - Add patch to work with 3.8.2: * py382.patch Tomáš Chvátal 2020-03-09 16:46:03 +00:00
  • 5004813757 Accepting request 770565 from devel:languages:python Dominique Leuenberger 2020-02-07 14:53:41 +00:00
  • aca6cb75f6 Accepting request 770554 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-02-06 12:45:19 +00:00
  • a0d20592f4 Accepting request 753274 from devel:languages:python Dominique Leuenberger 2019-12-04 12:53:23 +00:00
  • c7f459355b - Update to 4.1.3: * Various dependency fixes Tomáš Chvátal 2019-12-03 14:31:36 +00:00
  • e4c9780048 - Update to 4.1.2: * Python 3.8.0 magic changed * More Pypy 3.6 tolerance * Fixed DeprecationWarning; thanks to laike9m Tomáš Chvátal 2019-11-06 12:15:11 +00:00
  • 20e298440d Accepting request 744161 from devel:languages:python Dominique Leuenberger 2019-10-31 17:18:11 +00:00
  • 2b05f3717f - Update to 4.1.1: * Fix unmarshaling 3.4+ object_ref bugs. A big thanks to Armin Rigo of the PyPy team. * Add Pypy 3.6+ disassembly, e.g. pypy3.6-7.1.0 and pypy3.6-7.1.1 * Add Python 3.7.5, 2.7.16, 2.7.17rc1, and 2.7.15candidate1 as a valid releases * convert unmarshal if .. elif code to a dictionary lookup with function entries * Handle newer Python importlib - thanks to laike9m * Add early bytecodes: 1.0, 1.1, 1.2, and 1.6. Going off of pycdc bytecode since this is the only bytecode for these versions I know of * Fix bug in Python 3.x decompiling 2.x that contains strings with non-ascii characters * More generally, better handling of non-ascii Python 2 strings in both input and output in Python 3 * pypy 3.6-7.1.0 tolerance Tomáš Chvátal 2019-10-30 12:42:40 +00:00
  • 41b0108b33 Accepting request 734940 from devel:languages:python Dominique Leuenberger 2019-10-04 09:22:30 +00:00
  • 791a726242 - Update to 4.0.4: * Add most-recent 3.8 magic number * Remove some 3.8 invalid escape warnings Tomáš Chvátal 2019-10-04 08:31:00 +00:00
  • 46cbb3367d Accepting request 724511 from devel:languages:python Dominique Leuenberger 2019-09-05 10:34:09 +00:00
  • bc3db4ebf5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdis?expand=0&rev=5 Tomáš Chvátal 2019-08-19 08:48:38 +00:00
  • 6daa827843 - Update to 4.0.3: * Support 3.8.0beta2; Code38 type with posonlyargcount field * Add Python versions 3.4.10, 3.7.4 and 3.6.9 * script no longer works to install pydisasm; entry_points still works * Add pypy 3.6 opcode formatting for MAKE_FUNCTION and EXTENDED_ARG * Add format_CALL_function and use it or pypy36 * Start using "blacken" to reformat Python files Tomáš Chvátal 2019-08-19 08:46:27 +00:00
  • 1c7e3b0fac Accepting request 713049 from devel:languages:python Dominique Leuenberger 2019-07-03 13:14:51 +00:00
  • ffde88d250 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdis?expand=0&rev=2 Tomáš Chvátal 2019-07-02 12:02:30 +00:00
  • 0816fb5b0c Accepting request 712405 from home:a_faerber:branches:devel:languages:python Tomáš Chvátal 2019-07-02 11:53:58 +00:00