From 1186a66e8cc48f4c0c424fdfb63aa4f752db7166 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 5 Jan 2019 02:00:37 -0800 Subject: initial --- test/lib_test.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/lib_test.rs (limited to 'test/lib_test.rs') diff --git a/test/lib_test.rs b/test/lib_test.rs new file mode 100644 index 0000000..946e67b --- /dev/null +++ b/test/lib_test.rs @@ -0,0 +1,6 @@ +#[test] +fn test_disasm() { + let mut instr = Instruction::invalid(); + arch::x86_64::instr::decode_one(&[0x33, 0xc0], &mut instr); + assert_eq!(1, 1); +} -- cgit v1.1