File: __init__.py

package info (click to toggle)
python-ptrace 0.9.9-0.3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 808 kB
  • sloc: python: 10,167; ansic: 263; makefile: 164
file content (28 lines) | stat: -rw-r--r-- 1,209 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from ptrace.binding.func import (   # noqa
    HAS_PTRACE_SINGLESTEP, HAS_PTRACE_EVENTS,
    HAS_PTRACE_IO, HAS_PTRACE_SIGINFO, HAS_PTRACE_GETREGS,
    HAS_PTRACE_GETREGSET, REGISTER_NAMES,
    ptrace_attach, ptrace_traceme,
    ptrace_detach, ptrace_kill,
    ptrace_cont, ptrace_syscall,
    ptrace_setregs,
    ptrace_peektext, ptrace_poketext,
    ptrace_peekuser,
    ptrace_registers_t)
if HAS_PTRACE_EVENTS:
    from ptrace.binding.func import (WPTRACEEVENT,   # noqa
                                     PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE,
                                     PTRACE_EVENT_EXEC,
                                     ptrace_setoptions, ptrace_geteventmsg)
if HAS_PTRACE_SINGLESTEP:
    from ptrace.binding.func import ptrace_singlestep   # noqa
if HAS_PTRACE_SIGINFO:
    from ptrace.binding.func import ptrace_getsiginfo   # noqa
if HAS_PTRACE_IO:
    from ptrace.binding.func import ptrace_io   # noqa
    from ptrace.binding.freebsd_struct import (   # noqa
        ptrace_io_desc,
        PIOD_READ_D, PIOD_WRITE_D,
        PIOD_READ_I, PIOD_WRITE_I)
if HAS_PTRACE_GETREGS or HAS_PTRACE_GETREGSET:
    from ptrace.binding.func import ptrace_getregs   # noqa