opnsense-src/sys/cddl/dev/fbt
Igor Ostapenko 2ba605f32a 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

(cherry picked from commit b4db386f9fa7be9668aa09d14b0bbd048a7a7e89)
2023-10-10 09:41:39 -04:00
..
aarch64 dtrace: fix fbt regression for aarch64 2023-10-10 09:41:39 -04:00
arm sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
powerpc sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
riscv sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
x86 sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fbt.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fbt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00