HomeFreeBSD

dtrace: Add WITH_DTRACE_ASAN

Description

dtrace: Add WITH_DTRACE_ASAN

This option is a blanket for all the DTrace-related software. The option
when enabled passes in -fsanitize=address -fsanitize=undeifned, enabling
ASAN and UBSAN in the following components:

  • libdtrace
  • dtrace(1)
  • lockstat(1)
  • plockstat(1)

The option defaults to "no" and is intended as a developer aid.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D41157

Details

Provenance
domagoj.stolfa_gmail.comAuthored on Jul 27 2023, 6:27 PM
markjCommitted on Jul 27 2023, 8:07 PM
Reviewer
markj
Differential Revision
D41157: dtrace: Add WITH_DTRACE_ASAN.
Parents
rG1083a8cd855b: pcpu: Remove unused definitions of ALT_STACK_SIZE
Branches
Unknown
Tags
Unknown