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,20 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
# font.cff · FontParser · charstring 解释器 · CVE-2026-112683
|
||||
# 原语: OOB 写 · 进程内 | Primitive: OOB write · in-process
|
||||
#
|
||||
# [zh] CFF Type2 charstring 操作数栈溢出
|
||||
# Type2 charstring 解释器的操作数栈为固定 48 项数组。27.0 仅在 pop 路径检查计数,push 路径不做检查。27.2 补入 Push/Pop 两道栈保护,
|
||||
# 并将扫描暂存区的 32 位乘法改为 64 位,同时修正了符号扩展指针。
|
||||
#
|
||||
# [en] CFF Type2 charstring operand stack overflow
|
||||
# The Type2 charstring interpreter's operand stack is a fixed 48-entry array. On 27.0 only the
|
||||
# pop path checks the count; the push path does not. iOS 27.2 adds Push/Pop stack guards, widens
|
||||
# the scan scratch area's 32-bit multiply to 64-bit, and fixes a sign-extended pointer.
|
||||
#
|
||||
# 种子生成 — verbatim from Cinder27/scripts/gen_seeds.py
|
||||
# 触发器(run 闭包)与非种子构建器: 同目录 CVE-2026-112683.swift
|
||||
# triggers (run closures) & non-seed builders: CVE-2026-112683.swift in this folder
|
||||
|
||||
import struct
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user