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
56 lines
518 B
Text
56 lines
518 B
Text
# Build artifacts
|
|
*.o
|
|
*.a
|
|
*.so
|
|
*.dylib
|
|
*.obj
|
|
*.exe
|
|
*.lib
|
|
itr4m
|
|
tr4mpass
|
|
tests/run_tests
|
|
tests/run_mock_tests
|
|
tests/chip_db_canary.bin
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Editor/IDE
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.vscode/
|
|
.idea/
|
|
*.xcodeproj/
|
|
*.xcworkspace/
|
|
|
|
# Secrets and credentials
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
*.key
|
|
*.pem
|
|
*.p12
|
|
*.pfx
|
|
*.jks
|
|
credentials.*
|
|
secrets.*
|
|
.irecovery
|
|
|
|
# Claude Code scaffolding
|
|
.claude/
|
|
notes/
|
|
tasks/
|
|
research/
|
|
scratchpad/
|
|
|
|
# Python (if any helper scripts)
|
|
__pycache__/
|
|
*.pyc
|
|
.venv/
|
|
|
|
# Debug
|
|
*.dSYM/
|
|
core
|
|
core.*
|