private AddressSet getThunkEntrySet(Program program, AddressSet addressSetToCheck) {
		AddressSet thunkSet = new AddressSet();
		FunctionManager functionManager = program.getFunctionManager();
		FunctionIterator functions = functionManager.getFunctions(addressSetToCheck, true);
		for (Function function : functions) {
			if (function.isThunk()) {
				thunkSet.add(function.getEntryPoint());
			}
		}
		return thunkSet;
	}
Constructs a function merger.
@param listingMergeMgr the listing merge manager that owns this merger.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/FunctionMerger.java