aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-08-03 01:15:42 -0700
committeriximeow <me@iximeow.net>2020-08-09 01:38:57 -0700
commit967230df2e6e57996d92996ae350dbabc0946f87 (patch)
tree000039a577a7396dec5faea2a20ac35945579fc6 /test
parent200447fed7f7fffa6c13360375b99b8d675b81ac (diff)
handle bad lea
Diffstat (limited to 'test')
-rw-r--r--test/long_mode/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs
index 291efd4..4b77eb0 100644
--- a/test/long_mode/mod.rs
+++ b/test/long_mode/mod.rs
@@ -1246,6 +1246,7 @@ fn test_misc() {
test_display(&[0x48, 0x8d, 0xa4, 0xc7, 0x20, 0x00, 0x00, 0x12], "lea rsp, [rdi + rax * 8 + 0x12000020]");
test_display(&[0x33, 0xc0], "xor eax, eax");
test_display(&[0x48, 0x8d, 0x53, 0x08], "lea rdx, [rbx + 0x8]");
+ test_invalid(&[0x8d, 0xdd]);
test_display(&[0x31, 0xc9], "xor ecx, ecx");
test_display(&[0x48, 0x29, 0xc8], "sub rax, rcx");
test_display(&[0x48, 0x03, 0x0b], "add rcx, [rbx]");