File: README.cptrace

package info (click to toggle)
python-ptrace 0.6.4-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 620 kB
  • sloc: python: 6,213; ansic: 241; makefile: 13; sh: 1
file content (18 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
+++++++++++++++++++++
cptrace Python module
+++++++++++++++++++++

Python binding for ptrace written in C.

Example
=======

Dummy example: ::

    >>> import cptrace
    >>> cptrace.ptrace(1, 1)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ValueError: ptrace(request=1, pid=1, 0x(nil), 0x(nil)) error #1: Operation not permitted