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, Aug 8, 5:14 PM
Unknown Object (File)
Sat, Aug 8, 5:12 PM
Unknown Object (File)
Sat, Aug 8, 5:08 PM
Unknown Object (File)
Wed, Aug 5, 7:12 AM
Unknown Object (File)
Tue, Aug 4, 2:52 AM
Unknown Object (File)
Jul 25 2026, 6:00 AM
Unknown Object (File)
Jul 23 2026, 6:31 AM
Unknown Object (File)
Jul 20 2026, 5:59 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