Inheritance: NativeFundamentalType
Esempio n. 1
0
        public NativeLanguage(Process process, OperatingSystemBackend os, TargetInfo info)
        {
            this.process = process;
            this.os      = os;
            this.info    = info;

            this.type_hash = Hashtable.Synchronized(new Hashtable());

            integer_type  = new NativeFundamentalType(this, "int", FundamentalKind.Int32, 4);
            unsigned_type = new NativeFundamentalType(this, "unsigned int", FundamentalKind.UInt32, 4);
            long_type     = new NativeFundamentalType(this, "long", FundamentalKind.Int64, 8);
            ulong_type    = new NativeFundamentalType(this, "unsigned long", FundamentalKind.UInt64, 8);
            pointer_type  = new NativePointerType(this, "void *", info.TargetAddressSize);
            void_type     = new NativeOpaqueType(this, "void", 0);
            string_type   = new NativeStringType(this, info.TargetAddressSize);
        }
Esempio n. 2
0
        public NativeLanguage(Process process, OperatingSystemBackend os, TargetInfo info)
        {
            this.process = process;
            this.os = os;
            this.info = info;

            this.type_hash = Hashtable.Synchronized (new Hashtable ());

            integer_type = new NativeFundamentalType (this, "int", FundamentalKind.Int32, 4);
            unsigned_type = new NativeFundamentalType (this, "unsigned int", FundamentalKind.UInt32, 4);
            long_type = new NativeFundamentalType (this, "long", FundamentalKind.Int64, 8);
            ulong_type = new NativeFundamentalType (this, "unsigned long", FundamentalKind.UInt64, 8);
            pointer_type = new NativePointerType (this, "void *", info.TargetAddressSize);
            void_type = new NativeOpaqueType (this, "void", 0);
            string_type = new NativeStringType (this, info.TargetAddressSize);
        }
Esempio n. 3
0
 public NativeStringObject(NativeStringType type, TargetLocation location)
     : base(type, location)
 {
 }
Esempio n. 4
0
 public NativeStringObject(NativeStringType type, TargetLocation location)
     : base(type, location)
 {
 }