For the complete documentation index, see llms.txt. This page is also available as Markdown.

.pe (parse PE file)

Description of the '.pe' command in HyperDbg.

Command

.pe

Syntax

.pe [header] [FilePath (string)]

.pe [section] [SectionName (string)] [FilePath (string)]

Description

Parses Portable Executable (PE) files and dump sections.

Parameters

[header]

The action for this command is showing headers.

[section]

The action for this command is showing a special section.

[SectionName (string)]

The name of the section to be dumped.

[FilePath (string)]

The file path of the PE file.

Examples

If you want to see the headers of a PE located at c:\reverse files\myfile.exe.

If you want to see the header + dump of the .text section of the PE file.

IOCTL

None

Remarks

Starting with HyperDbg v0.19, the output of this command has been significantly improved adding richer DOS/NT/COFF/optional-header output, section bounds checking, data directory reporting, import/export parsing, TLS/debug/PDB/load-config metadata, overlay reporting, malformed metadata warnings as well as many other PE-related headers and details.

This command will continue the debuggee for some time (in Debugger Mode). This means that you lose the current context (registers & memory) after executing this command.

Requirements

None

None

Last updated