B2R2


Memory Type

Constructors

Constructor Description

Memory(reader)

Full Usage: Memory(reader)

Parameters:
Returns: Memory
reader : Addr -> Addr -> Result<byte, ErrorCase>
Returns: Memory

Instance members

Instance member Description

this.Clear()

Full Usage: this.Clear()

this.Read(pc) (addr) (endian) (typ)

Full Usage: this.Read(pc) (addr) (endian) (typ)

Parameters:
Returns: Result<BitVector, ErrorCase>
pc : Addr
addr : uint64
endian : Endian
typ : RegType
Returns: Result<BitVector, ErrorCase>

this.Reader

Full Usage: this.Reader

this.Write(addr) (v) (endian)

Full Usage: this.Write(addr) (v) (endian)

Parameters:
addr : uint64
v : BitVector
endian : Endian