diff options
author | iximeow <me@iximeow.net> | 2020-01-13 20:48:53 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-13 20:48:53 -0800 |
commit | b7ac0d56035dda259d9c666c03bc70ace5e58f41 (patch) | |
tree | 452f78d8a3d781d3af3c336f166f9fd110c148c9 /src | |
parent | f6ea2e4cb44c80ab19a92e6216d14223daf5841f (diff) |
explicitly fail to handle WAIT prefix
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4696,6 +4696,10 @@ fn read_instr<T: Iterator<Item=u8>>(decoder: &InstDecoder, mut bytes_iter: T, in 0x67 => { prefixes.set_address_size(); }, + 0x9b => { + // TODO: WAIT prefix + return Err(DecodeError::IncompleteDecoder); + }, 0xf0 => { prefixes.set_lock(); }, |