public void RVAtoFileMappingThrowsInvalidOperationException207() { ulong l; IMAGE_SECTION_HEADER[] iMAGE_SECTION_HEADERs = new IMAGE_SECTION_HEADER[0]; l = this.RVAtoFileMapping (0uL, (ICollection<IMAGE_SECTION_HEADER>)iMAGE_SECTION_HEADERs); }
public void RVAtoFileMappingThrowsNullReferenceException257() { ulong l; IMAGE_SECTION_HEADER[] iMAGE_SECTION_HEADERs = new IMAGE_SECTION_HEADER[1]; l = this.RVAtoFileMapping (0uL, (ICollection<IMAGE_SECTION_HEADER>)iMAGE_SECTION_HEADERs); }
public void RVAtoFileMapping01ThrowsNullReferenceException960() { uint u; IMAGE_SECTION_HEADER[] iMAGE_SECTION_HEADERs = new IMAGE_SECTION_HEADER[1]; u = this.RVAtoFileMapping01 (0u, (ICollection<IMAGE_SECTION_HEADER>)iMAGE_SECTION_HEADERs); }
public void RVAtoFileMapping01ThrowsInvalidOperationException55() { uint u; IMAGE_SECTION_HEADER[] iMAGE_SECTION_HEADERs = new IMAGE_SECTION_HEADER[0]; u = this.RVAtoFileMapping01 (0u, (ICollection<IMAGE_SECTION_HEADER>)iMAGE_SECTION_HEADERs); }
internal ExportedFunctionsParser Constructor( byte[] buff, IMAGE_EXPORT_DIRECTORY exportDirectory, IMAGE_SECTION_HEADER[] sectionHeaders ) { var target = new ExportedFunctionsParser(buff, exportDirectory, sectionHeaders); return target; // TODO: add assertions to method ExportedFunctionsParserTest.Constructor(Byte[], IMAGE_EXPORT_DIRECTORY, IMAGE_SECTION_HEADER[]) }
internal ImageBaseRelocationsParser Constructor( byte[] buff, uint offset, uint directorySize, IMAGE_SECTION_HEADER[] sectionHeaders ) { var target = new ImageBaseRelocationsParser(buff, offset, directorySize, sectionHeaders); return target; // TODO: add assertions to method ImageBaseRelocationsParserTest.Constructor(Byte[], UInt32, UInt32, IMAGE_SECTION_HEADER[]) }
internal ImportedFunctionsParser Constructor( byte[] buff, IMAGE_IMPORT_DESCRIPTOR[] importDescriptors, IMAGE_SECTION_HEADER[] sectionHeaders, bool is64Bit ) { var target = new ImportedFunctionsParser(buff, importDescriptors, sectionHeaders, is64Bit); return target; // TODO: add assertions to method ImportedFunctionsParserTest.Constructor(Byte[], IMAGE_IMPORT_DESCRIPTOR[], IMAGE_SECTION_HEADER[], Boolean) }
internal RuntimeFunctionsParser Constructor( byte[] buff, uint offset, bool is32Bit, uint directorySize, IMAGE_SECTION_HEADER[] sectionHeaders ) { var target = new RuntimeFunctionsParser(buff, offset, is32Bit, directorySize, sectionHeaders); return target; // TODO: add assertions to method RuntimeFunctionsParserTest.Constructor(Byte[], UInt32, Boolean, UInt32, IMAGE_SECTION_HEADER[]) }
public void ImageSectionHeaderConstructorWorks_Test() { var sectionHeader = new IMAGE_SECTION_HEADER(RawStructures.RawSectionHeader, 2); Assert.AreEqual(".data", Utility.ResolveSectionName(sectionHeader.Name)); Assert.AreEqual((uint) 0x33221100, sectionHeader.VirtualSize); Assert.AreEqual((uint) 0x77665544, sectionHeader.VirtualAddress); Assert.AreEqual(0xbbaa9988, sectionHeader.SizeOfRawData); Assert.AreEqual(0xffeeddcc, sectionHeader.PointerToRawData); Assert.AreEqual((uint) 0x44332211, sectionHeader.PointerToRelocations); Assert.AreEqual(0x88776655, sectionHeader.PointerToLinenumbers); Assert.AreEqual((ushort) 0xaa99, sectionHeader.NumberOfRelocations); Assert.AreEqual((ushort) 0xccbb, sectionHeader.NumberOfLinenumbers); Assert.AreEqual((uint) 0x00ffeedd, sectionHeader.Characteristics); }