public int queryNameExeMatch(List<ExecutableRecord> vecres, DescriptionManager res,
		String nm, int max) throws SQLException, LSHException {
		PreparedStatement s =
			selectByNameStatement.prepareIfNeeded(() -> db.prepareStatement(SELECT_BY_NAME_STMT));
		s.setString(1, nm);
		s.setInt(2, max > 0 ? max : 2000000);
		s.setFetchSize(50);
		int count = 0;
		try (ResultSet rs = s.executeQuery()) {
			count = extractExecutableRows(rs, vecres, res, max);
		}
		return count;
	}
Executes a database query to return a list of records matching an executalble name 
filter.

@param vecres the list of executable records to populate
@param res the description manager
@param nm the name to query for
@param max the max number of records to return
@return the number of records returned
@throws SQLException if there is a problem creating the query statement
@throws LSHException if there is a problem extracting executable rows
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/tables/ExeTable.java