Releases: sunilkr/rustbin
Releases · sunilkr/rustbin
Breaking changes to external API
There are breaking changes to PE parsing external API.
This version skips loading entire file in memory before parsing. As a result, following changes are introduced.
Parameters are consumed:
- Pass a
Filetype directly to theparse_file. This value is consumed. - Pass a
Vec<u8>toparse_bytes. This value is consumed. - New trait
BufReadExtextendsBufReadtrait andPe::parse_readablecan accept any type implementingBufReadExt. - Resource data is not loaded during parsing. Explicit call to
load_datais required on amutinstance ofResourceData.