31 lines
1.5 KiB
Plaintext
31 lines
1.5 KiB
Plaintext
$NetBSD: TODO.ptrace,v 1.8 2016/12/26 08:43:55 kamil Exp $
|
|
|
|
Items we (currently) plan to finish in the ptrace(2) field:
|
|
|
|
- verify ppid of core dump generated with PT_DUMPCORE
|
|
it must point to the real parent, not tracer
|
|
- adapt OpenBSD regress test (regress/sys/ptrace/ptrace.c) for the ATF context
|
|
- add new ptrace(2) calls to lock (suspend) and unlock LWP within a process
|
|
- add PT_DUMPCORE tests in the ATF framework
|
|
- add ATF tests for PT_WRITE_I and PIOD_WRITE_I - test mprotect restrictions
|
|
- add ATF tests for PIOD_READ_AUXV
|
|
- once the API for hardware watchpoints will stabilize, document it
|
|
- add tests for the procfs interface covering all functions available on the
|
|
same level as ptrace(2)
|
|
- add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS, PT_SETFPREGS
|
|
in all ports
|
|
- integrate all ptrace(2) features in gdb
|
|
- add ptrace(2) NetBSD support in LLDB
|
|
- add support for detecting equivalent events to PTRACE_O_TRACEEXEC,
|
|
PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXIT from Linux
|
|
- exect(3) rethink or remove -- maybe PT_TRACE_ME + PTRACE_O_TRACEEXEC?
|
|
- refactor pthread_dbg(3) to only query private pthread_t data, otherwise it
|
|
duplicates ptrace(2) interface and cannot cover all types of threads
|
|
- add ATF tests for SIGCHLD
|
|
- add ATF tests for PT_SYSCALL and PT_SYSCALLEMU
|
|
- add support to read and write siginfo_t from and to tracee (reuse PT_IO?)
|
|
|
|
and of course: fix as many bugs as possible.
|
|
|
|
Features in ELF, DWARF, CTF, DTrace are out of scope of the above list.
|