public void grabFromToolAndProgram(Plugin ownerPlugin, ToolOptions opt, Program program) {

		String engine = opt.getString(OP_KEY_TAINT_QUERY_ENGINE, "").trim();
		if (!engine.equals(taintQueryEngine)) {
			TaintPlugin plugin = (TaintPlugin) ownerPlugin;
			TaintState state = TaintState.newInstance(plugin, engine);
			if (state != null) {
				plugin.setTaintState(state);
				taintQueryEngine = engine;
			}
		}
		
		taintEnginePath = opt.getString(OP_KEY_TAINT_ENGINE_PATH, "");
		taintFactsDir = opt.getString(OP_KEY_TAINT_FACTS_DIR, "");
		taintQuery = opt.getString(OP_KEY_TAINT_QUERY, "");
		// taintQueryResultsFile = opt.getString(OP_KEY_TAINT_QUERY_RESULTS, "");
		taintOutputDir = opt.getString(OP_KEY_TAINT_OUTPUT_DIR, "");
		taintDB = opt.getString(OP_KEY_TAINT_DB, "");

		taintQueryDirection = opt.getEnum(OP_KEY_TAINT_QUERY_DIRECTION, TaintDirection.DEFAULT);
		taintQueryOutputForm = opt.getEnum(OP_KEY_TAINT_QUERY_OUTPUT_FORM, TaintFormat.ALL);

		taintHighlightStyle = opt.getEnum(TAINT_HIGHLIGHT_STYLE, TAINT_HIGHLIGHT_STYLE_DEFAULT);
		taintHighlightColor = opt.getColor(TAINT_HIGHLIGHT, TAINT_HIGHLIGHT_COLOR);
		taintUseAllAccess = opt.getBoolean(TAINT_ALL_ACCESS, TAINT_ALL_ACCESS_PATHS);

	}
Grab all the decompiler options from various sources within a specific tool
and program and cache them in this object.

<p>
NOTE: Overrides the defaults.

@param ownerPlugin the plugin that owns the "tool options" for the decompiler
@param opt         the Options object that contains the "tool options"
                   specific to the decompiler
@param program     the program whose "program options" are relevant to the
                   decompiler
Ghidra/Features/DecompilerDependent/src/main/java/ghidra/app/plugin/core/decompiler/taint/TaintOptions.java