This is still not the ideal API, but it makes the code quite a bit more
readable since we no longer have to pass around closures everywhere that
multithreaded reads and writes to the same file are needed.
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
The Magisk boot image patcher still reads all the entries into memory
for simplicity, but everything else now uses the streaming reader.
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
This initially includes fuzzers for the AVB and boot image parsers. The
initial input corpus are the same test files we use for the round trip
tests.
Issue: #160
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>