Commit Graph

535 Commits

Author SHA1 Message Date
Michael Hansen
b9dd99d518 Don't create special objects for NULL, just use NULL directly.
Also move null check into PycRef for nullable references.
2017-07-05 16:36:04 -07:00
Michael Hansen
1329626215 Add missing break 2017-07-05 16:10:59 -07:00
Michael Hansen
96122d23b8 Minor typing/aliasing cleanup 2017-07-05 16:10:09 -07:00
Michael Hansen
7c328f0ee8 Merge pull request #113 from kholia/add-3.5.2-magic
Add MAGIC_NUMBER for Python 3.5.2
2017-04-11 08:42:31 -07:00
Dhiru Kholia
da6571587b Add MAGIC_NUMBER for Python 3.5.3
See https://bugs.python.org/issue27286 for details.
2017-04-11 09:55:40 +05:30
Michael Hansen
a690d22822 Update Python 3.6 magic from RC build 2016-12-14 14:39:22 -08: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
Michael Hansen
ed2c21cd66 Handle NOP instruction in decompyle (fixes #96) 2016-10-24 09:44:06 -07:00
Michael Hansen
dfdb00d2dc Add python 2.5 reference sources 2016-09-08 09:59:10 -07:00
Michael Hansen
5ee15c890c Fix display of cell vars 2016-09-07 18:22:49 -07:00
Michael Hansen
35e74d0e6e Show jump target on FOR_ITER instructions 2016-09-07 18:22:22 -07:00
Michael Hansen
05a32e7bf5 Add more reference source for Python 2.2 tests, and fix some inconsistent names 2016-09-07 18:21:51 -07:00
Michael Hansen
7efcf04bcd Display KW only arg count in pycdas output 2016-09-03 11:05:03 -07:00
Michael Hansen
5a4c332a0e Add some reference hand-decompyled source for better examining pycdc output 2016-09-02 21:19:15 -07:00
Michael Hansen
5c60db15f2 Use .src.py extension instead of .src for pycdc test output 2016-08-31 16:13:18 -07:00
Michael Hansen
a02478cc56 Fix formatting of char literals \x00-\x0F. 2016-08-31 08:28:46 -07:00
Michael Hansen
def5d90a9d Add more advanced round-trip test target that runs decompiled output back
through the originating Python compiler (Linux only for now)
2016-08-30 20:18:29 -07:00
Michael Hansen
4b55e0bcea Fix '...' missing in output 2016-08-30 13:32:53 -07:00
Michael Hansen
c6d92bab3f Silence CMake warning 2016-08-30 11:42:02 -07:00
Michael Hansen
2178b103fc Change message if all tests "passed" 2016-08-30 11:23:10 -07:00
Michael Hansen
830bb0d31e Some fixes/cleanup for the test script 2016-08-30 11:19:10 -07:00
Michael Hansen
71b670de0f Merge pull request #84 from Dirk007/fix_conversion
fix: conversion
2016-07-28 16:35:21 -07:00
Dirk Faust
159c0c91f6 fix: conversion 2016-07-28 09:48:17 +02:00
Michael Hansen
d074b5593c Merge pull request #83 from ShadowHunterRUS/patch-1
Fix build with msvc
2016-07-27 09:07:14 -07:00
Maxim
221ccdb67a size_t instead of ssize_t 2016-07-27 15:15:19 +03:00
Maxim
ed96c41005 Fix build with msvc 2016-07-27 14:00:17 +03:00
Michael Hansen
7701ed420e Make the comparison ops a bit more visually distinct 2016-07-15 13:37:50 -07:00
Michael Hansen
ec313ad48f Merge pull request #81 from Saruta/master
Add comparison argument to disassembly output
2016-07-13 20:52:25 -07:00
Fabien Siron
5936171e7a Add comparison argument to disassembly output 2016-07-10 19:45:29 +00:00
Michael Hansen
cffb4c5f5f squish tab 2016-07-10 09:46:39 -07:00
Michael Hansen
d032494ede Merge pull request #80 from Saruta/master
Fix lambda call
2016-07-09 10:03:38 -07:00
Fabien Siron
f378a777a2 Fix lambda call 2016-07-09 15:20:39 +00:00
Michael Hansen
605d064fe7 Initial support for Python 3.6 disassembly 2016-06-22 22:06:09 -07:00
Michael Hansen
9f2930ccaa Add async keyword to native coroutines (Python 3.5) 2015-11-13 15:22:47 -08:00
Michael Hansen
23254897da Merge pull request #66 from arthurzam/master
Add install rules to CMake build
2015-10-26 20:10:51 -07:00
Arthur Zamarin
2d0b446486 Add install rules to CMake build
install the executables to the bin folder
2015-10-26 09:40:35 +02:00
Michael Hansen
888882c743 Help convince clang that 'this' can be NULL in some cases. Closes #65 2015-10-02 23:00:07 -07:00
Michael Hansen
badd17bd21 Support @ operator 2015-10-01 17:03:41 -07:00
Michael Hansen
aea5b2dab1 Forgot to add .map file 2015-10-01 17:00:31 -07:00
Michael Hansen
5fae3e2d1f Add Python 3.5 disassembly support 2015-10-01 16:06:09 -07:00
Michael Hansen
6883a7ecf0 Merge pull request #62 from Eximius/master
Fix SEGFAULT due to defblock being changed.
2015-08-16 11:03:03 -07:00
Eximius
c1a120ac6e Fix SEGFAULT due to defblock being changed. 2015-08-16 14:34:54 +03:00
Michael Hansen
5fd250af99 Merge pull request #59 from mancoast/loadBuildClass
Add support for LOAD_BUILD_CLASS op-code
2015-07-18 14:28:30 -07:00
mancoast
58edafd872 Add support for LOAD_BUILD_CLASS op-code
Issue #39
2015-04-20 17:38:36 -04:00
Michael Hansen
69a757210a Fix compile error on ARM 2015-04-17 19:52:35 -07:00
Michael Hansen
669b5bcd41 Don't print an error if 'tests' directory already exists 2015-04-17 18:45:05 -07:00
Michael Hansen
a2f549a89e Add docstring test case for Python 2.7 2015-04-17 18:43:50 -07:00
Michael Hansen
bbed2dc0fd Merge remote-tracking branch 'gurnec/docstrings' 2015-04-17 18:39:34 -07:00
Michael Hansen
486629dda0 Tabs -> spaces 2015-04-17 18:37:37 -07:00
mancoast
eb04199d98 Test for qualified name of function 2015-04-17 09:51:00 -04:00