Struct aobscan::SectionResult
source · [−]pub struct SectionResult {
pub raw_offset: usize,
pub section_offset: usize,
pub section_address: u64,
pub archive_id: Option<String>,
}Expand description
Information about a match found by the scanner in a section of an object file.
Fields
raw_offset: usizeThe offset of the match in the raw data slice. (archive offset + section offset)
section_offset: usizeThe offset of the match in the specified section. (section address + match offset)
section_address: u64The base address of the specified section.
archive_id: Option<String>An identifier for the archive containing the value.
Values
Noneif the value is not contained in an archive.Some(architecture)if the value is contained a Mach-O archive.
Trait Implementations
sourceimpl Clone for SectionResult
impl Clone for SectionResult
sourcefn clone(&self) -> SectionResult
fn clone(&self) -> SectionResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SectionResult
impl Debug for SectionResult
sourceimpl PartialEq<SectionResult> for SectionResult
impl PartialEq<SectionResult> for SectionResult
sourcefn eq(&self, other: &SectionResult) -> bool
fn eq(&self, other: &SectionResult) -> bool
impl Eq for SectionResult
impl StructuralEq for SectionResult
impl StructuralPartialEq for SectionResult
Auto Trait Implementations
impl RefUnwindSafe for SectionResult
impl Send for SectionResult
impl Sync for SectionResult
impl Unpin for SectionResult
impl UnwindSafe for SectionResult
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