SamuPert / custom-addon-peda

This code allows you to add custom extensions to the gdb peda debugger. You can create extensions to run custom commands in gdb-peda.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License Versioning PreReleaseDate LastUpdate

Custom Addon creator for gdb-peda

Add your custom commands into gdb-peda in a easy way.

Installation

Create custom commands

Steps:

  1. Follow "Installation" steps.
  2. Create a file in ~/custom-addons-peda/addons/ folder.
  3. Create a class in that file.
  4. Inside that class create a function.
  5. Save.
  6. Open gdb and use newly created commands.

How can i use my custom commands?

Custom commands are displayed in gdb when it's launched.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
========= Dext3r98 Addon =========
Loaded commands: MyPedaCommand, hacktheplanet
==================================
Reading symbols from uaf...(no debugging symbols found)...done.
gdb-peda$ 

Commands are mapped to function names.

def MyAwesomeFunction(self,args*):
	.....
	return True

Will be invoked in gdb as:

gdb-peda$ MyAwesomeFunction args ...

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

About

This code allows you to add custom extensions to the gdb peda debugger. You can create extensions to run custom commands in gdb-peda.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%