securityos/node_modules/pe-library/dist/format/ImageOptionalHeader.d.ts

68 lines
2.5 KiB
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import FormatBase from './FormatBase.js';
export default class ImageOptionalHeader extends FormatBase {
static readonly size = 96;
static readonly DEFAULT_MAGIC = 267;
private constructor();
static from(bin: ArrayBuffer, offset?: number): ImageOptionalHeader;
get magic(): number;
set magic(val: number);
get majorLinkerVersion(): number;
set majorLinkerVersion(val: number);
get minorLinkerVersion(): number;
set minorLinkerVersion(val: number);
get sizeOfCode(): number;
set sizeOfCode(val: number);
get sizeOfInitializedData(): number;
set sizeOfInitializedData(val: number);
get sizeOfUninitializedData(): number;
set sizeOfUninitializedData(val: number);
get addressOfEntryPoint(): number;
set addressOfEntryPoint(val: number);
get baseOfCode(): number;
set baseOfCode(val: number);
get baseOfData(): number;
set baseOfData(val: number);
get imageBase(): number;
set imageBase(val: number);
get sectionAlignment(): number;
set sectionAlignment(val: number);
get fileAlignment(): number;
set fileAlignment(val: number);
get majorOperatingSystemVersion(): number;
set majorOperatingSystemVersion(val: number);
get minorOperatingSystemVersion(): number;
set minorOperatingSystemVersion(val: number);
get majorImageVersion(): number;
set majorImageVersion(val: number);
get minorImageVersion(): number;
set minorImageVersion(val: number);
get majorSubsystemVersion(): number;
set majorSubsystemVersion(val: number);
get minorSubsystemVersion(): number;
set minorSubsystemVersion(val: number);
get win32VersionValue(): number;
set win32VersionValue(val: number);
get sizeOfImage(): number;
set sizeOfImage(val: number);
get sizeOfHeaders(): number;
set sizeOfHeaders(val: number);
get checkSum(): number;
set checkSum(val: number);
get subsystem(): number;
set subsystem(val: number);
get dllCharacteristics(): number;
set dllCharacteristics(val: number);
get sizeOfStackReserve(): number;
set sizeOfStackReserve(val: number);
get sizeOfStackCommit(): number;
set sizeOfStackCommit(val: number);
get sizeOfHeapReserve(): number;
set sizeOfHeapReserve(val: number);
get sizeOfHeapCommit(): number;
set sizeOfHeapCommit(val: number);
get loaderFlags(): number;
set loaderFlags(val: number);
get numberOfRvaAndSizes(): number;
set numberOfRvaAndSizes(val: number);
}