capstone icon indicating copy to clipboard operation
capstone copied to clipboard

Incomplete disassembly for x86 ud0 and ud1

Open rth7680 opened this issue 2 years ago • 1 comments

These two undefined insns have arguments:

0F FF /r	UD0 r32, r/m32
0F B9 /r	UD1 r32, r/m32

GNU binutils decodes these properly:

0000000000000000 <.text>:
   0:	0f ff 80 78 56 34 12 		ud0    0x12345678(%rax),%eax
   7:	65 47 0f b9 bc ff 78 56 34 12	ud1    %gs:0x12345678(%r15,%r15,8),%r15d

rth7680 avatar Aug 26 '23 23:08 rth7680

Is this x86? If yes it is likely that it won't be fixed in the near future with an update.

Unfortunately the new update mechanism doesn't work for x86 (yet, maybe if someone takes care of it in the future).

You could fix it by hand of cause if you like.

Rot127 avatar Aug 26 '23 23:08 Rot127