pub struct ConcolicObserver<'map> { /* private fields */ }
Expand description
A standard ConcolicObserver
observer, observing constraints written into a memory buffer.
Implementations
sourceimpl<'map> ConcolicObserver<'map>
impl<'map> ConcolicObserver<'map>
sourcepub fn create_metadata_from_current_map(&self) -> ConcolicMetadata
pub fn create_metadata_from_current_map(&self) -> ConcolicMetadata
Create the concolic observer metadata for this run
sourceimpl<'map> ConcolicObserver<'map>
impl<'map> ConcolicObserver<'map>
sourcepub fn new(name: String, map: &'map [u8]) -> Self
pub fn new(name: String, map: &'map [u8]) -> Self
Creates a new ConcolicObserver
with the given name and memory buffer.
Trait Implementations
sourceimpl<'map> Debug for ConcolicObserver<'map>
impl<'map> Debug for ConcolicObserver<'map>
sourceimpl<'de, 'map> Deserialize<'de> for ConcolicObserver<'map>
impl<'de, 'map> Deserialize<'de> for ConcolicObserver<'map>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<'map> Named for ConcolicObserver<'map>
impl<'map> Named for ConcolicObserver<'map>
sourceimpl<'map, I, S> Observer<I, S> for ConcolicObserver<'map>
impl<'map, I, S> Observer<I, S> for ConcolicObserver<'map>
sourcefn flush(&mut self) -> Result<(), Error>
fn flush(&mut self) -> Result<(), Error>
The testcase finished execution, calculate any changes. Reserved for future use. Read more
sourcefn pre_exec(&mut self, _state: &mut S, _input: &I) -> Result<(), Error>
fn pre_exec(&mut self, _state: &mut S, _input: &I) -> Result<(), Error>
Called right before execution starts.
sourcefn post_exec(
&mut self,
_state: &mut S,
_input: &I,
_exit_kind: &ExitKind
) -> Result<(), Error>
fn post_exec(
&mut self,
_state: &mut S,
_input: &I,
_exit_kind: &ExitKind
) -> Result<(), Error>
Called right after execution finishes.
sourceimpl<'map> Serialize for ConcolicObserver<'map>
impl<'map> Serialize for ConcolicObserver<'map>
Auto Trait Implementations
impl<'map> RefUnwindSafe for ConcolicObserver<'map>
impl<'map> Send for ConcolicObserver<'map>
impl<'map> Sync for ConcolicObserver<'map>
impl<'map> Unpin for ConcolicObserver<'map>
impl<'map> UnwindSafe for ConcolicObserver<'map>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.