Struct libafl_frida::FridaOptions[][src]

pub struct FridaOptions { /* fields omitted */ }
Expand description

A representation of the various Frida options

Implementations

impl FridaOptions[src]

#[must_use]
pub fn parse_env_options() -> Self
[src]

Parse the frida options from the [LIBAFL_FRIDA_OPTIONS] environment variable.

Options are : separated, and each options is a name=value string.

Panics

Panics, if no = sign exists in input, or or value behind = has zero length.

#[must_use]
pub fn asan_enabled(&self) -> bool
[src]

Is ASAN enabled?

#[must_use]
pub fn coverage_enabled(&self) -> bool
[src]

Is coverage enabled?

#[must_use]
pub fn drcov_enabled(&self) -> bool
[src]

Is DrCov enabled?

#[must_use]
pub fn asan_detect_leaks(&self) -> bool
[src]

Should ASAN detect leaks

#[must_use]
pub fn asan_continue_after_error(&self) -> bool
[src]

Should ASAN continue after a memory error is detected

#[must_use]
pub fn asan_allocation_backtraces(&self) -> bool
[src]

Should ASAN gather (and report) allocation-/free-site backtraces

#[must_use]
pub fn stalker_enabled(&self) -> bool
[src]

Whether stalker should be enabled. I.e. whether at least one stalker requiring option is enabled.

#[must_use]
pub fn dont_instrument_locations(&self) -> Option<Vec<(String, usize)>>
[src]

A list of locations which will not be instrumented for ASAN or coverage purposes

Trait Implementations

impl Clone for FridaOptions[src]

fn clone(&self) -> FridaOptions[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for FridaOptions[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for FridaOptions[src]

fn default() -> Self[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<Tail, T> Prepend<T> for Tail[src]

type PreprendResult = Tail

The Resulting [TupleList], of an Prepend::prepend() call, including the prepended entry. Read more

pub fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)[src]

Prepend a value to this tuple, returning a new tuple with prepended value.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.