public void scanFunction(Function func) throws DecompileException {
		if (isShutdown.get()) {
			return;
		}

		if (singletask == null) {
			singletask = new SignatureTask();
			singletask.initializeGlobal(program);
			singletask = (SignatureTask) singletask.clone(0);	// Start decompiler process
		}

		singletask.decompile(func, null);
	}
Calculate signatures for a single function
@param func is the function to scan
@throws DecompileException if the decompiler task fails
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/GenSignatures.java