libafl_qemu::command

Struct LqprintfCommand

Source
pub struct LqprintfCommand { /* private fields */ }

Implementations§

Source§

impl LqprintfCommand

Source

pub fn new(content: String) -> Self

Trait Implementations§

Source§

impl Clone for LqprintfCommand

Source§

fn clone(&self) -> LqprintfCommand

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LqprintfCommand

Source§

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

Formats the value using the given formatter. Read more
Source§

impl From<LqprintfCommand> for StdCommandManagerCommands

Source§

fn from(cmd: LqprintfCommand) -> StdCommandManagerCommands

Converts to this type from the input type.
Source§

impl<C, CM, ED, ET, I, S, SM> IsCommand<C, CM, ED, ET, I, S, SM> for LqprintfCommand
where ET: EmulatorModuleTuple<I, S>, I: Unpin, S: Unpin,

Source§

fn usable_at_runtime(&self) -> bool

Used to know whether the command can be run during a backdoor, or if it is necessary to go out of the QEMU VM to run the command.
Source§

fn run( &self, _emu: &mut Emulator<C, CM, ED, ET, I, S, SM>, _state: &mut S, _input: &I, _ret_reg: Option<Regs>, ) -> Result<Option<EmulatorDriverResult<C>>, EmulatorDriverError>

Command handler. - input: The input for the current emulator run. - ret_reg: The register in which the guest return value should be written, if any. Returns - InnerHandlerResult: How the high-level handler should behave

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<Head, T> Append<T> for Head

Source§

fn append(self, value: T) -> (Head, T)

Append Value and return the tuple
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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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<I, S> MutatedTransform<I, S> for I
where I: Clone, S: HasCorpus<I>,

Source§

type Post = ()

Type indicating actions to be taken after the post-transformation input is executed
Source§

fn try_transform_from(base: &mut Testcase<I>, state: &S) -> Result<I, Error>

Transform the provided testcase into this type
Source§

fn try_transform_into( self, _state: &S, ) -> Result<(I, <I as MutatedTransform<I, S>>::Post), Error>

Transform this instance back into the original input type
Source§

impl<Tail, T> Prepend<T> for Tail

Source§

fn prepend(self, value: T) -> (T, Tail)

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

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.
Source§

impl<T> MaybeHasClientPerfMonitor for T

Source§

impl<T> Ungil for T
where T: Send,