DecoderError

Decoder error

iced_x86.DecoderError.NONE: int = 0

No error. The last decoded instruction is a valid instruction

iced_x86.DecoderError.INVALID_INSTRUCTION: int = 1

It’s an invalid instruction or an invalid encoding of an existing instruction (eg. some reserved bit is set/cleared)

iced_x86.DecoderError.NO_MORE_BYTES: int = 2

There’s not enough bytes left to decode the instruction