mirror of
https://github.com/hugsy/gef.git
synced 2026-10-12 02:15:57 +00:00
This PR adds `pre-commit` to facilitate and unify the formatting of everything in this project (code, test, docs, ci). Aside from `.pre-commit-config.yml` and `docs/.markdownlint.yaml`, all the other changes are purely cosmetic, applying markdownlint and fixing here and there to make it pass. It also creates a new CI job that'll simply execute `pre-commit` for new PRs.
947 B
947 B
Command process-status
This command replaces the old commands
pidandfd.
process-status provides an exhaustive description of the current running process, by extending the
information provided by GDB info proc command, with all the information from the procfs
structure.
gef➤ ps --smart-scan zsh
22879
gef➤ attach 22879
[...]
gef➤ status
[+] Process Information
PID → 22879
Executable → /bin/zsh
Command line → '-zsh'
[+] Parent Process Information
Parent PID → 4475
Command line → 'tmux new -s cool vibe
[+] Children Process Information
PID → 26190 (Name: '/bin/sleep', CmdLine: 'sleep 100000')
[+] File Descriptors:
/proc/22879/fd/0 → /dev/pts/4
/proc/22879/fd/1 → /dev/pts/4
/proc/22879/fd/2 → /dev/pts/4
/proc/22879/fd/10 → /dev/pts/4
[+] File Descriptors:
No TCP connections