pedis(1)

pedis1

Disassemble pe sections and functions

Usage

pedis [OPTIONS] ... pefile

Overview

pedis is a PE disassembler relyng on udis86 library. It can disassembly entire sections, functions or any file position you want. It's part of pev, the PE file analysis toolkit.

pefile is a PE32/PE32+ executable or dynamic linked library file.

Options

--att

Set AT&T assembly syntax (default: Intel).

-e, --entrypoint

Disassemble the entire entrypoint function.

-f, --format <text|csv|xml|html>

Change output format (default: text).

-m, --mode <16|32|64>

Disassembly mode (default: auto).

-i <number>

Number of instructions to disassemble.

-n <number>

Number of bytes to disassemble.

-o, --offset <offset>

Disassemble at specified offset, either in decimal or hexadecimal format (prefixed with 0x).

-r, --rva <rva>

Disassemble at specified RVA, either in decimal or hexadecimal format (prefixed with 0x).

-s, --section <name>

Disassemble en entire section given.

-V, --version

Show version.

--help

Show this help.

Examples

Disassemble RVA 0x4c4df from putty.exe:

$ pedis -r 0x4c4df putty.exe

Disassembly the entrypoint of a 64-bit PE32+ wordpad.exe:

$ pedis -m 64 --entrypoint putty.exe

Disassembly in 16-bits mode, starting from offset 0x40, 32 bytes of code from game.exe:

$ pedis -m 16 -o 0x40 -n 32 game.exe

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11–12
  3. 13

Reporting bugs

Please, check the latest development code and report at https://github.com/mentebinaria/readpe/issues

From readpe 0.84-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.