2017-08-28 03:46:06 +03:00
|
|
|
$NetBSD: TODO.ptrace,v 1.29 2017/08/28 00:46:07 kamil Exp $
|
2016-12-13 12:44:35 +03:00
|
|
|
|
|
|
|
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
|
2017-01-26 04:12:13 +03:00
|
|
|
- reiterate over FreeBSD tests and add missing ones if applicable
|
2016-12-13 12:44:35 +03:00
|
|
|
- add PT_DUMPCORE tests in the ATF framework
|
|
|
|
- add ATF tests for PT_WRITE_I and PIOD_WRITE_I - test mprotect restrictions
|
2017-02-13 18:29:18 +03:00
|
|
|
- research kevent support for tracing a process over a file descriptor,
|
|
|
|
this means alternative to wait(2)-based events with passing events over the
|
|
|
|
kqueue API - signal handlers are global per application and they clash with
|
|
|
|
GUI toolkits (and perhaps other libraries) - this is long term wishlist in
|
|
|
|
GDB for Linux - the current approach is to fork and debug through GDB remote
|
|
|
|
protocol (this is how it is done in LLDB)
|
2016-12-14 09:26:04 +03:00
|
|
|
- add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS, PT_SETFPREGS
|
|
|
|
in all ports
|
2017-01-14 04:36:28 +03:00
|
|
|
- add proper implementation of PTRACE_VFORK for vfork(2)-like events
|
2016-12-24 08:43:31 +03:00
|
|
|
- add ATF tests for SIGCHLD
|
2017-02-12 08:21:34 +03:00
|
|
|
- fix more calls for netbsd32 compat
|
2017-02-14 21:38:07 +03:00
|
|
|
- research ipkdb(4)
|
2017-02-18 00:22:02 +03:00
|
|
|
- research kgdb(4)
|
2017-02-20 06:37:24 +03:00
|
|
|
- check 64-bit debugger on 64-bit kernel tracing capabilities of 32-bit tracee
|
2016-12-13 12:44:35 +03:00
|
|
|
|
|
|
|
and of course: fix as many bugs as possible.
|
|
|
|
|
|
|
|
Features in ELF, DWARF, CTF, DTrace are out of scope of the above list.
|