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, May 10, 7:35 AM
Unknown Object (File)
Sun, May 10, 7:26 AM
Unknown Object (File)
Mon, Apr 27, 3:12 PM
Unknown Object (File)
Sat, Apr 25, 1:05 PM
Unknown Object (File)
Sat, Apr 25, 2:09 AM
Unknown Object (File)
Apr 12 2026, 12:27 AM
Unknown Object (File)
Apr 11 2026, 9:37 PM
Unknown Object (File)
Mar 14 2026, 2:22 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