diff options
author | iximeow <me@iximeow.net> | 2021-08-22 15:04:33 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-08-22 15:04:33 -0700 |
commit | d4620aedb1e085462f82d2a643a20c7de743ea2b (patch) | |
tree | 52a7200f6f6c797d9fa2f2eeba2ebf37b4c7eb27 | |
parent | 188cf391845a7d86466cd2ad35459b6bf825bb1e (diff) |
bump to yaxpeax-arch 0.2.7 and proper field description support1.1.0
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/long_mode/mod.rs | 4 | ||||
-rw-r--r-- | src/long_mode/vex.rs | 2 | ||||
-rw-r--r-- | src/protected_mode/mod.rs | 4 | ||||
-rw-r--r-- | src/protected_mode/vex.rs | 2 | ||||
-rw-r--r-- | src/real_mode/mod.rs | 4 | ||||
-rw-r--r-- | src/real_mode/vex.rs | 2 | ||||
-rw-r--r-- | src/shared/evex.in | 2 |
8 files changed, 11 insertions, 11 deletions
@@ -10,7 +10,7 @@ readme = "README.md" edition = "2018" [dependencies] -yaxpeax-arch = { version = "0.2.2", default-features = false, features = [] } +yaxpeax-arch = { version = "0.2.7", default-features = false, features = [] } "num-traits" = { version = "0.2", default-features = false } "serde" = { version = "1.0", optional = true } "serde_json" = { version = "1.0", optional = true } diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 97ac8d1..1499f98 100644 --- a/src/long_mode/mod.rs +++ b/src/long_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; @@ -7471,7 +7471,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/long_mode/vex.rs b/src/long_mode/vex.rs index e19621d..206e4f1 100644 --- a/src/long_mode/vex.rs +++ b/src/long_mode/vex.rs @@ -1,5 +1,5 @@ use yaxpeax_arch::Reader; -use yaxpeax_arch::DescriptionSink; +use yaxpeax_arch::annotation::DescriptionSink; use crate::long_mode::Arch; use crate::long_mode::OperandSpec; 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; diff --git a/src/real_mode/mod.rs b/src/real_mode/mod.rs index d43005e..6eefdad 100644 --- a/src/real_mode/mod.rs +++ b/src/real_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; @@ -7490,7 +7490,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/real_mode/vex.rs b/src/real_mode/vex.rs index 9474a49..0534641 100644 --- a/src/real_mode/vex.rs +++ b/src/real_mode/vex.rs @@ -1,5 +1,5 @@ use yaxpeax_arch::Reader; -use yaxpeax_arch::DescriptionSink; +use yaxpeax_arch::annotation::DescriptionSink; use crate::real_mode::Arch; use crate::real_mode::OperandSpec; diff --git a/src/shared/evex.in b/src/shared/evex.in index 339eaaf..414074e 100644 --- a/src/shared/evex.in +++ b/src/shared/evex.in @@ -2,7 +2,7 @@ use super::OperandSpec; use super::FieldDescription; use super::InnerDescription; -use yaxpeax_arch::DescriptionSink; +use yaxpeax_arch::annotation::DescriptionSink; // `evex_byte_one` is an option because the caller *may* have already read it, // but may have not. `long_mode` can decide immediately that `0x62` should be read |