mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -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 |
||
|---|---|---|
| .. | ||
| kinst_isa.c | ||
| kinst_isa.h | ||