v2.0 — 31 C POC twins + harness fixes
- 31 C POC files, one per CVE folder: full seed construction + trigger + main(), self-contained, no app dependency. All compile clean with clang -O2 -Wall (zero warnings) on macOS arm64; each has a recorded oracle on this host. - CMGetDMVersionLevelFromRPU ABI pinned by disassembly: macOS export is (CFDataRef), the Swift POC drives the 4-arg iOS surface — this is the mechanism behind the cm.rpu death oracle on the simulator build. - Harness fixes: glyphCount guard, MachOInspector size guard, ModTools clamp, DeviceModel iPhone19,7, GPTPayload clamps, Gate patch display. - POC comments rewritten English-only (31 swift + arc.rr + 5 py). - README (en/zh): C twin column, .c anatomy section, compile/run examples, C oracle verification status. - Dead if-let binding removed from Identity summary; v2.0 build 3.
This commit is contained in:
1 parent
1ea76ab005
commit
7949c7ce9f
79 files changed
+4109
-892
No files matched your search
@@ -1,22 +1,8 @@
|
||||
// aud.drc · AudioCodecs · mpddrc::UniDrcSelection · CVE-2026-113912 / 86972
|
||||
// 原语: OOB 读 · 系统进程 · tier 2
|
||||
// Primitive: OOB read · system process · tier 2
|
||||
//
|
||||
// [zh] MPEG-D DRC 下混矩阵系数校验
|
||||
// selectDownmixMatrix 在 27.0 仅有零值与相等性检查;矩阵维度直接取自 DRC 元数据,不与系数数组的实际长度比较。27.2 补入三道闸门:nChannels ≤ 8、维度有序、系数数
|
||||
// == 行×列,并为 getSignalPeakLevel 与 Process 增加计数校验。
|
||||
//
|
||||
// [en] MPEG-D DRC downmix matrix coefficient validation
|
||||
// On 27.0 selectDownmixMatrix has only zero and equality checks; the matrix dimensions come straight
|
||||
// from DRC metadata and are never compared against the coefficient array's real length. iOS 27.2
|
||||
// adds three gates — nChannels ≤ 8, ordered dimensions, coefficient count == rows×cols — plus count
|
||||
// checks in getSignalPeakLevel and Process.
|
||||
// ── 判别 / oracle ──
|
||||
// 需要 MPEG-D DRC 元数据的音频文件。应用侧探 AudioCodecs 是否导出这些符号。
|
||||
|
||||
// MPEG-D DRC downmix matrix coefficient validation
|
||||
import Foundation
|
||||
|
||||
// ── byte helpers — verbatim from Cinder27 Sources/Kit.swift ──
|
||||
// ── byte helpers (from Cinder27 Sources/Kit.swift) ──
|
||||
enum B {
|
||||
static func be16(_ v: UInt16) -> [UInt8] { [UInt8(v >> 8 & 0xff), UInt8(v & 0xff)] }
|
||||
static func le16(_ v: UInt16) -> [UInt8] { [UInt8(v & 0xff), UInt8(v >> 8 & 0xff)] }
|
||||
@@ -38,4 +24,3 @@ enum B {
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user