aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-07-06 11:56:17 -0700
committeriximeow <me@iximeow.net>2021-07-06 15:18:06 -0700
commitca5e4d5d2bdecaebc7da7657cbda2f70a57fdad0 (patch)
tree10d34571ec1416c7b951ae44cff40ce3084a54d2 /src/lib.rs
parent4755f79f91fa4ee27e2626c1202e0ff8fc66f323 (diff)
add ReaderBuilder to generically construct arch-required Readers0.2.2
also revise an `unsafe` that might be unsafe un extremely unlikely circumstances - no one should be passing yaxpeax a `&[u8]` larger than `isize::MAX`, but on 32-bit architectures we can't necessarily guarantee that it won't happen
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 455b5e2..edc0742 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -23,7 +23,7 @@ pub use color::ColorSettings;
pub mod display;
mod reader;
-pub use reader::{Reader, ReadError, U8Reader, U16le, U16be, U32le, U32be, U64le, U64be};
+pub use reader::{Reader, ReaderBuilder, ReadError, U8Reader, U16le, U16be, U32le, U32be, U64le, U64be};
/// the minimum set of errors a `yaxpeax-arch` disassembler may produce.
///