I have a c program which get information from an ELF file.My question is : all section names have to start with dot(for example .sffa) ? It is a must or it is rather only for system files?
1 Answer
Section names beginning with a dot are reserved for system stuff but other sections names can be used:
Section names with a dot prefix are reserved for the system, although applications may use these sections if their existing meanings are satisfactory. Applications may use names without the prefix to avoid conflicts with system sections. The object file format lets one define sections not in the list above. An object file may have more than one section with the same name.
1 Comment
Otniel-Bogdan Mercea
so there is a chance that some section names in an elf file to not start with a dot?