HomeFreeBSD

Add DEBUG_POISON_POINTER

Description

Add DEBUG_POISON_POINTER

If you have a pointer which you know points to stale data, you can
fill it with junk so that dereference later will trap

Reviewed by: kib
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D40946

Details

Provenance
mjgAuthored on Nov 28 2023, 3:23 PM
Reviewer
kib
Differential Revision
D40946: Add DEBUG_POISON_POINTER
Parents
rGc7368ccb6801: xen: remove xen_domain_type enum/variable
Branches
Unknown
Tags
Unknown