tips.py: add GDB hint for pipe <cmd> | <prog> (#2769)

* tips.py: add GDB hint for pipe <cmd> | <prog>

* Update pwndbg/lib/tips.py
pull/2776/head
Disconnect3d 9 months ago committed by GitHub
parent 9685c19a2e
commit d9fac34dd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -15,6 +15,7 @@ TIPS: List[str] = [
"GDB's `set directories <path>` parameter can be used to debug e.g. glibc sources like the malloc/free functions!",
"If you have debugging symbols the `info args` command shows current frame's function arguments (use `up` and `down` to switch between frames)",
'Calling functions like `call (void)puts("hello world")` will run all other target threads for the time the function runs. Use `set scheduler-locking on` to lock the execution to current thread when calling functions',
"Use the `pipe <cmd> | <prog>` command to pass output of a GDB/Pwndbg command to a shell program, e.g. `pipe elfsections | grep bss`. This can also be shortened to: `| <cmd> | <prog>`",
# Pwndbg hints
"If you want Pwndbg to clear screen on each command (but still save previous output in history) use `set context-clear-screen on`",
"The `set show-flags on` setting will display CPU flags register in the regs context panel",

Loading…
Cancel
Save