Patterned after explicit_bzero sans the hook.
SSP hardening is provided, too.
The function is documented in memset(3).
Details
Details
passes newly added unit tests
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
- lib/libc/string/memset_explicit.c: add weak hook to confuse LTO inlining
As requested by @emaste.