EDB(1)

πŸ’– EDB β€” Evan's Debugger, bestie edition πŸ’–

okay so you found edb, and honestly? iconic behavior. it's the edb manual page, page 1, and i'm about to walk you through it like we're texting at 2am. no cap. 🫢


✨ NAME ✨

edb β€” a graphical debugger and disassembler for executables. yes, both. she does it all. πŸ‘‘


🌸 SYNOPSIS 🌸

edb [OPTION]... [TARGET]

πŸ¦‹ DESCRIPTION πŸ¦‹

so edb (that's Evan's Debugger, keep up πŸ’…) is a modular and modern disassembler and debugger for binary ELF files. she's built on the ptrace API and the capstone disassembly library. it's giving "i debug binaries for breakfast". πŸ”₯

here's the whole menu of things she can do:

  • --help β€” shows you the usage and then dips out. bye bestie πŸ‘‹
  • --symbols <file> β€” generates a symbols map for the file <file>. yes, that's exactly what you think it is. ✨
  • --attach <pid> β€” attaches the process of PID <pid> to the debugger. like grabbing your friend's hand and pulling them into the group chat. 🫢
  • --run <program> [args...] β€” opens <program> in the debugger, with optional [args...] if you wanna be extra. πŸ’…
  • --version β€” shows the version string and exits. short, sweet, slay.
  • --dump-version β€” shows the version and exits. yeah, it's a whole different flag from --version. she contains multitudes. πŸ™ˆ

πŸ’œ EXAMPLE πŸ’œ

watch her work:

edb --symbols /lib/libc.so.6 > libc.so.6.map

this one will generate symbols for libc and save it in a text file. it's useful if you store these map files in the symbols directory configured in edb's preferences. iykyk. πŸŽ€

for i in $(ls /lib); do edb --symbols $i > $(basename $i).map; done

useful to generate maps for all the libs you have in /lib. one loop, all the maps, main character energy. 🌈

edb --run /bin/ls

this will open the ls program binary in the debugger. yes, ls. even ls deserves a moment under the spotlight. πŸ‘‘

edb --attach 1720

attaches the process of PID 1720 to the debugger. 1720 specifically. she said so. ✨


🌟 AUTHOR 🌟

written by Evan Teran <evan.teran@gmail.com>. thank you for your service, king. 🫑


😭 REPORTING BUGS 😭

found a bug? want a feature? don't suffer in silence, bestie. report any bugs or requests for features via BTS on https://github.com/eteran/edb-debugger/issues. fr fr, they want to hear it. πŸ’Œ


Copyright Β© 2008 CodeF00. Licensed GPLv2: GNU GPL version 2 http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.

this is free software: you are free to change and redistribute it. and listen β€” there is NO WARRANTY, to the extent permitted by law. that's the dramatic part, don't skip it. πŸ’€


and that's the whole page, gorgeous. this was the edb manual page, dated December 2011, living in section EDB(1). go debug something and make me proud. mwah. πŸ’–βœ¨πŸŽ€