Page MenuHomeFreeBSD

libelftc: Use size_t for string table size hints.
ClosedPublic

Authored by markj on Jun 19 2019, 8:54 PM.

Details

Summary

String table offsets are returned as a size_t, so we might as well be
consistent.

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.

Event Timeline

This is incomplete.

Consistently use (s)size_t for table size and offsets.

Deleted entries have a negative offset, so we use ssize_t there.

This revision is now accepted and ready to land.Jun 21 2019, 1:13 PM