Example #1
0
 static MemoryIdentifier()
 {
     GlobalMemory = new MemoryIdentifier(0, new UnknownType());
 }
Example #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;
 }
Example #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));
 }
Example #4
0
 public SegmentedAccess(MemoryIdentifier id, Expression basePtr, Expression ea, DataType dt) : base(id, ea, dt)
 {
     this.BasePointer = basePtr;
 }
Example #5
0
 static MemoryIdentifier()
 {
     g = new MemoryIdentifier(0, new UnknownType());
 }