コード例 #1
0
 public PEHeadersOptionsVM(Machine defaultMachine, Subsystem defaultSubsystem)
 {
     this.defaultMachine   = defaultMachine;
     this.defaultSubsystem = defaultSubsystem;
     Machine = new EnumListVM(machineList, (a, b) => {
         Characteristics = CharacteristicsHelper.GetCharacteristics(Characteristics ?? 0, (dnlib.PE.Machine)Machine.SelectedItem);
     });
     TimeDateStamp               = new NullableUInt32VM(a => HasErrorUpdated());
     PointerToSymbolTable        = new NullableUInt32VM(a => HasErrorUpdated());
     NumberOfSymbols             = new NullableUInt32VM(a => HasErrorUpdated());
     MajorLinkerVersion          = new NullableByteVM(a => HasErrorUpdated());
     MinorLinkerVersion          = new NullableByteVM(a => HasErrorUpdated());
     ImageBase                   = new NullableUInt64VM(a => HasErrorUpdated());
     SectionAlignment            = new NullableUInt32VM(a => HasErrorUpdated());
     FileAlignment               = new NullableUInt32VM(a => HasErrorUpdated());
     MajorOperatingSystemVersion = new NullableUInt16VM(a => HasErrorUpdated());
     MinorOperatingSystemVersion = new NullableUInt16VM(a => HasErrorUpdated());
     MajorImageVersion           = new NullableUInt16VM(a => HasErrorUpdated());
     MinorImageVersion           = new NullableUInt16VM(a => HasErrorUpdated());
     MajorSubsystemVersion       = new NullableUInt16VM(a => HasErrorUpdated());
     MinorSubsystemVersion       = new NullableUInt16VM(a => HasErrorUpdated());
     Win32VersionValue           = new NullableUInt32VM(a => HasErrorUpdated());
     SizeOfStackReserve          = new NullableUInt64VM(a => HasErrorUpdated());
     SizeOfStackCommit           = new NullableUInt64VM(a => HasErrorUpdated());
     SizeOfHeapReserve           = new NullableUInt64VM(a => HasErrorUpdated());
     SizeOfHeapCommit            = new NullableUInt64VM(a => HasErrorUpdated());
     LoaderFlags                 = new NullableUInt32VM(a => HasErrorUpdated());
     NumberOfRvaAndSizes         = new NullableUInt32VM(a => HasErrorUpdated());
 }
コード例 #2
0
 public TablesHeapOptionsVM()
 {
     Reserved1    = new NullableUInt32VM(a => HasErrorUpdated());
     MajorVersion = new NullableByteVM(a => HasErrorUpdated());
     MinorVersion = new NullableByteVM(a => HasErrorUpdated());
     ExtraData    = new NullableUInt32VM(a => HasErrorUpdated());
 }
コード例 #3
0
 public MetaDataHeaderOptionsVM()
 {
     Signature    = new NullableUInt32VM(a => HasErrorUpdated());
     MajorVersion = new NullableUInt16VM(a => HasErrorUpdated());
     MinorVersion = new NullableUInt16VM(a => HasErrorUpdated());
     Reserved1    = new NullableUInt32VM(a => HasErrorUpdated());
     StorageFlags = new NullableByteVM(a => HasErrorUpdated());
     Reserved2    = new NullableByteVM(a => HasErrorUpdated());
 }
