mirror of
https://github.com/opnsense/src.git
synced 2026-04-27 09:06:49 -04:00
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 |
||
|---|---|---|
| .. | ||
| amd64 | ||
| riscv | ||
| kinst.c | ||
| kinst.h | ||
| trampoline.c | ||