diff options
author | iximeow <me@iximeow.net> | 2021-10-24 14:37:06 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-10-24 14:37:06 -0700 |
commit | 063adf8c100cedbc2633710283115ad3f27ab289 (patch) | |
tree | 35e7d920465b2fc76a4c9dfea787e9223857e515 /test/armv8 | |
parent | e4c0c0ed2e4b3fb3f9d5fd037cc5ec2dbe762fde (diff) |
normalize a bit more consistently in instruction display
Diffstat (limited to 'test/armv8')
-rw-r--r-- | test/armv8/a64.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs index c251d4a..dde9802 100644 --- a/test/armv8/a64.rs +++ b/test/armv8/a64.rs @@ -2,6 +2,8 @@ use yaxpeax_arch::{Arch, Decoder, LengthedInstruction}; use yaxpeax_arm::armv8::a64::{ARMv8, Instruction, Operand, Opcode, SizeCode, ShiftStyle}; use yaxpeax_arm::armv8::a64::DecodeError; +use std::fmt; + fn test_decode(data: [u8; 4], expected: Instruction) { let mut reader = yaxpeax_arch::U8Reader::new(&data[..]); let instr = <ARMv8 as Arch>::Decoder::default().decode(&mut reader).unwrap(); |