strawberry/tests/fixtures/invariants
trvon 2e94ae1485
Some checks failed
Build and Test / build (debug, clang) (push) Has been cancelled
Build and Test / build (debug, gcc) (push) Has been cancelled
Build and Test / build (release, clang) (push) Has been cancelled
Build and Test / build (release, gcc) (push) Has been cancelled
Build and Test / macos (push) Has been cancelled
Build and Test / docker (push) Has been cancelled
Privacy: tracker list feeds (advisory only, never block)
First piece of tracker attribution (docs/tracker-attribution.md): which
programs reach advertising and tracking domains, built with the
measurement rules of the CarolinaCon 2026 privacy talk (bridgescope):
a listed domain is a circumstantial label, never proof.

- Feed kind "trackers": hosts lines, plain domains and adblock
  whole-domain rules (||host^, ||host^$third-party). Cosmetic rules,
  exceptions, paths and other options are skipped; the comment cut used
  to turn "site.example##.ad" into a domain.
- TrackerSet: suffix matching (a.b.t.example matches t.example, never
  nott.example, an IP literal or a bare TLD); first feed reported.
- List parsing moves from rule_updater.cpp to ioc_list.cpp (no network
  code) so the query-side core can use it.
- Source invariant R11: tracker lists never meet exec-guard or OpenSnitch
  code. They are not in the OpenSnitch blocklist sync.

Tests: T1-T3 (test_tracker_set), trackers in the list-parsing property
and the list fuzzer (60 s clean), R11 self-test fixture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 05:25:53 -06:00
..
bad_r1_istreambuf.cpp Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00
bad_r2_ifstream.cpp Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00
bad_r3_proc.cpp Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00
bad_r4_callback.cpp Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00
bad_r4_curl.cpp Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00
bad_r5_thread.cpp Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00
bad_r6_sto.cpp Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00
bad_r7_empty_catch.cpp Forbid empty catch blocks 2026-10-25 18:52:45 -06:00
bad_r8_file_node_id.cpp Unify file ids, record uid/comm, redact command lines 2026-10-26 17:58:48 -06:00
bad_r9_json_dump.cpp Add --replay, and keep non-UTF-8 host strings from breaking JSON 2026-10-26 21:49:04 -06:00
bad_r10_learning_response.cpp Stage 4: execute a promoted model's inspections, under guardrails 2026-10-27 21:03:57 -06:00
bad_r11_tracker_response.cpp Privacy: tracker list feeds (advisory only, never block) 2026-10-28 05:25:53 -06:00
good.cpp Harden against crashes and I/O faults 2026-10-25 18:17:17 -06:00