1

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
  • i don't know what you mean by that comment. my question is having an elf file i get the section names and i was wondering about the question above. Commented Oct 10, 2016 at 14:23

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

so there is a chance that some section names in an elf file to not start with a dot?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.