pub fn parse<S: Read + Seek + Debug>(source: S) -> Result<Vec<FileInfo>, Error>
Expand description
Parses out the source file information from a file
source
- The source from which to read the bytes want to parse
let elf_file = std::fs::File::open("path_to_binary").unwrap();
let files = compiledfiles::parse(elf_file).unwrap();
for file in files {
println!("{:?}", file);
}