@Override
	public void registerOptions(Options options, Program program) {
		options.registerOption(GhidraLanguagePropertyKeys.USE_NEW_FUNCTION_STACK_ANALYSIS,
			true, null,
			"Use General Stack Reference Propogator (This works best on most processors)");

		options.registerOption("Create Local Variables", doCreateLocalStackVars, null,
			"Create Function Local stack variables and references");

		options.registerOption("Create Param Variables", doCreateStackParams, null,
			"Create Function Parameter stack variables and references");
		
		options.registerOption(MAX_THREAD_COUNT_OPTION_NAME, maxThreadCount, null,
			MAX_THREAD_COUNT_OPTION_DESCRIPTION);
	}
Find function locations and adding the function entry points to locations

@param program program
@param set remove known function bodies from the set, leave entry points
@param locations set of known function start addresses
@param monitor to cancel
@throws CancelledException if cancelled
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/StackVariableAnalyzer.java