Files
WT-Offline/exe-patches/isolation/never-upload-crash-reports/patch.json
T
N0VAN0M4LY 18f63bf33e Implement local login
Route login and character requests by their original host names on one
loopback port. Add local accounts, saves, and credential redaction.
2026-11-24 05:01:26 +08:00

41 lines
2.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "isolation/never-upload-crash-reports",
"title": "崩溃报告永远不上传,和带上原版启动参数 -crashpad-disable-upload 的效果相同",
"program_behaviour": {
"stock": "程序启动崩溃报告组件 crashpad 时检查命令行有没有 -crashpad-disable-upload。没有就允许上传:游戏崩溃时,崩溃转储会被发往 Gaijin。",
"patched": "这一处永远按\"带了 -crashpad-disable-upload\"处理:崩溃转储只留在本机,不上传。"
},
"derivation": {
"requirement": "开发纪律第 18 条、功能清单 A「不连 Gaijin」。崩溃转储包含进程内存,来自改过的程序,不能发给 Gaijin。",
"cause": "上传默认开启(实验副本日志:crashpad enabled)。",
"lighter_options_ruled_out": [
"原生自带:-crashpad-disable-upload 启动参数正是这个开关,启动器会带上它;但玩家直接运行 exe 时就没有了。这个补丁保证任何启动方式下都不上传。",
"本地服务:上传地址不在 network.blk 里,没法统一改到本机。"
],
"conclusion": "启动参数 + 这个补丁,两层保证。",
"if_not_applied": "玩家不经启动器直接运行且游戏崩溃时,崩溃转储会上传给 Gaijin。"
},
"why_this_site": [
"检查是 call(查找命令行参数)、test rax,rax、sete dl:dl 就是\"允许上传\",作为参数传给 crashpad 的设置函数。把 sete dl 换成 xor dl,dl(再补一个 nop),参数恒为\"不允许\",等同于命令行带了这个开关。",
"只改 3 个字节,不新增代码。"
],
"features": ["A-不连 Gaijin"],
"requires": [],
"evidence": [
"2.61.0.37 原版 aces.exe:0x40f5930 取 \"crashpad-disable-upload\",0x40f5942 调用命令行查找,0x40f594a 的 sete dl 把\"没找到\"变成\"允许上传\",0x40f5950 把它传给设置函数。",
"尚未在游戏里验证,由隔离观察确认(不应出现发往崩溃上报地址的连接)。"
],
"verified_on": [],
"edit": {
"offset": 26,
"asm": ["xor dl, dl", "nop"],
"bytes": "30d290",
"expect_original": "0f94c2"
}
}