OptionalcontextThe context digest to record in the image.
OptionalglobalsGlobal values read from the booted and the fresh instance, by wasm global index.
Optionalmodulesha256 hex of the module bytes; moduleDigest(bytes) computes it.
OptionaltableTable after boot and a table holding the pre-boot function references. Copy the references before boot; functions from separately instantiated modules have distinct identities and are conservatively reported as changed. Function names cannot establish identity.
Values
captureImagereads from two instances; the caller supplies them.