public static UndefinedFunction findFunction(Program program, Address address,
			TaskMonitor monitor) {
		if (program == null || address == null || monitor.isCancelled()) {
			return null;
		}

		// first try to walk back up to the top of the function
		UndefinedFunction function = findFunctionUsingSimpleBlockModel(program, address, monitor);
		if (function != null || monitor.isCancelled()) {
			return function;
		}

		return findFunctionUsingIsolatedBlockModel(program, address, monitor);
	}
Identifies a <code>UndefinedFunction</code> based on the location given based upon the current
listing disassembly at time of construction using a block model.
@param program program to be searched
@param address address within body of function
@param monitor task monitor
@return function or null if invalid parameters, not found, or cancelled
Ghidra/Features/Base/src/main/java/ghidra/util/UndefinedFunction.java