public void setAutoPassByName(String library, String version, String variant,
			String functionName, boolean value) throws IOException {

		checkUpdateAllowed();

		List<LibraryRecord> libraryList = findLibrariesByName(library, version, variant);
		for (LibraryRecord libRec : libraryList) {
			List<FunctionRecord> funcList = findFunctionsByLibraryAndName(libRec, functionName);
			modifyFlags(funcList, FunctionRecord.AUTO_PASS_FLAG, value);
		}
	}
Change the auto-pass property for all functions with given name
@param library is the name of the library containing the function
@param version is the (optional may be null) library version
@param variant is the (optional may be null) library variant
@param functionName is the name of the function
@param value is true to set auto-pass, false to clear
@throws IOException
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/db/FidDB.java