public int getSectionIndex(ElfSectionHeader section) {
		for (int i = 0; i < sectionHeaders.length; i++) {
			if (sectionHeaders[i] == section) {
				return i;
			}
		}
		throw new RuntimeException("Section not located.");
	}
Returns the index of the specified section.
The index is the order in which the section was
defined in the section header table.
@param section the section header
@return the index of the specified section header
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java