private int getUndefinedOrdinalAt(Structure struct, int offset) {
		List<DataTypeComponent> compsAt = struct.getComponentsContaining(offset);
		DataTypeComponent lastComp = !compsAt.isEmpty() ? compsAt.get(compsAt.size() - 1) : null;
		if (lastComp == null || lastComp.getOffset() != offset ||
			!(lastComp.getDataType() instanceof DefaultDataType)) {
			return -1;
		}
		return lastComp.getOrdinal();
	}
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