Function cwe_checker_lib::pipeline::disassemble_binary
source · pub fn disassemble_binary(
binary_file_path: &Path,
bare_metal_config_opt: Option<BareMetalConfig>,
debug_settings: &Settings
) -> Result<(Vec<u8>, Project, Vec<LogMessage>), Error>
Expand description
Disassemble the given binary and parse it to a Project
struct.
If successful, returns the binary file (as a byte vector), the parsed project struct, and a vector of log messages generated during the process.