aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.rs b/test/test.rs
index 166faff..54b52b8 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -105,6 +105,9 @@ fn test_test_cmp() {
#[test]
fn test_misc() {
assert_eq!(&format!("{}", decode(
+ &[0x48, 0x8d, 0xa4, 0xc7, 0x20, 0x00, 0x00, 0x12]
+ ).unwrap()), "lea rsp, [rdi + rax * 8 + 0x12000020]");
+ assert_eq!(&format!("{}", decode(
&[0x33, 0xc0]
).unwrap()), "xor eax, eax");
assert_eq!(&format!("{}", decode(