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, Sep 16, 12:14 AM
Unknown Object (File)
Mon, Sep 14, 11:44 PM
Unknown Object (File)
Thu, Sep 10, 7:05 PM
Unknown Object (File)
Wed, Sep 9, 8:06 PM
Unknown Object (File)
Aug 8 2026, 5:14 PM
Unknown Object (File)
Aug 8 2026, 5:12 PM
Unknown Object (File)
Aug 8 2026, 5:08 PM
Unknown Object (File)
Aug 5 2026, 7:12 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