Inheritance: TargetPointerType
Ejemplo n.º 1
0
 public MonoPointerObject(MonoPointerType type, TargetLocation location)
     : base(type, location)
 {
     this.Type = type;
 }
Ejemplo n.º 2
0
        public TargetType ReadType(TargetMemoryAccess memory, TargetAddress address)
        {
            TargetAddress data = MetadataHelper.MonoTypeGetData (memory, address);
            MonoTypeEnum type = MetadataHelper.MonoTypeGetType (memory, address);
            bool byref = MetadataHelper.MonoTypeGetIsByRef (memory, address);

            TargetType target_type = ReadType (memory, type, data);
            if (target_type == null)
                return null;

            if (byref)
                target_type = new MonoPointerType (target_type);

            return target_type;
        }
Ejemplo n.º 3
0
 public MonoPointerObject(MonoPointerType type, TargetLocation location)
     : base(type, location)
 {
     this.Type = type;
 }