public void recoverIDFLookup(IDFLookup lookup) throws SQLException {
		try (Statement st = db.createStatement();
				ResultSet rs = st.executeQuery("SELECT ALL * from idflookup")) {
			int buffer[] = new int[5000];
			int numentries = 0;
			while (rs.next()) {
				buffer[numentries] = (int) rs.getLong(1);
				numentries += 1;
				buffer[numentries] = rs.getInt(2);
				numentries += 1;
			}

			int[] finalArray = new int[numentries];
			for (int i = 0; i < finalArray.length; ++i) {
				finalArray[i] = buffer[i];
			}
			lookup.set(finalArray);
		}
	}
@param lookup the IDF lookup
@throws SQLException if there is an error creating/executing the query
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/tables/IdfLookupTable.java