freebsd-dev/sys/cddl/dev
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
..
dtmalloc dtrace: depessimize dtmalloc when dtrace is active 2018-04-24 01:06:20 +00:00
dtrace Don't overflow the trap frame when accessing lr or xzr. 2020-07-17 14:39:07 +00:00
fbt powerpc/dtrace: Fix fbt function probing for ELFv2 2019-05-27 03:18:56 +00:00
profile Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
sdt lockstat: track lockstat just like sdt probes 2018-04-24 01:04:10 +00:00
systrace Clear systrace_args_func when systrace probes are disabled. 2020-02-28 17:04:36 +00:00
prototype.c