We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2217985 commit fd64c6dCopy full SHA for fd64c6d
NEWS.md
@@ -1,3 +1,33 @@
1
+6.1.0 2024-03-15
2
+=================
3
+
4
+Lots of changes major changes. API has changed.
5
6
+We now support many disassembly options:
7
+ * classic: disasm-like output
8
+ * bytes: disasm-like output with bytecode
9
+ * extended: simple interpretation of previous sequence of instructions
10
+ * extended-bytes: same as above, but with "bytes" bytecode ouptut
11
+ * header: show header/metadata information only
12
13
+This is reflected in the `--format` (`-F`) options on `pydisasm`.
14
+Option `--show-source` (`-S`) gives add the source text line (or part of it) before assembly instructions that implement the line.
15
16
+Released Python magic numbers have been updated as of this release (up to Python 3.12.2, including PyPy magic numbers.
17
18
+Some support for the [GraalVM](https://www.graalvm.org/python/)
19
+implementation of Python started.
20
21
+Many bugs fixed.
22
23
+A lot of Linting and coding style modernization.
24
25
+typing.NameTuple used for Python versions that support this.
26
+Additional fields "start_offset" and "tos_str" added to instruction.
27
28
+Elliot Tarbet (2elli) largely provided support for Python 3.11 and 3.12 bytecode
29
30
31
6.0.5 2022-12-22
32
=================
33
admin-tools/make-dist-2.4-2.7.sh
@@ -21,6 +21,11 @@ source $PACKAGE/version.py
echo $__version__
for pyversion in $PYVERSIONS; do
+ echo --- $pyversion ---
+ if [[ ${pyversion:0:4} == "pypy" ]] ; then
+ echo "$pyversion - PyPy does not get special packaging"
+ continue
+ fi
if ! pyenv local $pyversion ; then
exit $?
fi
admin-tools/make-dist-3.0-3.2.sh
@@ -19,10 +19,14 @@ fi
cd ..
source $PACKAGE/version.py
-echo $VERSION
+echo $__version__
echo --- $pyversion ---
admin-tools/make-dist-3.3-3.5.sh
@@ -19,22 +19,40 @@ fi
- exit $?
+ exit $?
# pip bdist_egg create too-general wheels. So
34
# we narrow that by moving the generated wheel.
35
- # Pick out first two number of version, e.g. 3.5.1 -> 35
36
+ # Pick out first two numbers of version, e.g. 3.5.1 -> 35
37
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
38
rm -fr build
39
python setup.py bdist_egg bdist_wheel
- mv -v dist/${PACKAGE}-$VERSION-{py3,py$first_two}-none-any.whl
40
+ if [[ $first_two =~ py* ]]; then
41
+ if [[ $first_two =~ pypy* ]]; then
42
+ # For PyPy, remove the what is after the dash, e.g. pypy37-none-any.whl instead of pypy37-7-none-any.whl
43
+ first_two=${first_two%-*}
44
45
+ mv -v dist/${PACKAGE}-$__version__-{py3,$first_two}-none-any.whl
46
+ else
47
+ mv -v dist/${PACKAGE}-$__version__-{py3,py$first_two}-none-any.whl
48
49
echo === $pyversion ===
50
done
51
52
python ./setup.py sdist
53
54
+tarball=dist/${PACKAGE}-${__version__}.tar.gz
55
+if [[ -f $tarball ]]; then
56
+ mv -v $tarball dist/${PACKAGE}_33-${__version__}.tar.gz
57
+fi
58
+finish
admin-tools/make-dist-3.6-3.10.sh
@@ -3,11 +3,11 @@ PACKAGE=xdis
# FIXME put some of the below in a common routine
function finish {
- cd $owd
+ cd $make_dist_36_owd
}
cd $(dirname ${BASH_SOURCE[0]})
-owd=$(pwd)
+make_dist_36_owd=$(pwd)
trap finish EXIT
if ! source ./pyenv-3.6-3.10-versions ; then
@@ -19,22 +19,32 @@ fi
- # python setup.py bdist_egg bdist_wheel
+ python setup.py bdist_egg bdist_wheel
mv -v dist/${PACKAGE}-$VERSION-{py3,py$first_two}-none-any.whl
-# python ./setup.py sdist
+python ./setup.py sdist
+ mv -v $tarball dist/${PACKAGE}_36-${__version__}.tar.gz
admin-tools/make-dist-newest.sh
@@ -23,6 +23,10 @@ echo $__version__
pyproject.toml
@@ -37,14 +37,14 @@ classifiers = [
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
- "Programming Language :: Python :: 3.5 ",
- "Programming Language :: Python :: 3.6 ",
- "Programming Language :: Python :: 3.7 ",
- "Programming Language :: Python :: 3.8 ",
- "Programming Language :: Python :: 3.9 ",
- "Programming Language :: Python :: 3.10 ",
- "Programming Language :: Python :: 3.11 ",
- "Programming Language :: Python :: 3.12 ",
+ "Programming Language :: Python :: 3.5",
+ "Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
xdis/version.py
@@ -4,4 +4,4 @@
# well as importing into Python. That's why there is no
# space around "=" below.
# fmt: off
-__version__="6.1.0.dev0" # noqa
+__version__="6.1.0" # noqa
0 commit comments