protected MemoryBlock getSection(String sectionName) {
		MemoryBlock block = program.getMemory().getBlock(sectionName);
		if (block == null) {
			for (String prefix : sectionPrefixes) {
				block = program.getMemory().getBlock(prefix + sectionName);
				if (block != null) {
					break;
				}
			}
		}
		return block;
	}
Fetches DWARF sections from a normal program using simple Ghidra memory blocks.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/sectionprovider/BaseSectionProvider.java