pub struct ScanResult {
pub gadgets: Vec<Gadget>,
pub addr_size: usize,
pub universal_arch: Option<Arch>,
pub selected_sections: Option<Vec<(String, u64, u64)>>,
}Expand description
Everything scannable: one image’s gadgets plus its display parameters.
Fields§
§gadgets: Vec<Gadget>The gadgets, in the engine’s deterministic order.
addr_size: usize4 or 8 - the width addresses are printed at.
universal_arch: Option<Arch>Some(arch) for Universal binaries (JSON arch field).
selected_sections: Option<Vec<(String, u64, u64)>>Sections selected by –section as (name, vaddr, size), used for the
JSON section field. None when –section was not used.
Auto Trait Implementations§
impl Freeze for ScanResult
impl RefUnwindSafe for ScanResult
impl Send for ScanResult
impl Sync for ScanResult
impl Unpin for ScanResult
impl UnsafeUnpin for ScanResult
impl UnwindSafe for ScanResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more