public ElfSectionHeader[] getSections(int type) {
		ArrayList<ElfSectionHeader> list = new ArrayList<>();
		for (ElfSectionHeader sectionHeader : sectionHeaders) {
			if (sectionHeader.getType() == type) {
				list.add(sectionHeader);
			}
		}
		ElfSectionHeader[] sections = new ElfSectionHeader[list.size()];
		list.toArray(sections);
		return sections;
	}
Returns the section headers with the specified type.
The array could be zero-length, but will not be null.
@param type section type
@return the section headers with the specified type
@see ElfSectionHeader
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java