pub struct LqprintfCommand { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for LqprintfCommand
impl Clone for LqprintfCommand
Source§fn clone(&self) -> LqprintfCommand
fn clone(&self) -> LqprintfCommand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LqprintfCommand
impl Debug for LqprintfCommand
Source§impl From<LqprintfCommand> for StdCommandManagerCommands
impl From<LqprintfCommand> for StdCommandManagerCommands
Source§fn from(cmd: LqprintfCommand) -> StdCommandManagerCommands
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
impl<C, CM, ED, ET, I, S, SM> IsCommand<C, CM, ED, ET, I, S, SM> for LqprintfCommand
Source§fn usable_at_runtime(&self) -> bool
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>
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 behaveAuto Trait Implementations§
impl Freeze for LqprintfCommand
impl RefUnwindSafe for LqprintfCommand
impl Send for LqprintfCommand
impl Sync for LqprintfCommand
impl Unpin for LqprintfCommand
impl UnwindSafe for LqprintfCommand
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<I, S> MutatedTransform<I, S> for I
impl<I, S> MutatedTransform<I, S> for I
Source§type Post = ()
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>
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>
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