Git Product home page Git Product logo

gxf's Introduction

gxf

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

http://i.imgur.com/o5lTnZH.png

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

FAQ

  • TypeError: int() argument must be a string or a number, not 'list'

    This error is probably due to your argcomplete version being too old and having bugs. See requirements.txt for the minimum version you need.

  • I keep seeing lots of other tracebacks.

    That is expected for the moment, I'm focusing on the framework and don't bother catching all the exception in the extensions where I should be displaying decent error messages. This will be done in the future, but for the moment it is normal if you see tracebacks when gxf tries to access program memory that isn't mapped. This happend for example when rip or rsp is invalid.

gxf's People

Contributors

wapiflapi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.