Skip to main content

HoleReturn

Struct HoleReturn 

Source
pub struct HoleReturn {
Show 15 fields pub merged_guard: Option<ExtentGuard>, pub outside_guard: Option<OutsideGuard>, pub merged_function: Option<u64>, pub outside: Option<String>, pub premises: Vec<Premise>, pub address: u64, pub kind: HoleKind, pub continuation: Option<u64>, pub sites: Vec<u32>, pub reason: Option<String>, pub at: Vec<Frame>, pub hole_nodes: Vec<u32>, pub direct: Option<DirectCall>, pub proof: Option<String>, pub required: bool,
}
Expand description

One hole of the site table and where execution comes back after it.

Fields§

§merged_guard: Option<ExtentGuard>

Candidate-specific R1 incoming-transfer coverage.

§outside_guard: Option<OutsideGuard>

Complete machine-entry scan supporting an outside-reach claim.

§merged_function: Option<u64>

Report function whose call closure supplies this merged position.

§outside: Option<String>

R3: a positively identified scope ancestor is not reached.

§premises: Vec<Premise>

Typed assumptions used by this binding; unknown names are refused.

§address: u64§kind: HoleKind§continuation: Option<u64>

A call: the return address (the instruction after it). None for a jump.

§sites: Vec<u32>

The exec call sites mapped to the instruction (the node the call returns into).

§reason: Option<String>

Why there is no continuation or no call site, when there is none.

§at: Vec<Frame>

Where the instruction is in the source (DWARF), innermost first: the instance holding it at the line-table row, then each instance it is inlined into at its call line. The exec graph has nodes only at system-call sites, assembly and C imports, so a call through a pointer in Rust code is no node: it returns into the instance named here.

§hole_nodes: Vec<u32>

The hole nodes of the exec graph bound to this instruction (HoleNode::site).

§direct: Option<DirectCall>

A call whose one target is a C function that makes no system call (pure_calls): the call and its target, as a direct call to it.

§proof: Option<String>

Why Enforce needs no binding of it (PROOF_HOLE_PURE_CALL).

§required: bool

Enforce needs every hole bound: a call to its call site or to a hole node (at alone names no graph position), or proven a jump; not a call to a function that makes no system call (pure_calls).

Trait Implementations§

Source§

impl Clone for HoleReturn

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HoleReturn

Source§

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

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

impl<'de> Deserialize<'de> for HoleReturn

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for HoleReturn

Source§

impl PartialEq for HoleReturn

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for HoleReturn

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for HoleReturn

Auto Trait Implementations§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.