History log of /freebsd-current/contrib/elftoolchain/libelftc/elftc_string_table.c
Revision Date Author Comments
# b90eaf94 26-Jun-2019 Mark Johnston <markj@FreeBSD.org>

libelftc: Consistently use size_t for string table offsets and sizes.

Reviewed by: emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20702


# 70b0aff9 26-Jun-2019 Mark Johnston <markj@FreeBSD.org>

libelftc: Micro-optimize string table insertion.

The string's length is already known, so use memcpy() instead of
strcpy() to add it to the string table image.

Reviewed by: emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20760


# 0d951ba8 04-Jun-2019 Mark Johnston <markj@FreeBSD.org>

libelftc: Fix some minor style bugs.

Reviewed by: emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20472