iximeow / yaxpeax-x86

x86 decoders for the yaxpeax project
BSD Zero Clause License
129 stars 23 forks source link

Decode `endbr{32,64}` #8

Closed ranweiler closed 2 years ago

ranweiler commented 2 years ago

The special CET nops for indirect branch termination don't yet seem to be known to yax. This is easy to work around, when it matters, but it would be nice to e.g. have the right Display impls.

Expected:

$ yaxdis f30f1efa
0x00000000: f30f1efa      : endbr64

$ yaxdis f30f1efb
0x00000000: f30f1efb      : endbr32

Actual:

$ yaxdis f30f1efa
0x00000000: f30f1efa      : nop edx

$ yaxdis f30f1efb
0x00000000: f30f1efb      : nop ebx
iximeow commented 2 years ago

fixed in ed5c76a and published as 1.1.1, thanks for filing the issue!