Projects / python-ptrace

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.

Tags
Licenses
Operating Systems
Implementation

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 strace.py to show the instruction pointer. A new example (itrace.py) was added, based on strace.py. 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 gdb.py. 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 gdb.py. 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.

          Screenshot

          Project Spotlight

          OpenStack4j

          A Fluent OpenStack client API for Java.

          Screenshot

          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.