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
F163119177: D55079.id171071.diff
Mon, Jul 20, 5:59 AM
F163062864: D55079.id171071.diff
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
Unknown Object (File)
Wed, Jul 15, 7:05 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