Page MenuHomeFreeBSD

asan: Use memset_early() to fill shadow memory
ClosedPublic

Authored by markj on Feb 3 2026, 2:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 4, 12:06 AM
Unknown Object (File)
Fri, Jul 3, 5:19 PM
Unknown Object (File)
Jun 7 2026, 12:36 PM
Unknown Object (File)
Jun 7 2026, 12:34 PM
Unknown Object (File)
Jun 7 2026, 12:14 AM
Unknown Object (File)
Jun 6 2026, 7:35 AM
Unknown Object (File)
Jun 4 2026, 5:51 AM
Unknown Object (File)
May 18 2026, 9:20 AM
Subscribers

Details

Summary

__builtin_memset() calls are replaced with calls to memcpy(), but this
can't be used before ifunc relocations are processed. Just
unconditionally use memset_early() to work around this.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable