static Set<Function> computeParents(Function function) {
		HashSet<Function> results = new HashSet<Function>();
		Program program = function.getProgram();
		FunctionManager functionManager = program.getFunctionManager();
		ReferenceManager referenceManager = program.getReferenceManager();
		ReferenceIterator referencesTo = referenceManager.getReferencesTo(function.getEntryPoint());
		for (Reference reference : referencesTo) {
			if (reference.getReferenceType().isCall()) {
				Function parent = functionManager.getFunctionContaining(reference.getFromAddress());
				if (parent != null) {
					results.add(parent);
				}
			}
		}
		return results;
	}
Computes the parent functions of a function (who calls me?).
@param function the target function
@return a set of functions that call the target function
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/service/FidServiceUtil.java