Functions | |
ELF_SPEC_HEADER * | melf_stringTableCreate (MELF *melf, const char *name) |
void | melf_stringTableInitializeEntryList (MELF *melf, ELF_SPEC_HEADER *sect) |
void | melf_stringTableSynchronizeEntryList (MELF *melf, ELF_SPEC_HEADER *sect) |
unsigned long | melf_stringTableSetString (MELF *melf, ELF_SPEC_HEADER *stringTable, const char *name) |
unsigned long | melf_stringTableGetStringIndex (MELF *melf, ELF_SPEC_HEADER *stringTable, const char *name) |
const char * | melf_stringTableGetString (MELF *melf, ELF_SPEC_HEADER *stringTable, unsigned long index) |
|
Creates a new string table section with the specified name. If the name is NULL, the name for the new section will not be set.
|
|
Gets the string value at the specified index in the string table.
|
|
Gets the index of a given string in the string table. If the index cannot be found, -1 will be returned.
|
|
Initializes the entry list for the given section. It is not recommended that this function be called directly.
|
|
Sets a string in the string table. If the name exists in the string table its index will be re-used. Otherwise, it is appended to the end. If the operation fails, -1 is returned.
|
|
Synchronizes the entry list for the given section. It is not recommended that this function be called directly.
|