kcov: Disable address and memory sanitizers in get_kinfo()
get_kinfo() is only called from the coverage sanitizer callbacks, which are similarly uninstrumented. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
197a4f29f3
commit
40fcdb9366
@ -165,7 +165,7 @@ SYSCTL_UINT(_kern_kcov, OID_AUTO, max_entries, CTLFLAG_RW,
|
||||
static struct mtx kcov_lock;
|
||||
static int active_count;
|
||||
|
||||
static struct kcov_info *
|
||||
static struct kcov_info * __nosanitizeaddress __nosanitizememory
|
||||
get_kinfo(struct thread *td)
|
||||
{
|
||||
struct kcov_info *info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user