MemoryStorageImage constructor

MemoryStorageImage(
  1. Map<int, LogicValue> entries, {
  2. Iterable<UncertainMemoryWrite> uncertainWrites = const [],
  3. String? symbolicAddressMappingId,
})

Creates a detached image.

Implementation

MemoryStorageImage(Map<int, LogicValue> entries,
    {Iterable<UncertainMemoryWrite> uncertainWrites = const [],
    this.symbolicAddressMappingId})
    : entries = Map.unmodifiable(
          entries.map((key, value) => MapEntry(BigInt.from(key), value))),
      uncertainWrites = List.unmodifiable(uncertainWrites) {
  _validateSymbolicMapping();
}