MZ, PE-COFF Executable File Format Parser
Summary
This is a library to read the internals of the executable (exe) format.
At the moment it lies incomplete, only supporting parsing all the headers, as well as the Version Information Tables. Anything beyond that for me is just an exercise in file format parsing.
Usage
General usage is simple:
import {parsePE} from "pe-parser";
const pe_data = parsePE(exe_file_path: string, [options: PEParserOptions]);
Options
Option | Type | Description |
---|---|---|
dump_rvas | boolean |
This toggles on dumping rva segments to the sub folder ./rva
|
debug | boolean |
Enable debugging mode with many print outputs to debug the internals |