elflib
Version:
ELF file reader and writer
21 lines (20 loc) • 781 B
TypeScript
import { Header } from './header.js';
import { Section } from './sections.js';
export declare class File {
/** The main header of the ELF file. */
header: Header;
/** The segments for the ELF file, parsed from program header entries. */
/** The sections for the ELF file, parsed from section header entries. */
sections: Section[];
decompress(): Promise<boolean>;
compress(compressionLevel?: -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9): Promise<boolean>;
/** Updates the headers of all sections. */
updateSectionHeaders(): void;
}
export * from './rplfileinfo.js';
export * from './relocation.js';
export * from './sections.js';
export * from './structs.js';
export * from './symbol.js';
export * from './header.js';
export * from './enums.js';