From f393fae8906a0bc9431743db09bf6268b8f3810c Mon Sep 17 00:00:00 2001 From: iximeow Date: Tue, 6 Jul 2021 18:02:30 -0700 Subject: add Reader impls for U8Reader on u16 addresses --- CHANGELOG | 4 ++++ Cargo.toml | 2 +- src/reader.rs | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index acbe679..31aa495 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +## 0.2.3 + +added `Reader` impls for `U8Reader` on `u16` addresses + ## 0.2.2 added `ReaderBuilder` trait and impls for `U8Reader` on various address and word types. diff --git a/Cargo.toml b/Cargo.toml index 1fc3aff..2325591 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ keywords = ["disassembly", "disassembler"] license = "0BSD" name = "yaxpeax-arch" repository = "https://git.iximeow.net/yaxpeax-arch/" -version = "0.2.2" +version = "0.2.3" [dependencies] "num-traits" = { version = "0.2", default-features = false } diff --git a/src/reader.rs b/src/reader.rs index afadea0..db72b79 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -189,6 +189,7 @@ macro_rules! u8reader_each_addr_size { ($word:ident, $word_from_slice:expr, $words_from_slice:expr) => { u8reader_reader_impl!(u64, $word, $word_from_slice, $words_from_slice); u8reader_reader_impl!(u32, $word, $word_from_slice, $words_from_slice); + u8reader_reader_impl!(u16, $word, $word_from_slice, $words_from_slice); } } u8reader_each_addr_size!(u8, -- cgit v1.1