b1a8563126
Merge pull request #378 from LNSSPsd/master
Michael Hansen
2023-08-26 10:52:26 -07:00
9711a4abe5
Fix the pointer's behavior on getting buffer
Ruphane
2023-08-25 18:00:26 -07:00
f5c1d4262b
Move comment closer to where it applies, plus some formatting consistency
Michael Hansen
2023-08-19 21:24:03 -07:00
916103179c
Fix LOAD_GLOBAL_A operand printing for versions prior to 3.11
Roman Avdeenko
2023-08-19 17:43:04 +03:00
da859f5a2b
Added support for opcodes: (in DESC)
MrDakik
2023-07-18 18:33:03 +03:00
bb54b27cd1
Move cmake_minimum_required to the top of CMakeLists, so it correctly affects everything else below it
Michael Hansen
2023-06-20 13:28:00 -07:00
753d42d94a
Simplify string object printing to reduce code duplication
Michael Hansen
2023-06-09 09:09:03 -07:00
4b4f9f8edb
Fix impossible condition in pycdas Code dump
Michael Hansen
2023-06-08 14:30:09 -07:00
32a0aec535
Use raw string literals to improve readability in OutputString
Michael Hansen
2023-06-06 11:20:32 -07:00
bf3599c87a
Move some output stream parameters forward.
Michael Hansen
2023-06-05 13:56:25 -07:00
46ea76c0e9
Clean up file handling in main()s, and remove a leak
Michael Hansen
2023-06-05 13:54:26 -07:00
8bb8386764
Fix some issues with formatted_print:
Michael Hansen
2023-06-05 13:49:04 -07:00
482c32d84e
Merge commit 'c4c35fc5318b904d5141a7f3c4a70d80576c30da'
Michael Hansen
2023-06-05 11:18:20 -07:00
72c5f87793
Fix range of supported versions for marshalled files
Michael Hansen
2023-06-04 09:16:31 -07:00
c4c35fc531
Use C++ streams over C style IO
Perceval Wajsbürt
2023-06-02 00:36:58 +02:00
409f175827
Reduce code duplication for pre-3.11 binary ops, based on #348
Michael Hansen
2023-06-01 13:55:17 -07:00
90815b47ca
Squash merge of #348
Michael Hansen
2023-06-01 13:18:22 -07:00
ee934a1e99
Show binary ops from Python 3.11 in disassembly
Michael Hansen
2023-05-30 14:45:22 -07:00
0710ea07f1
Fix missing includes, which fixes build on GCC 13+
Michael Hansen
2023-05-07 13:28:10 -07:00
c8156739f1
Merge pull request #344 from seashell11234455/master
Michael Hansen
2023-04-27 08:51:58 -07:00
f00921d3d3
Use deque instead of set
Akash Munagala
2023-02-13 19:25:45 -08:00
66c46661d9
Add test
Akash Munagala
2023-02-12 16:21:46 -08:00
aaad868445
Implement BUILD_SET and SET_UPDATE
Akash Munagala
2023-02-12 15:56:18 -08:00
a6de2209fc
Add simple_const tests for Python 3.8-3.11, and handle Python 3.11 RESUME opcode
Michael Hansen
2023-01-24 10:25:10 -08:00
60e4eb6316
Handle CACHE instructions in decompyle, and suppress them in disassembly by default.
Michael Hansen
2023-01-19 14:50:55 -08:00
5d855f0bd2
Fix LOAD_GLOBAL and cell var references in Python 3.11+
Michael Hansen
2023-01-19 13:05:06 -08:00
379c0c94d0
Merge <3.11 VarNames and >=3.11 Locals+Names into a single variable for simplicity.
Michael Hansen
2023-01-19 11:20:06 -08:00
dfb0a976c5
Add additional Code object fields to disassembly output.
Michael Hansen
2022-12-05 09:12:39 -08:00
9f1d0f2a21
Add basic opcode (disassembly) support for Python 3.11
Michael Hansen
2022-12-02 16:34:58 -08:00
a3e5ebd481
Add GET_YIELD_FROM_ITER support (#312)
TheHellTower
2023-01-19 19:51:08 +01:00
3c129a1128
Merge pull request #311 from zrax/upload_artifact
Michael Hansen
2023-01-18 13:28:57 -08:00
fb4dfa3fdc
Upload artifacts from Windows build
Michael Hansen
2023-01-18 13:19:28 -08:00
2075a4ac1f
Fix CI failure -- these need to remain in the original order
Michael Hansen
2022-12-02 14:16:18 -08:00
ffeabc3d3f
Make cast() checked by default and add try_cast() for cases where a cast is not required to be successful.
Michael Hansen
2022-12-01 16:13:31 -08:00
305494c4b2
Fix unintentional method shadowing in ASTAnnotatedVar
Michael Hansen
2022-12-01 16:03:09 -08:00
e623e9ac56
For String Refs, inherit the type of the reffed string object.
Michael Hansen
2022-12-01 11:42:31 -08:00
93495c3bfb
Reduce unnecessary uses of std::list
Michael Hansen
2022-12-01 11:35:14 -08:00
863e09e9e7
Remove unnecessary Latin-1 conversion code -- PyUnicode ASCII is 7-bit.
Michael Hansen
2022-11-30 15:05:29 -08:00
44a730f3a8
Merge pull request #285 from zrax/simplify_marshal_version
Michael Hansen
2022-10-04 15:24:38 -07:00
747921a761
Adjust to reduce duplication
Michael Hansen
2022-10-04 15:15:02 -07:00
e2db195b85
Merge from #267
Michael Hansen
2022-10-04 15:18:35 -07:00
8590d67d29
Simplify and improve version setting for marshalled code objects:
Michael Hansen
2022-10-04 14:51:23 -07:00
6373459830
Merge pull request #283 from DarkGuySM/master
Michael Hansen
2022-10-02 09:31:17 -07:00
1750e9cb8a
Note code object support in readme
clubby789
2022-06-15 11:37:07 +01:00
dc50479d06
Add support for pycdas/pycdc using marshalled code objects
clubby789
2022-06-15 11:33:11 +01:00
96ef91b5f9
Allow specifying an output filename on the command line, instead of forcing reliance on shell redirection.
Michael Hansen
2022-04-26 14:44:10 -07:00
4884b5447f
Add additional versions of conditional_expressions test
Michael Hansen
2022-04-26 13:11:40 -07:00
b0fa45840f
Minor code style cleanups for consistency
Michael Hansen
2022-04-26 12:56:19 -07:00
73ff7ef3fe
Merge pull request #249 from ncaklovic/master
Michael Hansen
2022-04-26 11:29:26 -07:00
38a1ee59c3
Support for conditonal expression (if-expression) - review findings
Nenad Čaklović
2022-04-02 13:57:10 +02:00
46affe279c
Support for conditonal expression (if-expression)
Nenad Čaklović
2022-03-29 12:30:06 +02:00
f19b38d3be
Merge pull request #245 from ncaklovic/master
Michael Hansen
2022-03-24 14:57:57 -07:00
9fe5463c19
Merge pull request #246 from zrax/fix_msvc_ci
Michael Hansen
2022-03-24 14:57:42 -07:00
c134280576
Update MSVC version to make CI happy
Michael Hansen
2022-03-24 14:52:26 -07:00
3039d8b410
Disassembler changes in 3.10 under BPO-27129
Nenad Čaklović
2022-03-24 22:06:35 +01:00
7160cf796c
Changes in 3.10 under BPO-27129: Use instruction offset, rather than bytecode offset
Nenad Čaklović
2022-03-24 20:59:15 +01:00
99b35a114a
Merge pull request #209 from dotjrich/pymultic-container-build
Michael Hansen
2021-11-22 21:29:13 -08:00
9031029ef6
Addresses code review comments
John Richards
2021-11-22 00:51:26 -05:00
9bb40a1faa
Adds support for building our own Python containers
John Richards
2021-10-24 18:41:33 -04:00
7869a08f27
Merge pull request #204 from dotjrich/pymultic-container
Michael Hansen
2021-10-21 20:54:11 -07:00
21b08557ce
Refactors how extra args for container executables are specified
John Richards
2021-10-21 22:33:03 -04:00
034c65885f
Use the -u param when running via Docker
John Richards
2021-10-21 22:22:31 -04:00
7e2609c3d6
Addresses code review comments
John Richards
2021-10-18 21:37:46 -04:00
51f607fb1c
Removes old variable that's no longer in code
John Richards
2021-10-10 23:36:46 -04:00
f59d7d015d
Adds podman support and defines PYVERS with official containers
John Richards
2021-10-10 19:59:54 -04:00
5e08ec603a
Adds container support to pymultic
John Richards
2021-10-10 18:34:11 -04:00
aacf182f95
Add bytecode documentation for 3.10
Michael Hansen
2021-04-12 11:03:36 -07:00
9109449390
Merge pull request #202 from GawdOfROFL/3.10support
Michael Hansen
2021-10-10 11:44:39 -07:00