Commit Graph

23 Commits

Author SHA1 Message Date
832f35413b feat: mix str for disasm 2025-03-02 23:48:24 +08:00
Michael Hansen
b424ae8fd7 Refactor disassembly operand formatting to remove single-use functions.
This also cleans up an unintentionally duplicated case, and makes it more
obvious when such duplication occurs.
2023-11-30 10:16:00 -08:00
Michael Hansen
9d1e156cec Correctly decode operand types for many newer opcodes in disassembly 2023-11-18 17:45:35 -08:00
Michael Hansen
bf3599c87a Move some output stream parameters forward.
This allows us to avoid removing parameter defaults for these functions.
2023-06-05 13:56:25 -07:00
Perceval Wajsbürt
c4c35fc531 Use C++ streams over C style IO 2023-06-02 01:12:59 +02:00
Michael Hansen
60e4eb6316 Handle CACHE instructions in decompyle, and suppress them in disassembly by default.
Showing CACHE instructions and the extra PyCode fields in pycdas is now
controlled by command-line arguments.
2023-01-19 14:50:55 -08:00
Nenad Čaklović
3039d8b410 Disassembler changes in 3.10 under BPO-27129 2022-03-24 22:06:35 +01:00
Aralox
0c9fbd9caf Issue-165 Added support for f-strings (literal string interpolation https://www.python.org/dev/peps/pep-0498/)
Opcodes handled: FORMAT_VALUE, BUILD_STRING.
Added AST node classes for FormattedValue and JoinedStr.
2020-10-17 20:52:57 +11:00
Michael Hansen
6a9d6a6132 Update bytecode for Python 3.6 beta3, and use a common file for opcode names 2016-11-08 16:00:56 -08:00
Fabien Siron
5936171e7a Add comparison argument to disassembly output 2016-07-10 19:45:29 +00:00
Michael Hansen
605d064fe7 Initial support for Python 3.6 disassembly 2016-06-22 22:06:09 -07:00
Michael Hansen
5fae3e2d1f Add Python 3.5 disassembly support 2015-10-01 16:06:09 -07:00
Michael Hansen
6ecbcfb564 Add documentation and initial framework for Python 3.4 support 2013-11-27 14:10:05 -08:00
Michael Hansen
50657fb984 Preview of Python 3.3 support 2012-05-26 14:09:52 -07:00
Michael Hansen
c474d368a1 Use less conflicting filenames 2011-10-23 17:48:10 -07:00
Michael Hansen
be6ea32619 Add Python 3.2 support 2011-01-06 17:15:48 -08:00
Michael Hansen
1161c8de26 Use opcode mappings to keep things a bit cleaner and hopefully more sane 2010-09-04 01:20:41 -07:00
Michael Hansen
b45c30cc59 Add pycdas support for Python 2.7 2010-09-02 01:01:05 -07:00
Darryl Pogue
49c15b324c Updates to make progress. Progress is good. 2010-08-31 23:17:38 -07:00
Michael Hansen
b89ae8b2ac A little bit of code support now 2009-07-26 10:07:13 +00:00
Michael Hansen
47b3a24c29 Some more Py1k fixes, and added Py3k support 2009-07-25 00:02:31 +00:00
Michael Hansen
8b0fc18921 Added more info to the disassembly 2009-07-24 19:52:47 +00:00
Michael Hansen
da046a9a90 Code so far 2009-07-24 08:35:21 +00:00