Skip to main content

Module instance

Module instance 

Source
Expand description

InstanceCap — Instance cap with mutable working state.

Holds the mutable working state of a running Cap::Instance: image reference (by hash, since Images are immutable), root cnode reference (by hash when clean / by ref while mutating), per-mapping rw overlays, register file, PC, gas counter.

Structs§

InstanceCap
RwOverlay
One byte overlay backing a memory mapping. bytes.len() ≤ the mapping’s size; trailing untouched bytes default to zero.