Page MenuHomeFreeBSD

libelftc: Micro-optimize strtab insertion.
ClosedPublic

Authored by markj on Jun 25 2019, 4:24 PM.

Details

Summary

We already know the length of the string, so use memcpy() instead of
strcpy() to add it to the string table image.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.