From 54144198f262761de161011923bba483430460b0 Mon Sep 17 00:00:00 2001 From: k4lizen <124312252+k4lizen@users.noreply.github.com> Date: Tue, 6 Aug 2024 12:41:02 +0200 Subject: [PATCH] modify follow-fork-mode tip (#2339) --- pwndbg/lib/tips.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/lib/tips.py b/pwndbg/lib/tips.py index 4797b488d..ac1b5b9fa 100644 --- a/pwndbg/lib/tips.py +++ b/pwndbg/lib/tips.py @@ -9,7 +9,7 @@ from pwndbg.color import message TIPS: List[str] = [ # GDB hints "GDB's `apropos ` command displays all registered commands that are related to the given ", - "GDB's `follow-fork-mode` parameter can be used to set whether to trace parent or child after fork() calls", + "GDB's `follow-fork-mode` parameter can be used to set whether to trace parent or child after fork() calls. Pwndbg sets it to child by default", 'Use GDB\'s `dprintf` command to print all calls to given function. E.g. `dprintf malloc, "malloc(%p)\\n", (void*)$rdi` will print all malloc calls', "Use GDB's `pi` command to run an interactive Python console where you can use Pwndbg APIs like `pwndbg.gdblib.memory.read(addr, len)`, `pwndbg.gdblib.memory.write(addr, data)`, `pwndbg.gdb.vmmap.get()` and so on!", "GDB's `set directories ` parameter can be used to debug e.g. glibc sources like the malloc/free functions!",