PEHeaderBuilder Klasa
Definicja
Definiuje nagłówek dla przenośnego pliku wykonywalnego (PE).Defines the header for a portable executable (PE) file.
public ref class PEHeaderBuilder sealed
public sealed class PEHeaderBuilder
type PEHeaderBuilder = class
Public NotInheritable Class PEHeaderBuilder
- Dziedziczenie
-
PEHeaderBuilder
Konstruktory
PEHeaderBuilder(Machine, Int32, Int32, UInt64, Byte, Byte, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, Subsystem, DllCharacteristics, Characteristics, UInt64, UInt64, UInt64, UInt64) |
Inicjuje nowe wystąpienie klasy PEHeader.Initializes a new instance of the PEHeader class. |
Właściwości
DllCharacteristics |
Zwraca charakterystykę dynamicznej biblioteki konsolidatora.Returns the dynamic linker library characteristics. |
FileAlignment |
Współczynnik wyrównania (w bajtach), który jest używany do wyrównania nieprzetworzonych danych sekcji w pliku obrazu.The alignment factor (in bytes) that is used to align the raw data of sections in the image file. Wartość powinna być potęgą liczby 2 z przedziału od 512 do 64 KB włącznie.The value should be a power of 2 between 512 and 64K, inclusive. Wartość domyślna to 512.The default is 512. Jeśli wyrównanie sekcji jest mniejsze niż rozmiar strony architektury, wyrównanie pliku musi odpowiadać wyrównaniu sekcji.If the section alignment is less than the architecture's page size, then file alignment must match the section alignment. |
ImageBase |
Preferowany adres pierwszego bajtu obrazu, który jest ładowany do pamięci; musi być wielokrotnością 64 KB.The preferred address of the first byte of image when loaded into memory; must be a multiple of 64K. |
ImageCharacteristics |
Zwraca charakterystykę obrazu.Returns the image characteristics. |
Machine |
Architektura procesora maszyny docelowej.The target machine's CPU architecture. |
MajorImageVersion |
Główny numer wersji obrazu.The major version number of the image. |
MajorLinkerVersion |
Główny numer wersji konsolidatora.The linker major version number. |
MajorOperatingSystemVersion |
Numer wersji głównej wymaganego systemu operacyjnego.The major version number of the required operating system. |
MajorSubsystemVersion |
Główny numer wersji podsystemu.The major version number of the subsystem. |
MinorImageVersion |
Numer wersji pomocniczej obrazu.The minor version number of the image. |
MinorLinkerVersion |
Pomocniczy numer wersji konsolidatora.The linker minor version number. |
MinorOperatingSystemVersion |
Numer wersji pomocniczej wymaganego systemu operacyjnego.The minor version number of the required operating system. |
MinorSubsystemVersion |
Pomocniczy numer wersji podsystemu.The minor version number of the subsystem. |
SectionAlignment |
Wyrównanie (w bajtach) sekcji, gdy są ładowane do pamięci.The alignment (in bytes) of sections when they are loaded into memory. |
SizeOfHeapCommit |
Rozmiar lokalnego obszaru sterty do zatwierdzenia.The size of the local heap space to commit. |
SizeOfHeapReserve |
Rozmiar lokalnego obszaru sterty do zarezerwowania.The size of the local heap space to reserve. SizeOfHeapCommitJest tylko zatwierdzane. reszta jest udostępniana jednej stronie w danym momencie do momentu osiągnięcia rozmiaru rezerwy.Only SizeOfHeapCommit is committed; the rest is made available one page at a time until the reserve size is reached. |
SizeOfStackCommit |
Rozmiar stosu do zatwierdzenia.The size of the stack to commit. |
SizeOfStackReserve |
Rozmiar stosu do zarezerwowania.The size of the stack to reserve. SizeOfStackCommitJest tylko zatwierdzane. reszta jest udostępniana jednej stronie w danym momencie do momentu osiągnięcia rozmiaru rezerwy.Only SizeOfStackCommit is committed; the rest is made available one page at a time until the reserve size is reached. |
Subsystem |
Podsystem, który jest wymagany do uruchomienia tego obrazu.The subsystem that is required to run this image. |
Metody
CreateExecutableHeader() |
Tworzy nagłówek pliku wykonywalnego.Creates an executable header. |
CreateLibraryHeader() |
Tworzy nagłówek biblioteki.Creates a library header. |
Equals(Object) |
Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.Determines whether the specified object is equal to the current object. (Odziedziczone po Object) |
GetHashCode() |
Służy jako domyślna funkcja skrótu.Serves as the default hash function. (Odziedziczone po Object) |
GetType() |
Pobiera Type bieżące wystąpienie.Gets the Type of the current instance. (Odziedziczone po Object) |
MemberwiseClone() |
Tworzy skróconą kopię bieżącego elementu Object .Creates a shallow copy of the current Object. (Odziedziczone po Object) |
ToString() |
Zwraca ciąg reprezentujący bieżący obiekt.Returns a string that represents the current object. (Odziedziczone po Object) |