From d4620aedb1e085462f82d2a643a20c7de743ea2b Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 22 Aug 2021 15:04:33 -0700 Subject: bump to yaxpeax-arch 0.2.7 and proper field description support --- src/protected_mode/mod.rs | 4 ++-- src/protected_mode/vex.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/protected_mode') diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs index 10a9248..5ad4c44 100644 --- a/src/protected_mode/mod.rs +++ b/src/protected_mode/mod.rs @@ -13,7 +13,7 @@ use core::cmp::PartialEq; use core::hint::unreachable_unchecked; use yaxpeax_arch::{AddressDiff, Decoder, Reader, LengthedInstruction}; -use yaxpeax_arch::{AnnotatingDecoder, DescriptionSink, NullSink}; +use yaxpeax_arch::annotation::{AnnotatingDecoder, DescriptionSink, NullSink}; use yaxpeax_arch::{DecodeError as ArchDecodeError}; use core::fmt; @@ -7488,7 +7488,7 @@ impl FieldDescription { } } -impl yaxpeax_arch::FieldDescription for FieldDescription { +impl yaxpeax_arch::annotation::FieldDescription for FieldDescription { fn id(&self) -> u32 { self.id } diff --git a/src/protected_mode/vex.rs b/src/protected_mode/vex.rs index 2c73d4b..556a300 100644 --- a/src/protected_mode/vex.rs +++ b/src/protected_mode/vex.rs @@ -1,5 +1,5 @@ use yaxpeax_arch::Reader; -use yaxpeax_arch::DescriptionSink; +use yaxpeax_arch::annotation::DescriptionSink; use crate::protected_mode::Arch; use crate::protected_mode::OperandSpec; -- cgit v1.1