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);
        }
Beispiel #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);
        }
 public NativeOpaqueObject(NativeOpaqueType type, TargetLocation location)
     : base(type, location)
 {
 }
Beispiel #4
0
 public NativeOpaqueObject(NativeOpaqueType type, TargetLocation location)
     : base(type, location)
 {
 }