微信输入法可能使用了来自 mozc 输入法的代码

#gossip

mozc 是谷歌日语输入法的开源版,用的类似于 BSD 3-Clause License 自定义授权。 微信输入法 2.0.0.27 中所包含的 wetype_tip_core.dll 中出现了 mozc 字符串以及类似路径的源代码文件名,虽然文件名以及字符串本身并不能判断微信输入法一定使用了来自 mozc 的代码。如果使用 mozc 源代码,则需要根据许可保留源作品的版权声明、条件列表和免责声明。

C:\tmp>dumpbin /headers wetype_tip_core.dll | findstr /i "pdb"
    6A043F5B cv            75 003E4B6C   3E316C    Format: RSDS, {18A7F0A1-03A2-462A-9FA2-CF2DB84C1664}, 1, E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\win32\tip\wetype_tip_core.pdb

C:\tmp>strings wetype_tip_core.dll | rg "E:\\workspace\\WeChat"
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google/protobuf/map_field.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_compartment_util.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_core_entrance.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_edit_session.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_edit_session_impl.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_keyevent_handler.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_lang_bar.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\wil-src\include\wil/resource.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_lang_bar_menu.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_range_util.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_status.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\wil-src\include\wil\resource.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_text_service.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_ui_element_conventional.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_ui_handler.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_ui_handler_conventional.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_status_to_renderer_manager.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\wil-src\include\wil\result_macros.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\wil-src\include\wil/registry.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_theme_manager.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_ai_search_handler.cpp
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_mmkv_mgr.cpp
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\CrashRptMgr.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\tip_client.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\logging.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\wil-src\include\wil/win32_helpers.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\FileUtils.cpp
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\wil-src\include\wil\registry_helpers.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\system_util.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\win_util.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\file_util.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\process.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\cpu_stats.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\mmap.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\client\server_launcher.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\renderer\table_layout.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\tip\renderer\win32\text_renderer.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\base\keyboard.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\base\win32_window_util.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\base\keyboard_layout_id.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\win32\base\text_icon.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\ipc\ipc_path_manager.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\ipc\ipc.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\ipc\named_event.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\ipc\win32_ipc.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google/protobuf/reflection_internal.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\message.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google/protobuf/parse_context.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\generated_message_tctable_lite.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\io\coded_stream.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\arena.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google/protobuf/descriptor.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\generated_message_reflection.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\wire_format.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\wire_format_lite.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\descriptor.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\message_lite.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\reflection_ops.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\text_format.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\dynamic_message.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\extension_set_heavy.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google/protobuf/extension_set_inl.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\io\zero_copy_stream.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\extension_set.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\io\zero_copy_stream_impl_lite.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\generated_message_tctable_gen.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\protobuf-src\src\google\protobuf\descriptor_database.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\abseil-cpp-src\absl\log\internal\log_sink_set.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\abseil-cpp-src\absl\flags\internal\flag.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\abseil-cpp-src\absl\status\statusor.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\abseil-cpp-src\absl\strings\internal\cord_rep_btree.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\abseil-cpp-src\absl\synchronization\mutex.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\abseil-cpp-src\absl\synchronization\internal\win32_waiter.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\abseil-cpp-src\absl\strings\escaping.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\_deps\abseil-cpp-src\absl\base\internal\low_level_alloc.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\third_party\mars\mars\comm\thread\../windows/thread/thread.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\third_party\mars\mars\comm\thread\../windows/thread/lock.h
E:\workspace\WeChatPinYin\wxkb\01_mozc\third_party\mars\mars\comm\boost_exception.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\third_party\mars\mars\comm\autobuffer.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\third_party\mars\mars\comm\ptrbuffer.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\base\win_sandbox.cc
E:\workspace\WeChatPinYin\wxkb\01_mozc\cmake-build-x64-release\win32\tip\wetype_tip_core.pdb