binaryninja::base_detection

Struct BaseAddressDetectionSettings

source
pub struct BaseAddressDetectionSettings { /* private fields */ }
Expand description

Build the initial analysis.

  • analysis - analysis mode
  • min_strlen - minimum length of a string to be considered a point-of-interest
  • alignment - byte boundary to align the base address to while brute-forcing
  • low_boundary - lower boundary of the base address range to test
  • high_boundary - upper boundary of the base address range to test
  • poi_analysis - specifies types of points-of-interest to use for analysis
  • max_pointers - maximum number of candidate pointers to collect per pointer cluster

Implementations§

source§

impl BaseAddressDetectionSettings

source

pub fn arch(self, value: CoreArchitecture) -> Self

source

pub fn analysis(self, value: BaseAddressDetectionAnalysis) -> Self

source

pub fn min_strlen(self, value: u32) -> Self

source

pub fn alignment(self, value: NonZeroU32) -> Self

source

pub fn low_boundary(self, value: u64) -> Self

source

pub fn high_boundary(self, value: u64) -> Self

source

pub fn poi_analysis(self, value: BaseAddressDetectionPOISetting) -> Self

source

pub fn max_pointers(self, value: u32) -> Self

Trait Implementations§

source§

impl Default for BaseAddressDetectionSettings

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.