Package vtrace :: Package platforms :: Module freebsd
[hide private]
[frames] | no frames]

Module freebsd

source code

FreeBSD support...

Classes [hide private]
  PRIORITY
  TIMEVAL
  RUSAGE
  KINFO_PROC
  PTRACE_IO_DESC
  PTRACE_LWPINFO
  FreeBSDMixin
  bsd_regs_i386
  bsd_regs_amd64
  FreeBSDi386Trace
  FreeBSDAmd64Trace
Functions [hide private]
 
c_buf(size) source code
Variables [hide private]
  libc = ctypes.CDLL(cutil.find_library("c"))
  libkvm = ctypes.CDLL(cutil.find_library("kvm"))
  KERN_PROC_ALL = 0
  KERN_PROC_PID = 1
  KERN_PROC_PGRP = 2
  KERN_PROC_SESSION = 3
  KERN_PROC_TTY = 4
  KERN_PROC_UID = 5
  KERN_PROC_RUID = 6
  KERN_PROC_ARGS = 7
  KERN_PROC_PROC = 8
  KERN_PROC_SV_NAME = 9
  KERN_PROC_RGID = 10
  KERN_PROC_GID = 11
  KERN_PROC_PATHNAME = 12
  KERN_PROC_INC_THREAD = 0x10
  pid_t = ctypes.c_int32
  lwpid_t = ctypes.c_int32
  void_p = ctypes.c_void_p
  dev_t = ctypes.c_uint32
  sigset_t = ctypes.c_uint32* 4
  uid_t = ctypes.c_uint32
  gid_t = ctypes.c_uint32
  fixpt_t = ctypes.c_uint32
  caddr_t = ctypes.c_void_p
  vm_size_t = ctypes.c_ulong
  segsz_t = ctypes.c_ulong
  KI_NGROUPS = 16
  OCOMMLEN = 16
  WMESGLEN = 8
  LOGNAMELEN = 17
  LOCKNAMELEN = 8
  COMMLEN = 19
  KI_EMULNAMELEN = 16
  KI_NSPARE_INT = 10
  KI_NSPARE_PTR = 7
  KI_NSPARE_LONG = 12
  PT_TRACE_ME = 0
  PT_READ_I = 1
  PT_READ_D = 2
  PT_WRITE_I = 4
  PT_WRITE_D = 5
  PT_CONTINUE = 7
  PT_KILL = 8
  PT_STEP = 9
  PT_ATTACH = 10
  PT_DETACH = 11
  PT_IO = 12
  PT_LWPINFO = 13
  PT_GETNUMLWPS = 14
  PT_GETLWPLIST = 15
  PT_CLEARSTEP = 16
  PT_SETSTEP = 17
  PT_SUSPEND = 18
  PT_RESUME = 19
  PT_TO_SCE = 20
  PT_TO_SCX = 21
  PT_SYSCALL = 22
  PT_GETREGS = 33
  PT_SETREGS = 34
  PT_GETFPREGS = 35
  PT_SETFPREGS = 36
  PT_GETDBREGS = 37
  PT_SETDBREGS = 38
  PIOD_READ_D = 1
  PIOD_WRITE_D = 2
  PIOD_READ_I = 3
  PIOD_WRITE_I = 4
  PL_EVENT_NONE = 0
  PL_EVENT_SIGNAL = 1
  PL_FLAGS_SA = 0
  PL_FLAGS_BOUND = 1
  i386_DBG_OFF = 19* 4
  amd64_DBG_OFF = 22* ctypes.sizeof(ctypes.c_uint64)