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)
Wed, Jul 15, 7:05 AM
Unknown Object (File)
Wed, Jul 15, 7:05 AM
Unknown Object (File)
Sat, Jul 4, 12:06 AM
Unknown Object (File)
Fri, Jul 3, 5:19 PM
Unknown Object (File)
Jun 7 2026, 12:36 PM
Unknown Object (File)
Jun 7 2026, 12:34 PM
Unknown Object (File)
Jun 7 2026, 12:14 AM
Unknown Object (File)
Jun 6 2026, 7:35 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 70372
Build 67255: arc lint + arc unit