Skip to content
/ gxf Public
forked from wapiflapi/gxf

Gdb Extension Framework is a bunch of python code around the gdb api.

License

Notifications You must be signed in to change notification settings

Talanor/gxf

 
 

Repository files navigation

gxf

Gdb Extension Framework is a bunch of python code around the gdb api.

How to use:

$ python3 setup.py install # or develop
$ gdb
(gdb) python import gxf.extensions
(gdb) help gx

How to compile gdb with python3:

$ git clone git://sourceware.org/git/binutils-gdb.git
$ cd binutils-gdb
$ ./configure --with-python=python3
$ make && sudo make install

How to cuse peda alongside gxf:

diff --git a/peda.py b/peda.py
index fd5b8d9..cc74b07 100644
--- a/peda.py
+++ b/peda.py
@@ -5965,8 +5965,9 @@ signal.signal(signal.SIGINT, sigint_handler)

# custom hooks
peda.define_user_command("hook-stop",
-    "peda context\n"
-    "session autosave"
+    "\n"
+    # "peda context\n"
+    # "session autosave"
     )

 # common used shell commands aliases

About

Gdb Extension Framework is a bunch of python code around the gdb api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.3%
  • Makefile 8.8%
  • Shell 6.9%