pub struct SafeSite {
pub func: u32,
pub pc: u32,
pub op: String,
pub width: u32,
}Expand description
One access site scry claims to have proven in-bounds.
Fields§
§func: u32Full wasm function index (imported functions first, then local ones) —
the same space as FunctionOps::index.
pc: u320-based operator index within the function body.
op: StringThe operator mnemonic scry saw (e.g. "i32.load"). Diagnostic only —
the WIDTH is what gets machine-checked, since it is the field whose
disagreement would change which bytes are covered.
width: u32Access width in bytes. Checked against the decoded op.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SafeSite
impl<'de> Deserialize<'de> for SafeSite
Source§fn 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
impl Eq for SafeSite
impl StructuralPartialEq for SafeSite
Auto Trait Implementations§
impl Freeze for SafeSite
impl RefUnwindSafe for SafeSite
impl Send for SafeSite
impl Sync for SafeSite
impl Unpin for SafeSite
impl UnsafeUnpin for SafeSite
impl UnwindSafe for SafeSite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.