Skip to main content

GenmcCtx

Struct GenmcCtx 

Source
pub struct GenmcCtx {}

Implementations§

Source§

impl GenmcCtx

Source

pub(crate) fn schedule_thread<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, ) -> InterpResult<'tcx, Option<ThreadId>>

Source

pub(super) fn set_ongoing_action_data_race_free(&self, _enable: bool)

Source

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>

Source

pub(crate) fn atomic_store<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, _address: Size, _size: Size, _value: Scalar, _old_value: Option<Scalar>, _ordering: AtomicWriteOrd, ) -> InterpResult<'tcx, bool>

Source

pub(crate) fn atomic_fence<'tcx>( &self, _machine: &MiriMachine<'tcx>, _ordering: AtomicFenceOrd, ) -> InterpResult<'tcx>

Source

pub(crate) fn atomic_rmw<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, _address: Size, _size: Size, _atomic_op: AtomicRmwOp, _is_signed: bool, _ordering: AtomicRwOrd, _rhs_scalar: Scalar, _old_value: Scalar, ) -> InterpResult<'tcx, (Scalar, Option<Scalar>)>

Source

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, _old_value: Scalar, ) -> InterpResult<'tcx, (Scalar, Option<Scalar>, bool)>

Source

pub(crate) fn memory_load<'tcx>( &self, _machine: &MiriMachine<'tcx>, _address: Size, _size: Size, ) -> InterpResult<'tcx>

Source

pub(crate) fn memory_store<'tcx>( &self, _machine: &MiriMachine<'tcx>, _address: Size, _size: Size, ) -> InterpResult<'tcx>

Source

pub(crate) fn handle_alloc<'tcx>( &self, _ecx: &InterpCx<'tcx, MiriMachine<'tcx>>, _alloc_id: AllocId, _size: Size, _alignment: Align, _memory_kind: MemoryKind, ) -> InterpResult<'tcx, u64>

Source

pub(crate) fn handle_dealloc<'tcx>( &self, _machine: &MiriMachine<'tcx>, _alloc_id: AllocId, _address: Size, _kind: MemoryKind, ) -> InterpResult<'tcx>

Source

pub(crate) fn handle_thread_create<'tcx>( &self, _threads: &ThreadManager<'tcx>, _start_routine: Pointer, _func_arg: &ImmTy<'tcx>, _new_thread_id: ThreadId, ) -> InterpResult<'tcx>

Source

pub(crate) fn handle_thread_join<'tcx>( &self, _active_thread_id: ThreadId, _child_thread_id: ThreadId, ) -> InterpResult<'tcx>

Source

pub(crate) fn handle_thread_finish<'tcx>(&self, _threads: &ThreadManager<'tcx>)

Source

pub(crate) fn handle_exit<'tcx>( &self, _thread: ThreadId, _exit_code: i32, _exit_type: ExitType, ) -> InterpResult<'tcx>

Trait Implementations§

Source§

impl Debug for GenmcCtx

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl VisitProvenance for GenmcCtx

Source§

fn visit_provenance(&self, _visit: &mut VisitWith<'_>)

Auto Trait Implementations§

§

impl DynSend for GenmcCtx

§

impl DynSync for GenmcCtx

§

impl Freeze for GenmcCtx

§

impl RefUnwindSafe for GenmcCtx

§

impl Send for GenmcCtx

§

impl Sync for GenmcCtx

§

impl Unpin for GenmcCtx

§

impl UnsafeUnpin for GenmcCtx

§

impl UnwindSafe for GenmcCtx

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.

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