コード例 #4
0
ファイル: SaveModuleOptionsVM.cs プロジェクト: 4058665/dnSpy
 public PEHeadersOptionsVM(Machine defaultMachine, Subsystem defaultSubsystem)
 {
     this.defaultMachine = defaultMachine;
     this.defaultSubsystem = defaultSubsystem;
     this.machineVM = new EnumListVM(machineList, (a, b) => {
         Characteristics = CharacteristicsHelper.GetCharacteristics(Characteristics ?? 0, (dnlib.PE.Machine)Machine.SelectedItem);
     });
     this.timeDateStamp = new NullableUInt32VM(a => HasErrorUpdated());
     this.majorLinkerVersion = new NullableByteVM(a => HasErrorUpdated());
     this.minorLinkerVersion = new NullableByteVM(a => HasErrorUpdated());
     this.imageBase = new NullableUInt64VM(a => HasErrorUpdated());
     this.sectionAlignment = new NullableUInt32VM(a => HasErrorUpdated());
     this.fileAlignment = new NullableUInt32VM(a => HasErrorUpdated());
     this.majorOperatingSystemVersion = new NullableUInt16VM(a => HasErrorUpdated());
     this.minorOperatingSystemVersion = new NullableUInt16VM(a => HasErrorUpdated());
     this.majorImageVersion = new NullableUInt16VM(a => HasErrorUpdated());
     this.minorImageVersion = new NullableUInt16VM(a => HasErrorUpdated());
     this.majorSubsystemVersion = new NullableUInt16VM(a => HasErrorUpdated());
     this.minorSubsystemVersion = new NullableUInt16VM(a => HasErrorUpdated());
     this.win32VersionValue = new NullableUInt32VM(a => HasErrorUpdated());
     this.sizeOfStackReserve = new NullableUInt64VM(a => HasErrorUpdated());
     this.sizeOfStackCommit = new NullableUInt64VM(a => HasErrorUpdated());
     this.sizeOfHeapReserve = new NullableUInt64VM(a => HasErrorUpdated());
     this.sizeOfHeapCommit = new NullableUInt64VM(a => HasErrorUpdated());
     this.loaderFlags = new NullableUInt32VM(a => HasErrorUpdated());
     this.numberOfRvaAndSizes = new NullableUInt32VM(a => HasErrorUpdated());
 }
コード例 #5
0
ファイル: SaveModuleOptionsVM.cs プロジェクト: 4058665/dnSpy
 public MetaDataHeaderOptionsVM()
 {
     this.signature = new NullableUInt32VM(a => HasErrorUpdated());
     this.majorVersion = new NullableUInt16VM(a => HasErrorUpdated());
     this.minorVersion = new NullableUInt16VM(a => HasErrorUpdated());
     this.reserved1 = new NullableUInt32VM(a => HasErrorUpdated());
     this.storageFlags = new NullableByteVM(a => HasErrorUpdated());
     this.reserved2 = new NullableByteVM(a => HasErrorUpdated());
 }
コード例 #6
0
ファイル: SaveModuleOptionsVM.cs プロジェクト: 4058665/dnSpy
 public TablesHeapOptionsVM()
 {
     this.reserved1 = new NullableUInt32VM(a => HasErrorUpdated());
     this.majorVersion = new NullableByteVM(a => HasErrorUpdated());
     this.minorVersion = new NullableByteVM(a => HasErrorUpdated());
     this.extraData = new NullableUInt32VM(a => HasErrorUpdated());
 }
コード例 #7
0
		public MetaDataHeaderOptionsVM() {
			Signature = new NullableUInt32VM(a => HasErrorUpdated());
			MajorVersion = new NullableUInt16VM(a => HasErrorUpdated());
			MinorVersion = new NullableUInt16VM(a => HasErrorUpdated());
			Reserved1 = new NullableUInt32VM(a => HasErrorUpdated());
			StorageFlags = new NullableByteVM(a => HasErrorUpdated());
			Reserved2 = new NullableByteVM(a => HasErrorUpdated());
		}
コード例 #8
0
		public TablesHeapOptionsVM() {
			Reserved1 = new NullableUInt32VM(a => HasErrorUpdated());
			MajorVersion = new NullableByteVM(a => HasErrorUpdated());
			MinorVersion = new NullableByteVM(a => HasErrorUpdated());
			ExtraData = new NullableUInt32VM(a => HasErrorUpdated());
		}