-
Notifications
You must be signed in to change notification settings - Fork 149
Init files
Korcan Karaokçu edited this page Jan 3, 2024
·
6 revisions
PINCE has two types of init files: gdbinit
and pinceinit
, they can be found in ~/.config/PINCE/
. gdbinit
and pinceinit
are called when PINCE gets executed, gdbinit_after_attach
and pinceinit_after_attach
are called when created or attached to a process.
You can create your own gdb commands with the gdbinit
file and then call them within GDB Console of PINCE. It's pretty useful, for full documentation please check here
You can use pinceinit
files to create your own libpince scripts. Check tests folder for examples. You can use MemoryViewer->Help->libpince for the complete documentation of the available libpince functions and members.