This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Bug binutils/14355] New: crash in OP_VEX
- From: nick clifton <nickc at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org, wbrana at gmail dot com
- Date: Tue, 17 Jul 2012 15:48:19 +0100
- Subject: Re: [Bug binutils/14355] New: crash in OP_VEX
- References: <bug-14355-70@http.sourceware.org/bugzilla/>
Hi H.J.
Would you mind taking a look at this x86 bug report:
http://sourceware.org/bugzilla/show_bug.cgi?id=14355
A simplistic fix appears to be this:
Index: opcodes/i386-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/i386-dis.c,v
retrieving revision 1.269
diff -u -3 -p -r1.269 i386-dis.c
--- opcodes/i386-dis.c 16 Jul 2012 12:58:29 -0000 1.269
+++ opcodes/i386-dis.c 17 Jul 2012 15:52:06 -0000
@@ -14661,6 +14661,7 @@ OP_VEX (int bytemode, int sizeflag ATTRI
case vex256_mode:
names = names_ymm;
break;
+ case vex128_mode:
case vex_vsib_q_w_dq_mode:
names = vex.w ? names_ymm : names_xmm;
break;
But I am not sure if that is the correct thing to do.
Cheers
Nick