Here are some things you could do with this crate (or help to implement
so they could be done):
Write a compiler and use it to generate binaries (all the raw C structs
have Pwrite derived).
Write a binary analysis tool which loads, parses, and analyzes various
binary formats, e.g., panopticon or falcon.
Write a semi-functioning dynamic linker.
Write a kernel and load binaries using no_std cfg. I.e., it is
essentially just struct and const defs (like a C header) - no fd, no
output, no std.
Write a bin2json tool, because why shouldn’t binary formats be in JSON?
To read the complete article see: