示例#1
0
 static MemoryIdentifier()
 {
     GlobalMemory = new MemoryIdentifier(0, new UnknownType());
 }
示例#2
0
 /// <summary>
 /// Creates an access to the memory whose effective address is <paramref name="ea"/>.
 /// The data type of the accessed memory is <paramref name="dt"/>. The memory access
 /// takes place in the address space <paramref name="space"/>.
 /// </summary>
 /// <param name="ea">Effective address of the access.</param>
 /// <param name="dt">Data type of the access.</param>
 public MemoryAccess(MemoryIdentifier space, Expression ea, DataType dt)
     : base(dt)
 {
     this.MemoryId         = space;
     this.EffectiveAddress = ea;
 }
示例#3
0
 /// <summary>
 /// Creates an access to the memory whose effective address is <paramref name="effectiveAddress"/>.
 /// The data type of the accessed memory is <paramref name="dt"/>. The memory access
 /// takes place in the address space <paramref name="space"/>.
 /// </summary>
 /// <param name="effectiveAddress">Effective address of the access.</param>
 /// <param name="dt">Data type of the access.</param>
 public MemoryAccess(MemoryIdentifier space, Expression effectiveAddress, DataType dt)
     : base(dt)
 {
     this.MemoryId         = space;
     this.EffectiveAddress = effectiveAddress ?? throw new ArgumentNullException(nameof(effectiveAddress));
 }
示例#4
0
 public SegmentedAccess(MemoryIdentifier id, Expression basePtr, Expression ea, DataType dt) : base(id, ea, dt)
 {
     this.BasePointer = basePtr;
 }
示例#5
0
文件: Identifier.cs 项目: mmyydd/reko
 static MemoryIdentifier()
 {
     g = new MemoryIdentifier(0, new UnknownType());
 }