Struct solana_rbpf::vm::Tracer [−][src]
Used for instruction tracing
Fields
log: Vec<[u64; 12]>
Contains the state at every instruction in order of execution
Implementations
impl Tracer
[src]
pub fn trace(&mut self, state: [u64; 12])
[src]
Logs the state of a single instruction
pub fn write<W: Write>(&self, out: &mut W, program: &[u8]) -> Result<(), Error>
[src]
Use this method to print the log of this tracer
pub fn compare(interpreter: &Self, jit: &Self) -> bool
[src]
Compares an interpreter trace and a JIT trace. The log of the JIT can be longer because it only validates the instruction meter at branches.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tracer
impl Send for Tracer
impl Sync for Tracer
impl Unpin for Tracer
impl UnwindSafe for Tracer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
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]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,