From 967230df2e6e57996d92996ae350dbabc0946f87 Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 3 Aug 2020 01:15:42 -0700 Subject: handle bad lea --- test/long_mode/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'test/long_mode') 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]"); -- cgit v1.1