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); }
public TypeInfo(AssemblyImage image, uint address) : base(image, address) { this.Data = this.ReadUInt32(0x0); this.Attrs = this.ReadUInt32(0x4); }
public TypeInfo(AssemblyImage image, IntPtr address) : base(image, address) { this.Data = this.ReadPtr(0x0); this.Attrs = this.ReadUInt32(this.Process.SizeOfPtr); }
protected ManagedObjectInstance(AssemblyImage image, List <TypeInfo> genericTypeArguments, IntPtr address) : base(image, address) { this.genericTypeArguments = genericTypeArguments; }
protected ManagedObjectInstance(AssemblyImage image, uint address) : base(image, address) { }
protected MemoryObject(AssemblyImage image, IntPtr address) { this.Image = image; this.Address = address; }