Struct binaryninja::debuginfo::DebugInfoParser
[−]pub struct DebugInfoParser { /* private fields */ }
Expand description
Represents the registered parsers and providers of debug information to Binary Ninja.
See binaryninja::debuginfo
for more information
Implementations
impl DebugInfoParser
impl DebugInfoParser
pub fn from_name<S: BnStrCompatible>(name: S) -> Result<Ref<Self>, ()>
pub fn from_name<S: BnStrCompatible>(name: S) -> Result<Ref<Self>, ()>
Returns debug info parser of the given name, if it exists
pub fn list() -> Array<DebugInfoParser>
pub fn list() -> Array<DebugInfoParser>
List all debug-info parsers
pub fn parsers_for_view(bv: &BinaryView) -> Array<DebugInfoParser>
pub fn parsers_for_view(bv: &BinaryView) -> Array<DebugInfoParser>
Returns a list of debug-info parsers that are valid for the provided binary view
pub fn is_valid_for_view(&self, view: &BinaryView) -> bool
pub fn is_valid_for_view(&self, view: &BinaryView) -> bool
Returns whether this debug-info parser is valid for the provided binary view
pub fn parse_debug_info(
&self,
view: &BinaryView,
existing_debug_info: Option<&DebugInfo>,
progress: Option<Box<dyn Fn(usize, usize) -> Result<(), ()>>>
) -> Option<Ref<DebugInfo>>
pub fn parse_debug_info(
&self,
view: &BinaryView,
existing_debug_info: Option<&DebugInfo>,
progress: Option<Box<dyn Fn(usize, usize) -> Result<(), ()>>>
) -> Option<Ref<DebugInfo>>
Returns a DebugInfo
object populated with debug info by this debug-info parser. Only provide a DebugInfo
object if you wish to append to the existing debug info
pub fn register<S, C>(name: S, parser_callbacks: C) -> Ref<Self>where
S: BnStrCompatible,
C: CustomDebugInfoParser,
Trait Implementations
impl CoreArrayProvider for DebugInfoParser
impl CoreArrayProvider for DebugInfoParser
impl CoreOwnedArrayProvider for DebugInfoParser
impl CoreOwnedArrayProvider for DebugInfoParser
impl Hash for DebugInfoParser
impl Hash for DebugInfoParser
impl PartialEq<DebugInfoParser> for DebugInfoParser
impl PartialEq<DebugInfoParser> for DebugInfoParser
fn eq(&self, other: &DebugInfoParser) -> bool
fn eq(&self, other: &DebugInfoParser) -> bool
impl RefCountable for DebugInfoParser
impl RefCountable for DebugInfoParser
impl ToOwned for DebugInfoParser
impl ToOwned for DebugInfoParser
type Owned = Ref<DebugInfoParser>
type Owned = Ref<DebugInfoParser>
The resulting type after obtaining ownership.
fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for DebugInfoParser
impl StructuralEq for DebugInfoParser
impl StructuralPartialEq for DebugInfoParser
Auto Trait Implementations
impl RefUnwindSafe for DebugInfoParser
impl !Send for DebugInfoParser
impl !Sync for DebugInfoParser
impl Unpin for DebugInfoParser
impl UnwindSafe for DebugInfoParser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more