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, Oct 7, 3:47 AM
Unknown Object (File)
Wed, Oct 7, 3:34 AM
Unknown Object (File)
Tue, Oct 6, 1:30 PM
Unknown Object (File)
Fri, Oct 2, 3:27 PM
Unknown Object (File)
Fri, Oct 2, 3:20 PM
Unknown Object (File)
Fri, Oct 2, 3:09 PM
Unknown Object (File)
Fri, Oct 2, 2:55 PM
Unknown Object (File)
Wed, Sep 16, 12:14 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