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 @@
|
||||
// iio.jpeg.marker · ImageIO · _JPEGFile::processData · CVE-2026-112634
|
||||
// 原语: OOB 读 · 进程内 · tier 2
|
||||
// Primitive: OOB read · in-process · tier 2
|
||||
//
|
||||
// [zh] JPEG 标记长度越界
|
||||
// 当标记声明的长度远超实际存在的字节数时,27.0 仅记录一条 \"*** WARNING: check markerLength\" 并继续解析,导致越界读取;27.2 直接中止解析。
|
||||
//
|
||||
// [en] JPEG marker length out of bounds
|
||||
// When a marker declares a length far beyond the bytes actually present, 27.0 logs one "*** WARNING:
|
||||
// check markerLength" and keeps parsing, reading out of bounds. 27.2 aborts the parse.
|
||||
// ── 判别 / oracle ──
|
||||
// 长度 0xFFEE,实际负载 28 字节。
|
||||
|
||||
// JPEG marker length out of bounds
|
||||
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 (JPEGPayload) ──
|
||||
// ── seed construction (from Cinder27 Sources: JPEGPayload) ──
|
||||
enum JPEGPayload {
|
||||
static func markerLength(declared: Int = 0xFFEE, actual: Int = 30) -> Data {
|
||||
var out = minimalSOI()
|
||||
|
||||
Reference in new issue
Block a user