aboutsummaryrefslogtreecommitdiff
path: root/src/reader.rs
AgeCommit message (Collapse)Author
2021-07-06add Reader impls for U8Reader on u16 addresses0.2.3iximeow
2021-07-06add ReaderBuilder to generically construct arch-required Readers0.2.2iximeow
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
2021-07-03reader impls for various word sizesiximeow
2021-07-03add a Reader type that can read architecture-defined wordsiximeow
this is useful for instruction sets like arm where instructions are guaranteed to be 4 bytes, as well as instruction sets where an instruction word is not a multiple of u8 bytes.