MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / parse_til_info

Function parse_til_info

plugins/idb_import/src/lib.rs:139–153  ·  view source on GitHub ↗
(
    debug_info: &mut DebugInfo,
    debug_file: &BinaryView,
    progress: Box<dyn Fn(usize, usize) -> Result<(), ()>>,
)

Source from the content-addressed store, hash-verified

137}
138
139fn parse_til_info(
140 debug_info: &mut DebugInfo,
141 debug_file: &BinaryView,
142 progress: Box<dyn Fn(usize, usize) -> Result<(), ()>>,
143) -> Result<()> {
144 trace!("Opening a TIL file");
145 let file = BinaryViewReader {
146 bv: debug_file,
147 offset: 0,
148 };
149 let mut file = std::io::BufReader::new(file);
150 trace!("Parsing the TIL section");
151 let til = TILSection::read(&mut file, idb_rs::IDBSectionCompression::None)?;
152 import_til_section(debug_info, debug_file, &til, progress)
153}
154
155pub fn import_til_section(
156 debug_info: &mut DebugInfo,

Callers 1

parse_infoMethod · 0.85

Calls 1

import_til_sectionFunction · 0.85

Tested by

no test coverage detected