tr4mpass/include
Moussa Ouallaf 54c0ad652c fix(chip-db): rebuild chip_db_table*.h from gaster canonical + strict canary
Rewrite the .name / .marketing fields and banner comments in
include/device/chip_db_table.h and chip_db_table_rop.h from gaster's
canonical SecureROM SRTG -> offset table (gaster.c:519-808), so the
CLI announces the physical chip that is actually plugged in. Each
row carries a "gaster.c:NNN" comment marker traceable to the source
of truth. Offsets, CPIDs and struct layout are unchanged.

Relabels: 0x8947 (was "A7 / iPhone 5s", now S5L8947 = A5 Rev B /
Apple TV 3rd gen rev A); 0x8950 / 0x8955 (were "A5-class Apple TV",
now A6 / A6X); 0x8960 (was "A10 / iPhone 7", now A7 / iPhone 5s);
0x8002 (was "S3 / Watch Series 3", now S1P/S2/T1 covering Watch
Series 1/2 and MacBook Pro Touch Bar T1); 0x8004 GPS+Cellular
qualifier dropped; 0x8000 / 0x8003 A9 Samsung/TSMC labels swapped
to match APL0898 / APL1022; 0x8010 / 0x8011 marketing broadened to
cover the full ship list.

Add tests/chip_db_canary.c, wired as a build-time prerequisite of
tr4mpass via the new Makefile .chip-db-canary target. The probe
walks a golden expected (cpid, name-substr, marketing-substr,
checkm8) table and fails the build on drift, defeating a repeat of
issue #53. STRICT_CHIP_DB=1 by default; make STRICT_CHIP_DB=0
bypasses the probe for distro-package chip-table update races
(T5 "Chip-DB canary strictness" note).

Files modified:
- include/device/chip_db_table.h
- include/device/chip_db_table_rop.h
- Makefile
- .gitignore
- tests/chip_db_canary.c (new)

Closes: #53
2026-07-17 02:30:38 +02:00
..
activation feat: real Path A implementation, cert extraction, mock test harness 2026-04-18 17:43:30 +02:00
bypass feat: real Path A implementation, cert extraction, mock test harness 2026-04-18 17:43:30 +02:00
cli feat: real Path A implementation, cert extraction, mock test harness 2026-04-18 17:43:30 +02:00
device fix(chip-db): rebuild chip_db_table*.h from gaster canonical + strict canary 2026-07-17 02:30:38 +02:00
exploit fix: USB re-enum on retry, Path B iRecovery rewrite, DFU diagnostic, tests 2026-04-18 16:24:49 +02:00
util feat: real Path A implementation, cert extraction, mock test harness 2026-04-18 17:43:30 +02:00
tr4mpass.h fix: Phase constants, version sync, log TTY check, Makefile warnings 2026-04-05 03:35:33 +02:00