pub enum Event<B> {
Show 15 variants
Smt(Def),
Fork(u32, Sym, String),
ReadReg(Name, Vec<Accessor>, Val<B>),
WriteReg(Name, Vec<Accessor>, Val<B>),
ReadMem {
value: Val<B>,
read_kind: Val<B>,
address: Val<B>,
bytes: u32,
tag_value: Option<Val<B>>,
kind: &'static str,
},
WriteMem {
value: Sym,
write_kind: Val<B>,
address: Val<B>,
data: Val<B>,
bytes: u32,
tag_value: Option<Val<B>>,
kind: &'static str,
},
Branch {
address: Val<B>,
},
Barrier {
barrier_kind: Val<B>,
},
CacheOp {
cache_op_kind: Val<B>,
address: Val<B>,
},
MarkReg {
regs: Vec<Name>,
mark: String,
},
Cycle,
Instr(Val<B>),
Sleeping(Sym),
SleepRequest,
WakeupRequest,
}
Variants§
Smt(Def)
Fork(u32, Sym, String)
ReadReg(Name, Vec<Accessor>, Val<B>)
WriteReg(Name, Vec<Accessor>, Val<B>)
ReadMem
Fields
WriteMem
Fields
Branch
Barrier
CacheOp
MarkReg
Cycle
Instr(Val<B>)
Sleeping(Sym)
SleepRequest
WakeupRequest
Implementations§
Source§impl<B: BV> Event<B>
impl<B: BV> Event<B>
pub fn is_smt(&self) -> bool
pub fn is_reg(&self) -> bool
pub fn is_write_reg(&self) -> bool
pub fn is_cycle(&self) -> bool
pub fn is_instr(&self) -> bool
pub fn is_branch(&self) -> bool
pub fn is_barrier(&self) -> bool
pub fn is_fork(&self) -> bool
pub fn is_memory(&self) -> bool
pub fn is_memory_read(&self) -> bool
pub fn is_memory_write(&self) -> bool
pub fn is_cache_op(&self) -> bool
pub fn has_barrier_kind(&self, bk: usize) -> bool
pub fn has_read_kind(&self, rk: usize) -> bool
pub fn has_write_kind(&self, wk: usize) -> bool
pub fn has_cache_op_kind(&self, ck: usize) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Event<B>where
B: Freeze,
impl<B> RefUnwindSafe for Event<B>where
B: RefUnwindSafe,
impl<B> Send for Event<B>where
B: Send,
impl<B> Sync for Event<B>where
B: Sync,
impl<B> Unpin for Event<B>where
B: Unpin,
impl<B> UnwindSafe for Event<B>where
B: UnwindSafe,
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