pub struct GenmcCtx {}
Implementations§
Source§impl GenmcCtx
impl GenmcCtx
pub fn new(_miri_config: &MiriConfig, _genmc_config: &GenmcConfig) -> Self
pub fn get_stuck_execution_count(&self) -> usize
pub fn print_genmc_graph(&self)
pub fn is_exploration_done(&self) -> bool
pub(crate) fn handle_execution_start(&self)
pub(crate) fn handle_execution_end<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, ) -> Result<(), String>
pub(super) fn set_ongoing_action_data_race_free(&self, _enable: bool)
pub(crate) fn atomic_load<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, _address: Size, _size: Size, _ordering: AtomicReadOrd, _old_val: Option<Scalar>, ) -> InterpResult<'tcx, Scalar>
pub(crate) fn atomic_store<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, _address: Size, _size: Size, _value: Scalar, _ordering: AtomicWriteOrd, ) -> InterpResult<'tcx, ()>
pub(crate) fn atomic_fence<'tcx>( &self, _machine: &MiriMachine<'tcx>, _ordering: AtomicFenceOrd, ) -> InterpResult<'tcx, ()>
pub(crate) fn atomic_rmw_op<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, _address: Size, _size: Size, _ordering: AtomicRwOrd, (rmw_op, not): (BinOp, bool), _rhs_scalar: Scalar, ) -> InterpResult<'tcx, (Scalar, Scalar)>
pub(crate) fn atomic_min_max_op<'tcx>( &self, ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, address: Size, size: Size, ordering: AtomicRwOrd, min: bool, is_signed: bool, rhs_scalar: Scalar, ) -> InterpResult<'tcx, (Scalar, Scalar)>
pub(crate) fn atomic_exchange<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, _address: Size, _size: Size, _rhs_scalar: Scalar, _ordering: AtomicRwOrd, ) -> InterpResult<'tcx, (Scalar, bool)>
pub(crate) fn atomic_compare_exchange<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, _address: Size, _size: Size, _expected_old_value: Scalar, _new_value: Scalar, _success: AtomicRwOrd, _fail: AtomicReadOrd, _can_fail_spuriously: bool, ) -> InterpResult<'tcx, (Scalar, bool)>
pub(crate) fn memory_load<'tcx>( &self, _machine: &MiriMachine<'tcx>, _address: Size, _size: Size, ) -> InterpResult<'tcx, ()>
pub(crate) fn memory_store<'tcx>( &self, _machine: &MiriMachine<'tcx>, _address: Size, _size: Size, ) -> InterpResult<'tcx, ()>
pub(crate) fn handle_alloc<'tcx>( &self, _machine: &MiriMachine<'tcx>, _size: Size, _alignment: Align, _memory_kind: MemoryKind, ) -> InterpResult<'tcx, u64>
pub(crate) fn handle_dealloc<'tcx>( &self, _machine: &MiriMachine<'tcx>, _address: Size, _size: Size, _align: Align, _kind: MemoryKind, ) -> InterpResult<'tcx, ()>
pub(crate) fn handle_thread_create<'tcx>( &self, _threads: &ThreadManager<'tcx>, _new_thread_id: ThreadId, ) -> InterpResult<'tcx, ()>
pub(crate) fn handle_thread_join<'tcx>( &self, _active_thread_id: ThreadId, _child_thread_id: ThreadId, ) -> InterpResult<'tcx, ()>
pub(crate) fn handle_thread_stack_empty(&self, _thread_id: ThreadId)
pub(crate) fn handle_thread_finish<'tcx>( &self, _threads: &ThreadManager<'tcx>, ) -> InterpResult<'tcx, ()>
pub(crate) fn schedule_thread<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, ) -> InterpResult<'tcx, ThreadId>
pub(crate) fn handle_verifier_assume<'tcx>( &self, _machine: &MiriMachine<'tcx>, _condition: bool, ) -> InterpResult<'tcx, ()>
Trait Implementations§
Source§impl VisitProvenance for GenmcCtx
impl VisitProvenance for GenmcCtx
fn visit_provenance(&self, _visit: &mut VisitWith<'_>)
Auto Trait Implementations§
impl Freeze for GenmcCtx
impl RefUnwindSafe for GenmcCtx
impl Send for GenmcCtx
impl Sync for GenmcCtx
impl Unpin for GenmcCtx
impl UnwindSafe for GenmcCtx
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes