opnsense-src/sys/cddl/dev
Igor Ostapenko b4db386f9f dtrace: fix fbt regression for aarch64
fbt computes incorrect instruction position for AArch64 kernel module symbol.

The issue is with the for loop, it does an extra increment of instr pointer
after the required instruction is found. Hence, a wrong instruction is
targeted for patching.

Signed-off-by:  Igor Ostapenko <pm@igoro.pro>

Fixes:		980746e5cb ("fbt: simplify arm64 function-prologue parsing")
Reviewed by:	markj
Pull Request:	https://github.com/freebsd/freebsd-src/pull/855
MFC after:	1 week
2023-10-03 13:07:41 -04:00
..
dtmalloc sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
dtrace sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
fbt dtrace: fix fbt regression for aarch64 2023-10-03 13:07:41 -04:00
kinst kinst: do not look for a function epilogue 2023-09-15 16:33:41 +01:00
profile sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sdt sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
systrace sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
prototype.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00