Projects / python-ptrace


python-ptrace is a debugger using ptrace written in Python. It's able to control multiple processes, read/write bytes, perform breakpoint and step by step execution, use a disassembler, syscall tracer, and parser, explain why a signal is raised, dump registers, stack, and memory mappings, etc.

Operating Systems

Recent releases

  •  15 Feb 2009 04:55

    Release Notes: python-ptrace now depends on Python 2.5. When invalid memory access is detected, the fault address is added in the name. The -i (--show-ip) option was added to to show the instruction pointer. A new example ( was added, based on The Python 3.0 conversion patch was updated.

    •  13 Sep 2008 04:27

      Release Notes: This release has an example (the most simple debugger) and the beginnings of code documentation. It has a "dbginfo" command for It parses socket syscalls on FreeBSD. On invalid memory access (SIGSEGV), the dereference expression is evaluated to get the fault address on OS without siginfo (eg. FreeBSD). There are fixes to achieve minimal Windows support (imports, locateProgram(), etc.).

      •  03 Sep 2008 14:43

        Release Notes: A typographical error was fixed in A typographical error was fixed in the SignalInfo class. When a process received a SIGCHLD signal (because of a fork), the debugger exited because of this bug. Debugger._wait() returned an abnormal process exit as a normal event, and the event was not raised as an exception. PtraceSignal does not clear preformatted arguments (such as arguments of execve).

        •  24 Aug 2008 13:37

          No changes have been submitted for this release.


          Project Spotlight


          A Fluent OpenStack client API for Java.


          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.