From b7ac0d56035dda259d9c666c03bc70ace5e58f41 Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 13 Jan 2020 20:48:53 -0800 Subject: explicitly fail to handle WAIT prefix --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 500d59d..1530866 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4696,6 +4696,10 @@ fn read_instr>(decoder: &InstDecoder, mut bytes_iter: T, in 0x67 => { prefixes.set_address_size(); }, + 0x9b => { + // TODO: WAIT prefix + return Err(DecodeError::IncompleteDecoder); + }, 0xf0 => { prefixes.set_lock(); }, -- cgit v1.1