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)
Thu, Jul 23, 6:31 AM
Unknown Object (File)
Mon, Jul 20, 5:59 AM
Unknown Object (File)
Sun, Jul 19, 6:11 PM
Unknown Object (File)
Sun, Jul 19, 1:11 PM
Unknown Object (File)
Sat, Jul 18, 9:00 PM
Unknown Object (File)
Sat, Jul 18, 5:57 PM
Unknown Object (File)
Sat, Jul 18, 1:53 PM
Unknown Object (File)
Sat, Jul 18, 2:07 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