pe-exe-parser
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published

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

Package Sidebar

Install

npm i pe-exe-parser

Weekly Downloads

17

Version

0.1.8

License

MIT

Unpacked Size

99.4 kB

Total Files

35

Last publish

Collaborators

  • sololegends