diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2026-03-23 17:23:05 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-03-23 17:23:05 +0000 |
| commit | c06c65e0308fdfc14e455f5067a2f5dcfd9c1b77 (patch) | |
| tree | 7fd518be430e221d8933994be6177bbb2ecd5adf /fuzz/mutator_aux.c | |
| parent | e85dbcdab023dbfc335f9a0a5cb9c3dc3f830b94 (diff) | |
Vendor import of libfido2 1.15.0vendor/libfido2/1.15.0
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'fuzz/mutator_aux.c')
| -rw-r--r-- | fuzz/mutator_aux.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fuzz/mutator_aux.c b/fuzz/mutator_aux.c index 64c633f15f92..ebddf1046ba1 100644 --- a/fuzz/mutator_aux.c +++ b/fuzz/mutator_aux.c @@ -135,12 +135,18 @@ void mutate_byte(uint8_t *b) { LLVMFuzzerMutate(b, sizeof(*b), sizeof(*b)); +#ifdef WITH_MSAN + __msan_unpoison(b, sizeof(*b)); +#endif } void mutate_int(int *i) { LLVMFuzzerMutate((uint8_t *)i, sizeof(*i), sizeof(*i)); +#ifdef WITH_MSAN + __msan_unpoison(i, sizeof(*i)); +#endif } void |
