diff options
author | iximeow <me@iximeow.net> | 2021-07-03 15:51:22 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-03 15:51:22 -0700 |
commit | 7e154da8e2bd7b8892bdefe2f71c111c2135b0a3 (patch) | |
tree | b1b945803f37c48a7dd7e5a23e0656ee1d9c83b9 /test/long_mode/reuse_test.rs | |
parent | 582c4e44579d4bbb9dcec9d12c23c8b774db3cfb (diff) |
be more strict about denying invalid operands
Diffstat (limited to 'test/long_mode/reuse_test.rs')
-rw-r--r-- | test/long_mode/reuse_test.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/long_mode/reuse_test.rs b/test/long_mode/reuse_test.rs index 60a91e1..ad8e890 100644 --- a/test/long_mode/reuse_test.rs +++ b/test/long_mode/reuse_test.rs @@ -1,7 +1,7 @@ use yaxpeax_arch::Decoder; use yaxpeax_x86::long_mode::InstDecoder; -const INSTRUCTIONS: [&'static [u8]; 1982] = [ +const INSTRUCTIONS: [&'static [u8]; 1975] = [ &[0xc4, 0b000_00001, 0b0_0111_101, 0x60, 0b11_001_010], &[0xc4, 0b000_00001, 0b0_0111_101, 0x61, 0b11_001_010], &[0xc4, 0b000_00001, 0b0_0111_101, 0x62, 0b11_001_010], @@ -1441,7 +1441,6 @@ const INSTRUCTIONS: [&'static [u8]; 1982] = [ &[0xc4, 0b000_00001, 0b0_1111_111, 0x2d, 0b11_001_010], &[0xc4, 0b000_00001, 0b1_0111_000, 0x12, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_000, 0x12, 0b11_001_010], - &[0xc4, 0b000_00001, 0b1_0111_000, 0x16, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_000, 0x54, 0b11_001_010], &[0xc4, 0b000_00001, 0b1_0111_000, 0x55, 0b11_001_010], &[0xc4, 0b000_00001, 0b1_0111_000, 0x56, 0b00_001_010], @@ -1454,7 +1453,6 @@ const INSTRUCTIONS: [&'static [u8]; 1982] = [ &[0xc4, 0b000_00001, 0b1_0111_000, 0x5f, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_000, 0xc2, 0b11_001_010, 0x77], &[0xc4, 0b000_00001, 0b1_0111_001, 0x12, 0b00_001_010], - &[0xc4, 0b000_00001, 0b1_0111_001, 0x16, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_001, 0x54, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_001, 0x55, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_001, 0x56, 0b00_001_010], @@ -1528,7 +1526,6 @@ const INSTRUCTIONS: [&'static [u8]; 1982] = [ &[0xc4, 0b000_00001, 0b1_0111_100, 0x5e, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_100, 0x5f, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_100, 0xc2, 0b11_001_010, 0x77], - &[0xc4, 0b000_00001, 0b1_0111_101, 0x16, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_101, 0x54, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_101, 0x55, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_0111_101, 0x56, 0b00_001_010], @@ -1600,7 +1597,6 @@ const INSTRUCTIONS: [&'static [u8]; 1982] = [ &[0xc4, 0b000_00001, 0b1_1111_010, 0x10, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_1111_010, 0x11, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_1111_010, 0x12, 0b00_001_010], - &[0xc4, 0b000_00001, 0b1_1111_010, 0x16, 0b11_001_010], &[0xc4, 0b000_00001, 0b1_1111_010, 0x2a, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_1111_010, 0x2a, 0b11_001_010], &[0xc4, 0b000_00001, 0b1_1111_010, 0x51, 0b00_001_010], @@ -1645,7 +1641,6 @@ const INSTRUCTIONS: [&'static [u8]; 1982] = [ &[0xc4, 0b000_00001, 0b1_1111_110, 0x10, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_1111_110, 0x11, 0b00_001_010], &[0xc4, 0b000_00001, 0b1_1111_110, 0x12, 0b00_001_010], - &[0xc4, 0b000_00001, 0b1_1111_110, 0x16, 0b11_001_010], &[0xc4, 0b000_00001, 0b1_1111_110, 0x2a, 0b11_001_010], &[0xc4, 0b000_00001, 0b1_1111_110, 0x2c, 0b11_001_010], &[0xc4, 0b000_00001, 0b1_1111_110, 0x2d, 0b00_001_010], @@ -1780,8 +1775,6 @@ const INSTRUCTIONS: [&'static [u8]; 1982] = [ &[0xc4, 0b000_00011, 0b1_0111_001, 0x22, 0b00_001_010, 0x77], &[0xc4, 0b000_00011, 0b1_0111_001, 0x22, 0b11_001_010, 0x77], &[0xc4, 0b000_00011, 0b1_0111_101, 0x0f, 0b11_001_010, 0x77], - &[0xc4, 0b000_00011, 0b1_1111_001, 0x16, 0b00_001_010, 0x77], - &[0xc4, 0b000_00011, 0b1_1111_001, 0x16, 0b11_001_010, 0x77], &[0xc4, 0x02, 0x09, 0x9d, 0xcd], &[0xc4, 0x02, 0x71, 0x00, 0x0f], &[0xc4, 0x02, 0x71, 0x00, 0xcd], |