#gdb #tui #debugging #embedded #gdbserver

app heretek

GDB TUI Dashboard for the understanding of vast knowledge

12 unstable releases (3 breaking)

0.4.0 Jan 15, 2025
0.3.0 Jan 10, 2025
0.2.0 Jan 3, 2025
0.1.0 Jan 2, 2025
0.1.0-rc9 Dec 17, 2024

#116 in Development tools

Download history 221/week @ 2024-12-04 561/week @ 2024-12-11 276/week @ 2024-12-18 24/week @ 2024-12-25 347/week @ 2025-01-01 166/week @ 2025-01-08 143/week @ 2025-01-15

693 downloads per month

MIT/Apache and AGPL-3.0-only

195KB
3K SLoC

heretek

github crates.io build status

GDB TUI Dashboard. Connect remotely with gdb when you don't have a working gdbserver, and show tui inspired by gef.

  • No gdbserver requirements: Many vendors ship invalid gdbserver binaries, this works on remote targets with just gdb, nc, cat, and mkfifo.
  • No python requirements: Many vendors ship gdb without python support.
  • Architecture agnostic: heretek only uses information given by gdb, no extra code required!

screenshot

Build

Either build from published source in crates.io.

$ cargo install heretek --locked

Or download from github releases.

Usage

GDB TUI Dashboard for the understanding of vast knowledge

Usage: heretek [OPTIONS]

Options:
      --gdb-path <GDB_PATH>
          Override gdb executable path

  -r, --remote <REMOTE>
          Connect to nc session

          `mkfifo gdb_pipe; cat gdb_pipe | gdb --interpreter=mi | nc -l -p 12345 > gdb_pipe`

      --32
          Switch into 32-bit mode

  -c, --cmds <CMDS>
          Execute GDB commands

          lines starting with # are ignored

      --log-path <LOG_PATH>
          Path to write log

          Set env `RUST_LOG` to change log level

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Info

See commands for internal heretek commands.

"To every problem, a solution lies in the application of tech-lore" - Ferrarch Asklepian, Warhammer 40,000: Mechanicus

Dependencies

~13–24MB
~359K SLoC