pub struct MemoryInterfaceMap {
pub inputs: Vec<InterfaceSlot>,
pub outputs: Vec<InterfaceSlot>,
}Expand description
The ordered, machine-readable memory interface of a function whose memory channel has been materialized: where each by-value memory input parameter is loaded from, and where each memory write-set output is replayed to.
The memory analogue of RegisterInterfaceMap. Memory input parameters
follow the register inputs in root-parameter order, so inputs[i] describes
root param register_inputs.len() + i.
Read by the emulator’s implicit binding convention (evaluate each input slot’s address in the caller’s state at the call, replay each output slot on return) and by the decompiler.
Fields§
§inputs: Vec<InterfaceSlot>Where each by-value memory input parameter is bound from, in parameter order (after the register inputs).
outputs: Vec<InterfaceSlot>Where each memory write-set output slot is replayed to, in pack order (after the register outputs).
Trait Implementations§
Source§impl Clone for MemoryInterfaceMap
impl Clone for MemoryInterfaceMap
Source§fn clone(&self) -> MemoryInterfaceMap
fn clone(&self) -> MemoryInterfaceMap
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more