예제 #1
0
        public ManagedClassInstance([NotNull] AssemblyImage image, List <TypeInfo> genericTypeArguments, IntPtr address)
            : base(image, genericTypeArguments, address)
        {
            if (image == null)
            {
                throw new ArgumentNullException(nameof(image));
            }

            // the address of the class instance points directly back the the classes VTable
            this.vtable = this.ReadPtr(0x0);

            // The VTable points to the class definition itself.
            this.definitionAddress = image.Process.ReadPtr(this.vtable);
        }
예제 #2
0
 public TypeInfo(AssemblyImage image, uint address)
     : base(image, address)
 {
     this.Data  = this.ReadUInt32(0x0);
     this.Attrs = this.ReadUInt32(0x4);
 }
예제 #3
0
파일: TypeInfo.cs 프로젝트: hackf5/unityspy
 public TypeInfo(AssemblyImage image, IntPtr address)
     : base(image, address)
 {
     this.Data  = this.ReadPtr(0x0);
     this.Attrs = this.ReadUInt32(this.Process.SizeOfPtr);
 }
예제 #4
0
 protected ManagedObjectInstance(AssemblyImage image, List <TypeInfo> genericTypeArguments, IntPtr address)
     : base(image, address)
 {
     this.genericTypeArguments = genericTypeArguments;
 }
예제 #5
0
 protected ManagedObjectInstance(AssemblyImage image, uint address)
     : base(image, address)
 {
 }
예제 #6
0
 protected MemoryObject(AssemblyImage image, IntPtr address)
 {
     this.Image   = image;
     this.Address = address;
 }