freebsd-dev/sys/cddl/dev/dtrace
Andrew Turner 256c5d705a Don't overflow the trap frame when accessing lr or xzr.
When emulating a load pair or store pair in dtrace on arm64 we need to
copy the data between the stack and trap frame. When the registers are
either the link register or the zero register we will access memory
past the end of the trap frame as these are encoded as registers 30 and
31 respectively while the array they access only has 30 entries.

Fix this by creating 2 helper functions to perform the operation with
special cases for these registers.

Sponsored by:	Innovate UK
2020-07-17 14:39:07 +00:00
..
aarch64 Don't overflow the trap frame when accessing lr or xzr. 2020-07-17 14:39:07 +00:00
amd64 dtrace: 64-bits registers support 2019-10-04 16:17:00 +00:00
arm Remove scary-looking printf output that happens when you kldload dtrace on 2020-01-09 22:51:37 +00:00
i386 Implement x86 dtrace_invop_(un)init() in C. 2019-09-23 15:08:17 +00:00
mips Handle non-dtrace-triggered kernel breakpoint traps in mips. 2020-04-21 17:38:07 +00:00
powerpc powerpc/dtrace: Actually fix stack traces 2019-05-17 19:57:08 +00:00
riscv Fix entering KDB with dtrace-enabled kernel. 2020-05-26 16:44:05 +00:00
x86
dtrace_anon.c
dtrace_cddl.h Fix a tracepoint lookup race in fasttrap_pid_probe(). 2019-02-21 22:54:17 +00:00
dtrace_debug.c
dtrace_hacks.c
dtrace_ioctl.c
dtrace_load.c
dtrace_modevent.c
dtrace_sysctl.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
dtrace_test.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
dtrace_unload.c
dtrace_vtime.c