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

22 lines
791 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import ArrayFormatBase from './ArrayFormatBase.js';
export interface ImageSectionHeader {
name: string;
virtualSize: number;
virtualAddress: number;
sizeOfRawData: number;
pointerToRawData: number;
pointerToRelocations: number;
pointerToLineNumbers: number;
numberOfRelocations: number;
numberOfLineNumbers: number;
characteristics: number;
}
export default class ImageSectionHeaderArray extends ArrayFormatBase<ImageSectionHeader> {
readonly length: number;
static readonly itemSize = 40;
private constructor();
static from(bin: ArrayBuffer, length: number, offset?: number): ImageSectionHeaderArray;
get(index: number): Readonly<ImageSectionHeader>;
set(index: number, data: ImageSectionHeader): void;
}