public List<FoundString> findPascalStrings(AddressSetView addressSet, int minimumStringLength,
			int alignment, boolean includePascalUnicode) {
		final List<FoundString> list = new ArrayList<>();
		FoundStringCallback foundStringCallback = foundString -> list.add(foundString);

		PascalStringSearcher searcher = new PascalStringSearcher(currentProgram,
			minimumStringLength, alignment, includePascalUnicode);

		searcher.search(addressSet, foundStringCallback, true, monitor);

		return list;
	}
Search for sequences of Pascal Ascii strings in program memory.  See
{@link AsciiCharSetRecognizer} to see exactly what chars are considered ASCII for purposes
of this search.
@param addressSet The address set to search. Use null to search all memory;
@param minimumStringLength The smallest number of chars in a sequence to be considered a
"string".
@param alignment specifies any alignment requirements for the start of the string.  An
alignment of 1, means the string can start at any address.  An alignment of 2 means the
string must start on an even address and so on.  Only allowed values are 1,2, and 4.
@param includePascalUnicode if true, UTF16 size strings will be included in addition to UTF8.
@return a list of "FoundString" objects which contain the addresses, length, and type of
possible strings.
Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java