Function
elf_rawfile() returns the uninterpreted contents of the file referenced by ELF descriptor
elf.
If argument
sz is non-null, the function stores the file's size in bytes in the location to which it points. A value of zero is written to this location if an error is encountered.