private void fdbQueryExeInfo(QueryExeInfo query) throws SQLException, LSHException {
		ResponseExe response = query.exeresponse;

		boolean unknownArchOrCompiler = false;

		long archId = 0;
		if (query.filterArch != null) {
			archId = queryArchString(query.filterArch);
			if (archId == 0) {
				unknownArchOrCompiler = true;
				Msg.warn(this,
					"Architecture ID not defined within BSim database: " + query.filterArch);
			}
		}

		long compId = 0;
		if (query.filterCompilerName != null) {
			compId = queryCompilerString(query.filterCompilerName);
			if (compId == 0) {
				unknownArchOrCompiler = true;
				Msg.warn(this,
					"Compiler ID not defined within BSim database: " + query.filterCompilerName);
			}
		}

		if (unknownArchOrCompiler) {
			response.records = List.of();
			response.recordCount = 0;
			return;
		}

		List<ExecutableRecord> records =
			queryExecutables(response.manage, query.limit, query.filterMd5, query.filterExeName,
				archId, compId, query.sortColumn, query.includeFakes);
		response.records = records;
		response.recordCount = records.size();
		if (query.fillinCategories && (info.execats != null)) {
			fillinExecutableCategories(response.manage);
		}
	}
Queries the database for all executables matching the search criteria in the given
{@link QueryExeInfo} object. Results are stored in the query info object

@param query the query information
@throws SQLException if there is an error executing the query
@throws LSHException if there is an error executing the query
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/AbstractSQLFunctionDatabase.java