private boolean isUndefinedOrZeroLenAtOffset(Structure struct, int offset) {
		List<DataTypeComponent> compsAt = struct.getComponentsContaining(offset);
		DataTypeComponent lastComp = !compsAt.isEmpty() ? compsAt.get(compsAt.size() - 1) : null;
		if (lastComp == null) {
			// only triggered if offset == length of struct, which is okay since we are adding
			// a zero-length component to the struct
			return true;
		}
		if (lastComp.getOffset() != offset) {
			return false;
		}
		DataType dt = lastComp.getDataType();
		return dt.isZeroLength() || dt instanceof DefaultDataType;
	}
Returns true if the DWARF struct is larger than Ghidra allows (ie. bigger than MAX_INT).

@param structSize long int size of the DWARF struct
@return true if bigger than Ghidra can handle
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFDataTypeImporter.java