@Override
	public void registerOptions(Options options, Program program) {
		HelpLocation helpLocation =
			new HelpLocation("AutoAnalysisPlugin", "Auto_Analysis_Option_Instructions");

		if (minimumAddressTableSize == -1) {
			calculateMinimumAddressTableSize(program);
		}
		options.registerOption(OPTION_NAME_ASCII, asciiEnabled, helpLocation,
			OPTION_DESCRIPTION_ASCII);
		options.registerOption(OPTION_NAME_UNICODE, unicodeEnabled, helpLocation,
			OPTION_DESCRIPTION_UNICODE);
		options.registerOption(OPTION_NAME_ALIGN_STRINGS, alignStringsEnabled, helpLocation,
			OPTION_DESCRIPTION_ALIGN_STRINGS);
		options.registerOption(OPTION_NAME_MIN_STRING_LENGTH, minStringLength, helpLocation,
			OPTION_DESCRIPTION_MIN_STRING_LENGTH);
		options.registerOption(OPTION_NAME_POINTER, pointerEnabled, helpLocation,
			OPTION_DESCRIPTION_POINTER);
		options.registerOption(OPTION_NAME_RELOCATION_GUIDE, relocationGuideEnabled, helpLocation,
			OPTION_DESCRIPTION_RELOCATION_GUIDE);
		options.registerOption(OPTION_NAME_SUBROUTINE, subroutinesEnabled, helpLocation,
			OPTION_DESCRIPTION_SUBROUTINE);
		options.registerOption(OPTION_NAME_ADDRESS_TABLE, addressTablesEnabled, helpLocation,
			OPTION_DESCRIPTION_ADDRESS_TABLE);
		options.registerOption(OPTION_NAME_SWITCH, switchTableEnabled, helpLocation,
			OPTION_DESCRIPTION_SWITCH);
		options.registerOption(OPTION_NAME_SWITCH_ALIGNMENT, switchTableAlignment, helpLocation,
			OPTION_DESCRIPTION_SWITCH_ALIGNMENT);
		options.registerOption(OPTION_NAME_MINIMUM_TABLE_SIZE, minimumAddressTableSize,
			helpLocation, OPTION_DESCRIPTION_MINIMUM_TABLE_SIZE);
		options.registerOption(OPTION_NAME_RESPECT_EXECUTE_FLAG, respectExecuteFlags, helpLocation,
			OPTION_DESCRIPTION_RESPECT_EXECUTE_FLAG);

	}
getWStrLen

@param memory program memory to check
@param ad address where unicode string is supposed to begin
@return number of unicode chars in string, -1 if not
a unicode string.  NOTE: Only English strings are considered.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/OperandReferenceAnalyzer.java