# Phase A diff report **This report is the output of Phase A's diff harness. Divergences shown here are INPUT for Phase B (first-divergence localization), not findings of Phase A.** Phase A's job is to make the harness itself correct, not to analyze what it surfaces. ## Summary | canary_tid | ours_tid | matched | canary_total | ours_total | first_divergence_at | |---|---|---|---|---|---| | 4 | 11 | 8 | 151690 | 9 | 8 | | 6 | 1 | 102168 | 432396 | 108490 | 102168 | | 7 | 2 | 30 | 32 | 32 | 30 | | 12 | 7 | 2 | 27834 | 4 | 2 | | 14 | 9 | 2 | 4733192 | 76 | 2 | | 15 | 10 | 16 | 3610535 | 16 | — | ## canary_tid=4 → ours_tid=11 First divergence at `tid_event_idx=8`: kind: canary='handle.create' ours='kernel.return' **Pre-context (last 5 matching events):** ``` canary: [3] import.call KeSetEvent ours: [3] import.call KeSetEvent canary: [4] kernel.call KeSetEvent ours: [4] kernel.call KeSetEvent canary: [5] kernel.return KeSetEvent ours: [5] kernel.return KeSetEvent canary: [6] import.call KeWaitForMultipleObjects ours: [6] import.call KeWaitForMultipleObjects canary: [7] kernel.call KeWaitForMultipleObjects ours: [7] kernel.call KeWaitForMultipleObjects ``` **Divergent event:** ``` canary: [8] handle.create sid=bcaf14d76932b128 ours: [8] kernel.return KeWaitForMultipleObjects ``` **Next event after the divergence (if any):** ``` canary: [9] handle.create sid=0760e947bacff199 ours: ``` **Raw events (JSON):** ```json {"deterministic": true, "engine": "canary", "guest_cycle": 0, "host_ns": 1896894000, "kind": "handle.create", "payload": {"handle_semantic_id": "bcaf14d76932b128", "object_name": null, "object_type": 1, "raw_handle_id": "0xf800009c"}, "schema_version": 1, "tid": 4, "tid_event_idx": 8} {"deterministic": true, "engine": "ours", "guest_cycle": 91, "host_ns": 1693823256, "kind": "kernel.return", "payload": {"name": "KeWaitForMultipleObjects", "return_value": 0, "side_effects": [], "status": "0x00000000"}, "schema_version": 1, "tid": 11, "tid_event_idx": 8} ``` ## canary_tid=6 → ours_tid=1 First divergence at `tid_event_idx=102168`: kind: canary='kernel.return' ours='handle.destroy' **Pre-context (last 5 matching events):** ``` canary: [102163] kernel.call XamTaskSchedule ours: [102163] kernel.call XamTaskSchedule canary: [102164] handle.create sid=097dca960c32feb2 ours: [102164] handle.create sid=b53a312c0ac30f49 canary: [102165] kernel.return XamTaskSchedule ours: [102165] kernel.return XamTaskSchedule canary: [102166] import.call XamTaskCloseHandle ours: [102166] import.call XamTaskCloseHandle canary: [102167] kernel.call XamTaskCloseHandle ours: [102167] kernel.call XamTaskCloseHandle ``` **Divergent event:** ``` canary: [102168] kernel.return XamTaskCloseHandle ours: [102168] handle.destroy sid=b53a312c0ac30f49 ``` **Next event after the divergence (if any):** ``` canary: [102169] import.call KeWaitForSingleObject ours: [102169] kernel.return XamTaskCloseHandle ``` **Raw events (JSON):** ```json {"deterministic": true, "engine": "canary", "guest_cycle": 0, "host_ns": 1473555500, "kind": "kernel.return", "payload": {"name": "XamTaskCloseHandle", "return_value": 1, "side_effects": [], "status": "0x00000001"}, "schema_version": 1, "tid": 6, "tid_event_idx": 102168} {"deterministic": true, "engine": "ours", "guest_cycle": 0, "host_ns": 495859368, "kind": "handle.destroy", "payload": {"handle_semantic_id": "b53a312c0ac30f49", "prior_refcount": 1, "raw_handle_id": "0x00001018"}, "schema_version": 1, "tid": 1, "tid_event_idx": 102168} ``` ## canary_tid=7 → ours_tid=2 First divergence at `tid_event_idx=30`: kind: canary='handle.create' ours='wait.begin' **Pre-context (last 5 matching events):** ``` canary: [25] import.call KeSetEvent ours: [25] import.call KeSetEvent canary: [26] kernel.call KeSetEvent ours: [26] kernel.call KeSetEvent canary: [27] kernel.return KeSetEvent ours: [27] kernel.return KeSetEvent canary: [28] import.call KeWaitForSingleObject ours: [28] import.call KeWaitForSingleObject canary: [29] kernel.call KeWaitForSingleObject ours: [29] kernel.call KeWaitForSingleObject ``` **Divergent event:** ``` canary: [30] handle.create sid=e1f14feb316c28dd ours: [30] wait.begin {'handles_semantic_ids': ['0000000000000000'], 'timeout_ns': -1, 'alertable': False, 'wait_type': 'any'} ``` **Next event after the divergence (if any):** ``` canary: [31] wait.begin {'handles_semantic_ids': ['e1f14feb316c28dd'], 'timeout_ns': -1, 'alertable': False, 'wait_type': 'any'} ours: [31] kernel.return KeWaitForSingleObject ``` **Raw events (JSON):** ```json {"deterministic": true, "engine": "canary", "guest_cycle": 0, "host_ns": 1475668700, "kind": "handle.create", "payload": {"handle_semantic_id": "e1f14feb316c28dd", "object_name": null, "object_type": 1, "raw_handle_id": "0xf800001c"}, "schema_version": 1, "tid": 7, "tid_event_idx": 30} {"deterministic": true, "engine": "ours", "guest_cycle": 0, "host_ns": 496144562, "kind": "wait.begin", "payload": {"alertable": false, "handles_semantic_ids": ["0000000000000000"], "timeout_ns": -1, "wait_type": "any"}, "schema_version": 1, "tid": 2, "tid_event_idx": 30} ``` ## canary_tid=12 → ours_tid=7 First divergence at `tid_event_idx=2`: kind: canary='handle.create' ours='wait.begin' **Pre-context (last 5 matching events):** ``` canary: [0] import.call KeWaitForSingleObject ours: [0] import.call KeWaitForSingleObject canary: [1] kernel.call KeWaitForSingleObject ours: [1] kernel.call KeWaitForSingleObject ``` **Divergent event:** ``` canary: [2] handle.create sid=750aad55e1061f0a ours: [2] wait.begin {'handles_semantic_ids': ['0000000000000000'], 'timeout_ns': 429466729600, 'alertable': False, 'wait_type': 'any'} ``` **Next event after the divergence (if any):** ``` canary: [3] wait.begin {'handles_semantic_ids': ['750aad55e1061f0a'], 'timeout_ns': -30000000, 'alertable': False, 'wait_type': 'any'} ours: [3] kernel.return KeWaitForSingleObject ``` **Raw events (JSON):** ```json {"deterministic": true, "engine": "canary", "guest_cycle": 0, "host_ns": 1660019000, "kind": "handle.create", "payload": {"handle_semantic_id": "750aad55e1061f0a", "object_name": null, "object_type": 1, "raw_handle_id": "0xf8000068"}, "schema_version": 1, "tid": 12, "tid_event_idx": 2} {"deterministic": true, "engine": "ours", "guest_cycle": 0, "host_ns": 528900173, "kind": "wait.begin", "payload": {"alertable": false, "handles_semantic_ids": ["0000000000000000"], "timeout_ns": 429466729600, "wait_type": "any"}, "schema_version": 1, "tid": 7, "tid_event_idx": 2} ``` ## canary_tid=14 → ours_tid=9 First divergence at `tid_event_idx=2`: kind: canary='handle.create' ours='wait.begin' **Pre-context (last 5 matching events):** ``` canary: [0] import.call KeWaitForSingleObject ours: [0] import.call KeWaitForSingleObject canary: [1] kernel.call KeWaitForSingleObject ours: [1] kernel.call KeWaitForSingleObject ``` **Divergent event:** ``` canary: [2] handle.create sid=3df8ca649bf76cc8 ours: [2] wait.begin {'handles_semantic_ids': ['0000000000000000'], 'timeout_ns': -1, 'alertable': False, 'wait_type': 'any'} ``` **Next event after the divergence (if any):** ``` canary: [3] wait.begin {'handles_semantic_ids': ['3df8ca649bf76cc8'], 'timeout_ns': -1, 'alertable': False, 'wait_type': 'any'} ours: [3] kernel.return KeWaitForSingleObject ``` **Raw events (JSON):** ```json {"deterministic": true, "engine": "canary", "guest_cycle": 0, "host_ns": 1788314200, "kind": "handle.create", "payload": {"handle_semantic_id": "3df8ca649bf76cc8", "object_name": null, "object_type": 1, "raw_handle_id": "0xf8000098"}, "schema_version": 1, "tid": 14, "tid_event_idx": 2} {"deterministic": true, "engine": "ours", "guest_cycle": 0, "host_ns": 1655554743, "kind": "wait.begin", "payload": {"alertable": false, "handles_semantic_ids": ["0000000000000000"], "timeout_ns": -1, "wait_type": "any"}, "schema_version": 1, "tid": 9, "tid_event_idx": 2} ``` ## canary_tid=15 → ours_tid=10 No divergence within the 16 compared events (canary has 3610535, ours has 16).