Add support for disassembling CET (including endbr64), XSS, OSPKE,
authorguenther <guenther@openbsd.org>
Wed, 17 May 2023 01:57:15 +0000 (01:57 +0000)
committerguenther <guenther@openbsd.org>
Wed, 17 May 2023 01:57:15 +0000 (01:57 +0000)
commit60aa260ce7d2b2eb4a8f6ff446e15270a9d82953
treec99670574978133e44d8b8abd416100248310368
parenteb9ee6b2961b32a5e96ddad948e3d40e9a6f265a
Add support for disassembling CET (including endbr64), XSS, OSPKE,
clflushopt, clwb, ptwrite, rdpid, serialize, WAITPKG, and vmfunc
extensions, as well as part of TSX.  tpause and umonitor addr size
handling isn't 100% correct, but good enough to get the instruction
boundary.

Correct decoding of rex64 {fxsave,fxrstor,xsave,xrstor,xsaveopt}
to instead use a '64' suffix, ala "fxsave64".

"good enough" ok kettenis@ deraadt@ mlarkin@
gnu/usr.bin/binutils-2.17/opcodes/i386-dis.c