opnsense-src/sys/cddl/dev/kinst
Mark Johnston 2bd47ff645 dtrace: Add some more annotations for KMSAN
- Don't allow FBT and kinst to instrument the KMSAN runtime.
- When fetching data from the traced thread's stack, mark it as
  initialized.  It may well be uninitialized, but as dtrace permits
  arbitrary inspection of kernel memory, it isn't very useful to raise
  KMSAN reports.
- Mark data copied in from userspace as initialized, as we do for
  copyin() etc. using interceptors.

MFC after:	2 weeks

(cherry picked from commit fdeb273d49bf2fa2544d3c98114859db10385550)
2024-12-13 01:34:14 +00:00
..
aarch64 kinst: port to arm64 2023-07-19 17:58:18 +03:00
amd64 kinst: check for 'push %rbp' anywhere in the function 2023-07-19 17:53:08 +03:00
riscv kinst: use per-probe trampolines in riscv 2023-07-19 17:57:59 +03:00
kinst.c dtrace: Add some more annotations for KMSAN 2024-12-13 01:34:14 +00:00
kinst.h kinst.h: make pointer to probe in kinst_cpu_state const 2023-07-19 19:57:44 +03:00
trampoline.c kinst: start moving towards per-probe trampolines 2023-07-19 17:57:21 +03:00