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§

source

fn is_valid(&self, view: &BinaryView) -> bool

source

fn parse_info( &self, debug_info: &mut DebugInfo, view: &BinaryView, debug_file: &BinaryView, progress: Box<dyn Fn(usize, usize) -> Result<(), ()>> ) -> bool

Implementors§