[][src]Struct falcon::executor::Driver

pub struct Driver { /* fields omitted */ }

A driver for a concrete executor over Falcon IL.

Methods

impl Driver[src]

pub fn new(
    program: RC<Program>,
    location: ProgramLocation,
    state: State,
    architecture: RC<dyn Architecture>
) -> Driver
[src]

Create a new driver for concrete execution over Falcon IL.

pub fn step(self) -> Result<Driver>[src]

Step forward over Falcon IL.

pub fn program(&self) -> &Program[src]

Retrieve the Falcon IL program associated with this driver.

pub fn address(&self) -> Option<u64>[src]

If this driver is sitting on an instruction with an address, return that address.

pub fn location(&self) -> &ProgramLocation[src]

Retrieve the il::ProgramLocation associated with this driver.

pub fn state(&self) -> &State[src]

Retrieve the concrete State associated with this driver.

pub fn state_mut(&mut self) -> &mut State[src]

Retrieve a mutable reference to the State associated with this driver.

Trait Implementations

impl Clone for Driver[src]

impl Debug for Driver[src]

Auto Trait Implementations

impl !RefUnwindSafe for Driver

impl !Send for Driver

impl !Sync for Driver

impl Unpin for Driver

impl !UnwindSafe for Driver

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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.