opnsense-src/sys/cddl/dev
Christos Margiolis ea89133dbc kinst: check for 'push %rbp' anywhere in the function
Currently kinst checks if only the first instruction is 'push %rbp',
essentially excluding functions that do push RBP, but not in the first
instruction. This patch modifies kinst to check for 'push %rbp', as
well, as a following 'pop %rbp', anywhere in the function. This behavior
also matches that of FBT.

Reviewed by:	markj
Approved by:	markj (mentor)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D40283
2023-07-19 17:53:08 +03:00
..
dtmalloc Adjust dtmalloc_unload() definition to avoid clang 15 warning 2022-07-19 20:37:08 +02:00
dtrace dtrace: cache current probe in kdtrace_thread_t 2023-07-04 18:37:55 +03:00
fbt fbt: simplify arm64 function-prologue parsing 2023-06-03 20:04:33 +03:00
kinst kinst: check for 'push %rbp' anywhere in the function 2023-07-19 17:53:08 +03:00
profile dtrace/powerpc: Adjust AFRAMES for fbt and profile 2023-03-11 11:35:27 -05:00
sdt sdt: Create providers and probes in separate passes when loading sdt.ko 2020-12-03 17:10:00 +00:00
systrace kern: drop remaining references to removed makesyscalls.sh 2021-09-09 19:40:54 -05:00
prototype.c Adjust prototype_unload() definition to avoid clang 15 warning 2022-07-20 17:13:49 +02:00