Trait symbolic_debuginfo::DebugFeatures
source · pub trait DebugFeatures {
fn has_symbol_table(&self) -> bool;
fn has_debug_info(&self) -> bool;
fn has_unwind_info(&self) -> bool;
fn has_mapping(&self) -> bool;
fn has_feature(&self, tag: ObjectFeature) -> bool;
fn features(&self) -> BTreeSet<ObjectFeature>;
}
Expand description
Inspects features of Object
files.
Required Methods
sourcefn has_symbol_table(&self) -> bool
fn has_symbol_table(&self) -> bool
Checks whether this file contains a symbol table.
sourcefn has_debug_info(&self) -> bool
fn has_debug_info(&self) -> bool
Checks whether this object file contains processable debug information.
sourcefn has_unwind_info(&self) -> bool
fn has_unwind_info(&self) -> bool
Checks whether this object contains processable unwind information (CFI).
sourcefn has_mapping(&self) -> bool
fn has_mapping(&self) -> bool
Checks whether this object contains processable name mapping info.
sourcefn has_feature(&self, tag: ObjectFeature) -> bool
fn has_feature(&self, tag: ObjectFeature) -> bool
Checks whether this object has a given feature.
sourcefn features(&self) -> BTreeSet<ObjectFeature>
fn features(&self) -> BTreeSet<ObjectFeature>
Returns all features of this object.