diff options
author | iximeow <me@iximeow.net> | 2021-07-06 11:56:17 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-06 15:18:06 -0700 |
commit | ca5e4d5d2bdecaebc7da7657cbda2f70a57fdad0 (patch) | |
tree | 10d34571ec1416c7b951ae44cff40ce3084a54d2 /src/lib.rs | |
parent | 4755f79f91fa4ee27e2626c1202e0ff8fc66f323 (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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. /// |