From 1dc3004f4d84a48ee886a798a944ea62b20343bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Mon, 17 Jan 2011 17:23:54 +0000 Subject: [PATCH] - fix: vex amd64->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0x61 0x7 0x0 https://bugs.kde.org/show_bug.cgi?id=262995 - release 3. Changed files: valgrind-pr262995.patch -> 1.1 valgrind.spec -> 1.79 --- valgrind-pr262995.patch | 24 ++++++++++++++++++++++++ valgrind.spec | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 valgrind-pr262995.patch diff --git a/valgrind-pr262995.patch b/valgrind-pr262995.patch new file mode 100644 index 0000000..6c14c90 --- /dev/null +++ b/valgrind-pr262995.patch @@ -0,0 +1,24 @@ +FIX: vex amd64->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0x61 0x7 0x0 + +https://bugs.kde.org/show_bug.cgi?id=262995 + +--- valgrind-3.6.0/VEX/priv/guest_amd64_toIR.c.orig 2010-10-20 22:19:51.000000000 +0200 ++++ valgrind-3.6.0/VEX/priv/guest_amd64_toIR.c 2011-01-17 19:03:14.517469329 +0100 +@@ -15354,6 +15354,7 @@ DisResult disInstr_AMD64_WRK ( + any cases for which the helper function has not been + verified. */ + switch (imm) { ++ case 0x00: + case 0x02: case 0x08: case 0x0A: case 0x0C: case 0x12: + case 0x1A: case 0x3A: case 0x44: case 0x4A: + break; +--- valgrind-3.6.0/VEX/priv/guest_generic_x87.c.orig 2010-10-20 22:19:51.000000000 +0200 ++++ valgrind-3.6.0/VEX/priv/guest_generic_x87.c 2011-01-17 19:03:59.611838375 +0100 +@@ -715,6 +715,7 @@ Bool compute_PCMPxSTRx ( /*OUT*/V128* re + even if they would probably work. Life is too short to have + unvalidated cases in the code base. */ + switch (imm8) { ++ case 0x00: + case 0x02: case 0x08: case 0x0A: case 0x0C: case 0x12: + case 0x1A: case 0x3A: case 0x44: case 0x4A: + break; diff --git a/valgrind.spec b/valgrind.spec index dd37e1b..86c6682 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -2,12 +2,13 @@ Summary: An open-source memory debugger Summary(pl.UTF-8): Otwarty odpluskwiacz pamięci Name: valgrind Version: 3.6.0 -Release: 2 +Release: 3 License: GPL Group: Development/Tools Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2 # Source0-md5: b289c5f4ab8e39741602445f1dd09b34 Patch0: %{name}-debuginfo.patch +Patch1: %{name}-pr262995.patch URL: http://valgrind.org/ BuildRequires: autoconf BuildRequires: automake @@ -42,6 +43,7 @@ pracować. %prep %setup -q %patch0 +%patch1 -p1 sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in -- 2.43.0