Skip to content

CableSynth/heretek

 
 

Repository files navigation

heretek

github crates.io build status

Yet Another gdb TUI. Connect remotely with gdb when you don't have a working gdbserver, and show a 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

Yet Another GDB TUI

Usage: heretek [OPTIONS]

Options:
  -l, --local
          Run gdb as child process

  -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, --cmd <CMD>
          Execute GDB commands

  -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

About

Yet Another GDB TUI Frontend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%