public String getString(DWARFForm form, long offset, DWARFCompilationUnit cu)
			throws IOException {
		switch (form) {
			case DW_FORM_line_strp:
				return lineStrings.getStringAtOffset(offset);
			case DW_FORM_strp:
				return debugStrings.getStringAtOffset(offset);
			case DW_FORM_strx, DW_FORM_strx1, DW_FORM_strx2, DW_FORM_strx3, DW_FORM_strx4:
				long strOffset = stringsOffsetTable.getOffset((int) offset, cu);
				return debugStrings.getStringAtOffset(strOffset);
			default:
				throw new IOException("Unsupported string form: " + form);
		}
	}
Returns a DWARF attribute string value, as specified by a form, offset/index, and the cu.
 
@param form {@link DWARFForm}
@param offset offset or index of the value
@param cu {@link DWARFCompilationUnit}
@return String value, never null
@throws IOException if invalid form or bad offset/index
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFProgram.java