[Bug binutils/14355] New: crash in OP_VEX
nick clifton
nickc@redhat.com
Tue Jul 17 15:53:00 GMT 2012
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
More information about the Binutils
mailing list