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)
Mon, May 18, 9:20 AM
Unknown Object (File)
Mon, May 18, 9:12 AM
Unknown Object (File)
Mon, May 18, 8:22 AM
Unknown Object (File)
Mon, May 18, 8:17 AM
Unknown Object (File)
Sun, May 17, 10:18 PM
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
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