freebsd-nq/sys/cddl
Andrew Turner d0df1a2d54 Only allow a store through sp in the arm64 fbt
When searching for an instruction to patch out in the arm64 function
boundary trace we search for a store pair with a write back. This
instruction is commonly used to store two registers to the stack
and update the stack pointer to hold space for more.

This works in many cases, however not all functions use this, e.g.
when the stack frame is too large. In these cases we may find another
instruction of the same type that doesn't store through the stack
pointer. Filter these instructions out and assume if we see one we
are past the function prologue.

Reported by:	rwatson
Sponsored by:	Innovate UK
2021-01-12 12:42:23 +00:00
..
boot/zfs Turn off zstd on aarch64 2020-10-13 02:36:16 +00:00
compat/opensolaris Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
contrib/opensolaris Only allow a store through sp in the arm64 fbt 2021-01-12 12:42:23 +00:00
dev Only allow a store through sp in the arm64 fbt 2021-01-12 12:42:23 +00:00