diff --git a/distorm3-1.0.zip b/distorm3-1.0.zip deleted file mode 100644 index d622ad1..0000000 --- a/distorm3-1.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f381d0ddabed04ee9161633d3eb3c0bdb87100accd9b669385d4d72b36931f69 -size 137505 diff --git a/distorm3-3.3.zip b/distorm3-3.3.zip new file mode 100644 index 0000000..a289075 --- /dev/null +++ b/distorm3-3.3.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d311d232e108def8acac0d4f6514e7bc070e37d7aa123ab9a9a05b9322321582 +size 239738 diff --git a/python-distorm3.changes b/python-distorm3.changes index 001f866..59d1e92 100644 --- a/python-distorm3.changes +++ b/python-distorm3.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Fri Jan 11 17:15:31 UTC 2013 - p.drouand@gmail.com + +- Update to 3.3 version: + * The structure of a decoded instruction now contains new fields + that let one know how the instruction affected the CPU flags (modified, + tested, undefined). For more info see the last three fields of the + DInst structure inside DecomposeInterface. + * Compacted the DB of instructions much more, with another level of + shared data among similar instructions... + * The Python bindings now support the control flow features that + diStorm3 itself support, thanks to Vext01. +- Remove duplicate files with fdupes + +------------------------------------------------------------------- +Fri Jan 11 17:14:12 UTC 2013 - p.drouand@gmail.com + +- Update to 3.2 version: + * Fixed many instructions, either operand accuracy problems or typos + in mnemonics. + * Fixed a few bugs introduced in July 2011. + * Added new instructions such as: INVPCID, TZCNT, RDxSBASE, WRxSBASE, + CVTPS2PH, CVTPH2PS and more. Added a new compiler directive DISTORM_LIGHT + to compile only distorm_decompose (no text formatting) to make diStorm + smaller in size (should save around 20kb), thanks to Marius Negrutiu of BullGuard. + * Fixed the Java wrapper to support latest version. + +------------------------------------------------------------------- +Thu Jan 3 19:03:02 UTC 2013 - toddrme2178@gmail.com + +- Fix builds for SLES 11 + ------------------------------------------------------------------- Fri Jul 27 08:40:20 UTC 2012 - dvaleev@suse.com diff --git a/python-distorm3.spec b/python-distorm3.spec index 7d30932..c8367e2 100644 --- a/python-distorm3.spec +++ b/python-distorm3.spec @@ -1,7 +1,7 @@ # # spec file for package python-distorm3 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,28 +16,28 @@ # Name: python-distorm3 -Version: 1.0 +Version: 3.3 Release: 0 License: GPL-3.0 Summary: Powerful Disassembler Library For x86/AMD64 Url: http://code.google.com/p/distorm/ Group: Development/Libraries/Python -Source: distorm3-1.0.zip +Source: distorm3-%{version}.zip Patch0: 0001-don-t-stutter-static-on-BigEndian.patch BuildRequires: pkg-config BuildRequires: python-devel > 2.5 BuildRequires: unzip +BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif %description No more parsing strings! - diStorm3 is really a decomposer, which means it takes an instruction and returns a binary structure which describes it rather than static text. %prep -%setup -q -n distorm3-1.0 +%setup -q -n distorm3 %patch0 -p1 %build @@ -46,9 +46,12 @@ CFLAGS="%{optflags}" python setup.py build %install python setup.py install --root=%{buildroot} --prefix=%{_prefix} %ifarch x86_64 ppc64 +%if 0%{?suse_version} && 0%{?suse_version} > 1110 install -d %{buildroot}%{python_sitearch} mv %{buildroot}%{python_sitelib}/* %{buildroot}%{python_sitearch} %endif +%endif +%fdupes -s %{buildroot} %files %defattr(-,root,root)