aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-01-06 02:18:59 -0800
committeriximeow <me@iximeow.net>2020-01-12 16:10:13 -0800
commit3b300f3625e6cf9ea1f36ba6d12b61ba0b08e53b (patch)
treeb8600ec1ec5c7762cb2febc99515d750dadaf27b
parentce7f79ff458c7a4abb2930094ea05781eb092ed2 (diff)
another testcase
-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(