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)
Sun, Apr 12, 12:27 AM
Unknown Object (File)
Sat, Apr 11, 9:37 PM
Unknown Object (File)
Mar 14 2026, 2:22 AM
Unknown Object (File)
Mar 13 2026, 10:06 PM
Unknown Object (File)
Mar 12 2026, 7:23 PM
Unknown Object (File)
Mar 11 2026, 1:06 PM
Unknown Object (File)
Mar 7 2026, 7:19 AM
Unknown Object (File)
Mar 3 2026, 8:19 PM
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