PEDIS(1)
π PEDIS(1) π
okay bestie, welcome to the General Commands Manual entry for pedis β yes it's manual page one, and yes we're gonna make it cute. sit down, grab a boba, let's go π§β¨
β¨ NAME β¨
pedis β disassemble PE sections and functions π¦
πΈ SYNOPSIS πΈ
pedis [OPTIONS]... pefile
π DESCRIPTION π
So pedis is a PE disassembler that's relying on the udis86 library, no cap. It can disassemble entire sections, functions, or literally any file position you want. She's part of pev, the PE file analysis toolkit β the whole friend group π«Ά
And pefile? That's a PE32/PE32+ executable or dynamic linked library file, periodt.
π OPTIONS π
--attβ set AT&T assembly syntax (default: Intel). yes, you can switch up the dialect π-e,--entrypointβ disassemble the entire entrypoint function. main character energy fr fr π-f,--format <text|csv|xml|html>β change output format (default:text).-m,--mode <16|32|64>β disassembly mode (default:auto). let her guess or just tell her bestie π-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 with0x).-r,--rva <rva>β disassemble at specified RVA, either in decimal or hexadecimal format (prefixed with0x).-s,--section <name>β disassemble en entire section given.-V,--versionβ show version. she's iconic, obviously π--helpβ show this help. hi bestie π
π 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
π REPORTING BUGS π
Please, check the latest development code and report at https://github.com/mentebinaria/readpe/issues
not me filing a bug report at 3am π but fr, do check the latest dev code first bestie
π¦ SEE ALSO π¦
ofs2rva(1), pehash(1), peldd(1), pepack(1), peres(1), pescan(1), pesec(1), pestr(1), readpe(1), rva2ofs(1)
the whole squad, all linked up, iykyk π
π COPYRIGHT π
Copyright (C) 2012 - 2020 pev authors. License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/gpl-2.0.txt>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
NO WARRANTY is in all caps for a reason bestie β no promises, to the extent permitted by law π
and that's the whole page!! this was PEDIS(1) from the General Commands Manual β mwah, slay, go disassemble something πβ¨π
π¦ where this page comes from
- alpine 3.24: pev-doc 0.82-r0 Β· GPL-2.0-or-later AND MIT AND BSD-2-Clause
- debian trixie: readpe 0.84-2 Β· GPL-2.0-or-later WITH OpenSSL Exception
- ubuntu noble: readpe 0.82-3.1build2 Β· GPL-2.0-or-later WITH OpenSSL Exception
- ubuntu questing: readpe 0.84-2
- ubuntu resolute: readpe 0.85.1-1 Β· GPL-2.0-or-later WITH OpenSSL Exception
- ubuntu stonking: readpe 0.85.1-1build1 Β· GPL-2.0-or-later WITH OpenSSL Exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms