[][src]Function compiledfiles::parse

pub fn parse(file: File) -> Result<Vec<FileInfo>, Error>

Parses out the source file information from a file

Arguments

  • file - The opened file we want to parse

Example

let elf_file = std::fs::File::open("path_to_binary").unwrap();
let files = compiledfiles::parse(elf_file).unwrap();
for file in files {
    println!("{:?}", file);
}