opnsense-src/sys/cddl/dev
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
..
dtmalloc malloc: move malloc_type_internal into malloc_type 2020-11-06 21:33:59 +00:00
dtrace Changes that improve DTrace FBT reliability on freebsd/arm64: 2021-01-11 15:42:22 +00:00
fbt Only allow a store through sp in the arm64 fbt 2021-01-12 12:42:23 +00:00
profile Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
sdt sdt: Create providers and probes in separate passes when loading sdt.ko 2020-12-03 17:10:00 +00:00
systrace Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
prototype.c Use C99 initializers for DTrace provider methods. 2017-09-27 17:46:38 +00:00