sh_type == SHT_STRTABare called string tables.
They hold a null separated array of strings.
Such sections are used by other sections when string names are to be used. The using section says:
- which string table they are using
- what is the index on the target string table where the string starts
So for example, we could have a string table containing:
The first byte must be a 0. TODO rationale?
And if another section wants to use the string
d e f, they have to point to index
5of this section (letter
Notable string table sections: