pub trait CustomDebugInfoParser: 'static + Sync {
// Required methods
fn is_valid(&self, view: &BinaryView) -> bool;
fn parse_info(
&self,
debug_info: &mut DebugInfo,
view: &BinaryView,
debug_file: &BinaryView,
progress: Box<dyn Fn(usize, usize) -> Result<(), ()>>,
) -> bool;
}Expand description
Implement this trait to implement a debug info parser. See DebugInfoParser for more details.
Required Methods§
fn is_valid(&self, view: &BinaryView) -> bool
fn parse_info( &self, debug_info: &mut DebugInfo, view: &BinaryView, debug_file: &BinaryView, progress: Box<dyn Fn(usize, usize) -> Result<(), ()>>, ) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".