Repository navigation
G83 复审:拆除站点校验测试补反例与复审记录 - #2
Merged
Merged
Conversation
Problem: 06d3a52's verifySite tests only exercised a wrong immediate low byte and a wrong opcode (the case labelled "wrong target" overwrote the E8 opcode). Mutants that drop the displacement-target check, drop the upper immediate bytes check, or ignore a failed read all still passed the suite. The runtime site table (Sites) and the install check (SiteCalls) also repeated the three return addresses with nothing tying them together. Mechanism: counterexamples for a displacement one byte off, a call to eventTimeout instead of finishEvent, each non-zero upper immediate byte and a failed read at each of the ten verified bytes; the opcode case is relabelled and restored. A static_assert requires both tables to list the same return addresses in the same order. No runtime behaviour change. Verification: CPU only (arm64). tgl_orphan passes under C++14 and C++17 with ASan/UBSan; all five verifySite mutants now fail it and a mismatched table fails to compile. Suite 198 passed / same 29 x86-fixture failures as main; RELEASE build passes, warnings unchanged (460). No x86 or hardware run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Problem: the follow-up commits (06d3a52, dfe0166, 7debe05) closed review items, but the review record still listed them as open, the ring-idle rationale for accepting the teardown risk is stronger than the guard, and the deployment directory is only partly updated. Mechanism: §12.9 records findings R1-R6 with severity, location, evidence and disposition (R1/R2 fixed in a27fcf2; R3-R6 left to the maintainer with reasons); stale O9/§8.7/§12.8 entries now point to the follow-up. Verification: documentation only. Facts checked against main at 06d3a52 on arm64 (CPU suite, RELEASE build); the maintainer's binary checks were not reproducible here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
复审对象:main 的
06d3a52(拆除站点字节校验)、dfe0166(D3 日期)、7debe05(部署文档)。a27fcf2:verifySite的测试补反例(位移目标、立即数高字节、读取失败);原测试下这三类变异体都能通过,现在全部失败。另加static_assert,要求Sites与SiteCalls的返回址一致。运行时行为不变。e2f9166:文档 §12.9 复审记录 R1–R6,并更新已过时的 O9、§8.7、§12.8 条目。验证级别:只在 arm64 上跑了 CPU 测试,做了 RELEASE 交叉构建,没有 x86 和硬件运行。G83 套件 198 通过;29 个失败与 main 相同,都是 x86 夹具在 arm64 上无法运行。警告数不变。
留给维护者的事项:
efi-manifest.json和config.plist尚未同步 v10.5+。🤖 Generated with Claude Code