dwarf_get_section_count
if (section_index >= 0 && section_index < dwarf_get_section_count(dbg)) {
int dwarf_get_section_count(Dwarf_Debug /*dbg*/);