Skip to content

Qwen3-0.6B inference (12 KB), bare-metal bootable OS (22 KB), and from-scratch Mini-GPT trainer with live Braille TUI (32 KB) in 100% pure x86-64 NASM assembly. Zero C, zero libc, zero dependencies.

41.4 KB
Raw Blame
{"scenario_id": "pf_null_abs_u32_v1", "family_id": "fam_pf_abs_u32", "category": "pf_patchable", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_telemetry+0x0100", "fault_hex": "c7 04 25 00 00 00 00 ef be ad de", "fault_len": 11, "disasm": "mov dword ptr [0], 0xdeadbeef", "regs_summary": "RAX=0x0 RBX=0x3 RCX=0x0 RDX=0x0 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013e20 RFLAGS=0x246", "contract_hint": "Optional debug probe write before commit; skipping fault leaves status=0x100 and returns 0.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv: stage=pre_commit debug_slot=unmapped", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90 90 90 90 90 90 90 90 90", "kvm_mode": "exec", "stub_hex": "31c0c7042500000000efbeadde48c7470800010000c3", "patch_off": 2, "expect_out_hex": "100", "expect_ret_hex": "0"}
{"scenario_id": "pf_null_abs_u32_v2", "family_id": "fam_pf_abs_u32", "category": "pf_patchable", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_telemetry+0x0110", "fault_hex": "c7 04 25 00 00 00 00 01 00 00 00", "fault_len": 11, "disasm": "mov dword ptr [0], 1", "regs_summary": "RAX=0x0 RBX=0x3 RCX=0x0 RDX=0x0 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013e20 RFLAGS=0x246", "contract_hint": "Optional debug probe write before commit; skipping fault leaves status=0x100 and returns 0.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv: stage=pre_commit debug_slot=unmapped", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90 90 90 90 90 90 90 90 90", "kvm_mode": "exec", "stub_hex": "31c0c70425000000000100000048c7470800010000c3", "patch_off": 2, "expect_out_hex": "100", "expect_ret_hex": "0"}
{"scenario_id": "pf_null_reg_store32_rax_edx", "family_id": "fam_pf_reg_store32", "category": "pf_patchable", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_ring+0x0204", "fault_hex": "89 10", "fault_len": 2, "disasm": "mov dword ptr [rax], edx", "regs_summary": "RAX=0x0 RDX=0x55 RBX=0x0 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013e10 RFLAGS=0x246", "contract_hint": "Best-effort counter store to optional pointer; skipping store keeps out=0, ret=0.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_ring: optional_stat_ptr=NULL pre_commit=1", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90", "kvm_mode": "exec", "stub_hex": "31c0ba55000000b977000000891048c7470800000000c3", "patch_off": 12, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "pf_null_reg_store32_rax_ecx", "family_id": "fam_pf_reg_store32", "category": "pf_patchable", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_ring+0x0214", "fault_hex": "89 08", "fault_len": 2, "disasm": "mov dword ptr [rax], ecx", "regs_summary": "RAX=0x0 RCX=0x77 RBX=0x0 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013e10 RFLAGS=0x246", "contract_hint": "Best-effort counter store to optional pointer; skipping store keeps out=0, ret=0.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_ring: optional_stat_ptr=NULL pre_commit=1", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90", "kvm_mode": "exec", "stub_hex": "31c0ba55000000b977000000890848c7470800000000c3", "patch_off": 12, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "pf_null_byte_store_rax", "family_id": "fam_pf_byte_store", "category": "pf_patchable", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_flag+0x000c", "fault_hex": "c6 00 01", "fault_len": 3, "disasm": "mov byte ptr [rax], 1", "regs_summary": "RAX=0x0 RBX=0x0 RCX=0x0 RDX=0x1 RDI=0xffff888004100000 RSP=0xffffc90000013df0 RFLAGS=0x246", "contract_hint": "Optional flag byte write before commit; skipping write preserves out=0 and returns 0.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_flag: trace_marker=NULL state=clean", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90", "kvm_mode": "exec", "stub_hex": "31c0c6000148c7470800000000c3", "patch_off": 2, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "pf_null_byte_store_rsi", "family_id": "fam_pf_byte_store", "category": "pf_patchable", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_flag+0x001c", "fault_hex": "c6 06 01", "fault_len": 3, "disasm": "mov byte ptr [rsi], 1", "regs_summary": "RAX=0x0 RSI=0x0 RBX=0x0 RCX=0x0 RDX=0x1 RDI=0xffff888004100000 RSP=0xffffc90000013df0 RFLAGS=0x246", "contract_hint": "Optional flag byte write before commit; skipping write preserves out=0 and returns 0.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_flag: trace_marker=NULL state=clean", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90", "kvm_mode": "exec", "stub_hex": "31c031f6c6060148c7470800000000c3", "patch_off": 4, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "pf_null_qword_store_qword_rdx", "family_id": "fam_pf_qword_store", "category": "pf_patchable", "split": "val", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_audit+0x0308", "fault_hex": "48 89 10", "fault_len": 3, "disasm": "mov qword ptr [rax], rdx", "regs_summary": "RAX=0x0 RBX=0x0 RCX=0x22 RDX=0x11 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013d90 RFLAGS=0x246", "contract_hint": "Audit timestamp write to uninitialized slot before commit; skipping preserves out=0, ret=0.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_audit: audit_slot=NULL pre_commit=1", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90", "kvm_mode": "exec", "stub_hex": "31c0ba11000000b92200000048891048c7470800000000c3", "patch_off": 12, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "pf_null_qword_store_qword_rcx", "family_id": "fam_pf_qword_store", "category": "pf_patchable", "split": "val", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_audit+0x0318", "fault_hex": "48 89 08", "fault_len": 3, "disasm": "mov qword ptr [rax], rcx", "regs_summary": "RAX=0x0 RBX=0x0 RCX=0x22 RDX=0x11 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013d90 RFLAGS=0x246", "contract_hint": "Audit timestamp write to uninitialized slot before commit; skipping preserves out=0, ret=0.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_audit: audit_slot=NULL pre_commit=1", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90", "kvm_mode": "exec", "stub_hex": "31c0ba11000000b92200000048890848c7470800000000c3", "patch_off": 12, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "pf_offset_load_zero_off10", "family_id": "fam_pf_offset_load", "category": "pf_patchable", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000010", "rip_sym": "kdrv_cfg+0x0400", "fault_hex": "8b 43 10", "fault_len": 3, "disasm": "mov eax, dword ptr [rbx + 0x10]", "regs_summary": "RAX=0x77 RBX=0x0 RCX=0x0 RDX=0x0 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013d40 RFLAGS=0x246", "contract_hint": "Config field read into EAX then stored to out_val and returned; safe fallback requires EAX=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_cfg: cfg_ptr=NULL field_off=0x10 fallback=zero", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0 90", "kvm_mode": "exec", "stub_hex": "b87700000031db8b431048894708c3", "patch_off": 7, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "pf_offset_load_zero_off20", "family_id": "fam_pf_offset_load", "category": "pf_patchable", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000020", "rip_sym": "kdrv_cfg+0x0410", "fault_hex": "8b 43 20", "fault_len": 3, "disasm": "mov eax, dword ptr [rbx + 0x20]", "regs_summary": "RAX=0x77 RBX=0x0 RCX=0x0 RDX=0x0 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013d40 RFLAGS=0x246", "contract_hint": "Config field read into EAX then stored to out_val and returned; safe fallback requires EAX=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_cfg: cfg_ptr=NULL field_off=0x20 fallback=zero", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0 90", "kvm_mode": "exec", "stub_hex": "b87700000031db8b432048894708c3", "patch_off": 7, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "pf_rsi_load_zero_rsi_off08", "family_id": "fam_pf_rsi_load", "category": "pf_patchable", "split": "test", "exc_name": "#PF", "exc_vec": 14, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000008", "rip_sym": "kdrv_hdr+0x0500", "fault_hex": "8b 46 08", "fault_len": 3, "disasm": "mov eax, dword ptr [rsi + 8]", "regs_summary": "RAX=0x99 RBX=0x0 RCX=0x0 RDX=0x0 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013d20 RFLAGS=0x246", "contract_hint": "Header field read into EAX then stored to out_val and returned; safe fallback requires EAX=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_hdr: hdr_ptr=NULL field_off=0x08 fallback=zero", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0 90", "kvm_mode": "exec", "stub_hex": "b89900000031f68b460848894708c3", "patch_off": 7, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "pf_rsi_load_zero_rsi_off18", "family_id": "fam_pf_rsi_load", "category": "pf_patchable", "split": "test", "exc_name": "#PF", "exc_vec": 14, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000018", "rip_sym": "kdrv_hdr+0x0510", "fault_hex": "8b 46 18", "fault_len": 3, "disasm": "mov eax, dword ptr [rsi + 0x18]", "regs_summary": "RAX=0x99 RBX=0x0 RCX=0x0 RDX=0x0 RSI=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013d20 RFLAGS=0x246", "contract_hint": "Header field read into EAX then stored to out_val and returned; safe fallback requires EAX=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_hdr: hdr_ptr=NULL field_off=0x18 fallback=zero", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0 90", "kvm_mode": "exec", "stub_hex": "b89900000031f68b461848894708c3", "patch_off": 7, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_div_ecx_v1", "family_id": "fam_de_div_ecx", "category": "de_patchable", "split": "train", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0008", "fault_hex": "f7 f1", "fault_len": 2, "disasm": "div ecx", "regs_summary": "RAX=0x2a RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_rate: denom=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0", "kvm_mode": "exec", "stub_hex": "b82a00000031d231c9f7f148894708c3", "patch_off": 9, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_div_ecx_v2", "family_id": "fam_de_div_ecx", "category": "de_patchable", "split": "train", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0018", "fault_hex": "f7 f1", "fault_len": 2, "disasm": "div ecx", "regs_summary": "RAX=0x64 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_rate: samples=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0", "kvm_mode": "exec", "stub_hex": "b86400000031d231c9f7f148894708c3", "patch_off": 9, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_idiv_esi_v1", "family_id": "fam_de_idiv_esi", "category": "de_patchable", "split": "train", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0028", "fault_hex": "f7 fe", "fault_len": 2, "disasm": "idiv esi", "regs_summary": "RAX=0x50 RSI=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_avg: count=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0", "kvm_mode": "exec", "stub_hex": "b8500000009931f6f7fe48894708c3", "patch_off": 8, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_idiv_esi_v2", "family_id": "fam_de_idiv_esi", "category": "de_patchable", "split": "train", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0038", "fault_hex": "f7 fe", "fault_len": 2, "disasm": "idiv esi", "regs_summary": "RAX=0xc8 RSI=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_avg: buckets=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0", "kvm_mode": "exec", "stub_hex": "b8c80000009931f6f7fe48894708c3", "patch_off": 8, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_div_ebx_v1", "family_id": "fam_de_div_ebx", "category": "de_patchable", "split": "train", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0048", "fault_hex": "f7 f3", "fault_len": 2, "disasm": "div ebx", "regs_summary": "RAX=0x33 RBX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_scale: divisor=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0", "kvm_mode": "exec", "stub_hex": "53b83300000031d231dbf7f35b48894708c3", "patch_off": 10, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_div_ebx_v2", "family_id": "fam_de_div_ebx", "category": "de_patchable", "split": "train", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0058", "fault_hex": "f7 f3", "fault_len": 2, "disasm": "div ebx", "regs_summary": "RAX=0x7f RBX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_scale: span=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0", "kvm_mode": "exec", "stub_hex": "53b87f00000031d231dbf7f35b48894708c3", "patch_off": 10, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_div_r8d_v1", "family_id": "fam_de_div_r8d", "category": "de_patchable", "split": "val", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0068", "fault_hex": "41 f7 f0", "fault_len": 3, "disasm": "div r8d", "regs_summary": "RAX=0x63 R8=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_hist: total=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0 90", "kvm_mode": "exec", "stub_hex": "b86300000031d24531c041f7f048894708c3", "patch_off": 10, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_div_r8d_v2", "family_id": "fam_de_div_r8d", "category": "de_patchable", "split": "val", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0078", "fault_hex": "41 f7 f0", "fault_len": 3, "disasm": "div r8d", "regs_summary": "RAX=0xff R8=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_hist: weight_sum=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0 90", "kvm_mode": "exec", "stub_hex": "b8ff00000031d24531c041f7f048894708c3", "patch_off": 10, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_div64_rcx_v1", "family_id": "fam_de_div64_rcx", "category": "de_patchable", "split": "train", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0088", "fault_hex": "48 f7 f1", "fault_len": 3, "disasm": "div rcx", "regs_summary": "RAX=0x1f4 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_bw: dt_ns=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "48 31 c0", "kvm_mode": "exec", "stub_hex": "b8f401000031d231c948f7f148894708c3", "patch_off": 9, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_div64_rcx_v2", "family_id": "fam_de_div64_rcx", "category": "de_patchable", "split": "train", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x0098", "fault_hex": "48 f7 f1", "fault_len": 3, "disasm": "div rcx", "regs_summary": "RAX=0x3e8 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_bw: window_ns=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "48 31 c0", "kvm_mode": "exec", "stub_hex": "b8e803000031d231c948f7f148894708c3", "patch_off": 9, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_idiv_r9d_v1", "family_id": "fam_de_idiv_r9d", "category": "de_patchable", "split": "test", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x00a8", "fault_hex": "41 f7 f9", "fault_len": 3, "disasm": "idiv r9d", "regs_summary": "RAX=0x80 R9=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_ema: alpha_den=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0 90", "kvm_mode": "exec", "stub_hex": "b880000000994531c941f7f948894708c3", "patch_off": 9, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "de_idiv_r9d_v2", "family_id": "fam_de_idiv_r9d", "category": "de_patchable", "split": "test", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_math+0x00b8", "fault_hex": "41 f7 f9", "fault_len": 3, "disasm": "idiv r9d", "regs_summary": "RAX=0xaa R9=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013cc0 RFLAGS=0x246", "contract_hint": "Quotient in RAX/EAX is stored to out_val and returned; safe divide-by-zero contract requires quotient=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_ema: norm_den=0 fallback_quotient=0", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0 90", "kvm_mode": "exec", "stub_hex": "b8aa000000994531c941f7f948894708c3", "patch_off": 9, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "ud_trap_clean_v1", "family_id": "fam_ud_clean", "category": "ud_patchable", "split": "train", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_guard+0x010a", "fault_hex": "0f 0b", "fault_len": 2, "disasm": "ud2", "regs_summary": "RAX=0x0 RBX=0x0 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c80 RFLAGS=0x246", "contract_hint": "Non-fatal diagnostic trap with EAX=0 and out_val=0x42 already populated; skipping trap returns 0 cleanly.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_guard: diag_trap=ud2 state=clean pre_commit=1", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90", "kvm_mode": "exec", "stub_hex": "31c048c74708420000000f0bc3", "patch_off": 10, "expect_out_hex": "42", "expect_ret_hex": "0"}
{"scenario_id": "ud_trap_clean_v2", "family_id": "fam_ud_clean", "category": "ud_patchable", "split": "train", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_guard+0x011a", "fault_hex": "0f 0b", "fault_len": 2, "disasm": "ud2", "regs_summary": "RAX=0x0 RBX=0x0 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c80 RFLAGS=0x246", "contract_hint": "Non-fatal diagnostic trap with EAX=0 and out_val=0x42 already populated; skipping trap returns 0 cleanly.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_guard: diag_trap=ud2 state=clean pre_commit=1", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90", "kvm_mode": "exec", "stub_hex": "31c048c74708420000000f0bc3", "patch_off": 10, "expect_out_hex": "42", "expect_ret_hex": "0"}
{"scenario_id": "ud_trap_zero_ret_v1", "family_id": "fam_ud_zero_ret", "category": "ud_patchable", "split": "train", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_gate+0x0202", "fault_hex": "0f 0b", "fault_len": 2, "disasm": "ud2", "regs_summary": "RAX=0x1337 RBX=0x0 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c60 RFLAGS=0x246", "contract_hint": "Stale EAX=0x1337 precedes diagnostic ud2 before storing RAX to out_val and returning; safe fallback requires EAX=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_gate: diag_trap=ud2 fallback_ret=0 state=clean", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0", "kvm_mode": "exec", "stub_hex": "b8371300000f0b48894708c3", "patch_off": 5, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "ud_trap_zero_ret_v2", "family_id": "fam_ud_zero_ret", "category": "ud_patchable", "split": "train", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_gate+0x0212", "fault_hex": "0f 0b", "fault_len": 2, "disasm": "ud2", "regs_summary": "RAX=0x1337 RBX=0x0 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c60 RFLAGS=0x246", "contract_hint": "Stale EAX=0x1337 precedes diagnostic ud2 before storing RAX to out_val and returning; safe fallback requires EAX=0 (out=0, ret=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_gate: diag_trap=ud2 fallback_ret=0 state=clean", "expected_action": "PATCH_BYTES", "ref_patch_hex": "31 c0", "kvm_mode": "exec", "stub_hex": "b8371300000f0b48894708c3", "patch_off": 5, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "ud_ud1_clean_v1", "family_id": "fam_ud_ud1", "category": "ud_patchable", "split": "val", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_probe+0x0300", "fault_hex": "0f b9 c0", "fault_len": 3, "disasm": "ud1", "regs_summary": "RAX=0x0 RBX=0x1 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c40 RFLAGS=0x246", "contract_hint": "Diagnostic UD1 trap before commit with EAX=0 and out=0; skipping trap returns 0 cleanly.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_probe: diag_trap=ud1 state=clean", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90", "kvm_mode": "exec", "stub_hex": "31c048c74708000000000fb9c0c3", "patch_off": 10, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "ud_ud1_clean_v2", "family_id": "fam_ud_ud1", "category": "ud_patchable", "split": "val", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_probe+0x0310", "fault_hex": "0f b9 c0", "fault_len": 3, "disasm": "ud1", "regs_summary": "RAX=0x0 RBX=0x1 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c40 RFLAGS=0x246", "contract_hint": "Diagnostic UD1 trap before commit with EAX=0 and out=0; skipping trap returns 0 cleanly.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_probe: diag_trap=ud1 state=clean", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90", "kvm_mode": "exec", "stub_hex": "31c048c74708000000000fb9c0c3", "patch_off": 10, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "ud_ud0_clean_v1", "family_id": "fam_ud_ud0", "category": "ud_patchable", "split": "test", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_check+0x0400", "fault_hex": "0f ff c0", "fault_len": 3, "disasm": "ud0", "regs_summary": "RAX=0x0 RBX=0x2 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c20 RFLAGS=0x246", "contract_hint": "Diagnostic UD0 trap before commit with EAX=0 and out=0; skipping trap returns 0 cleanly.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_check: diag_trap=ud0 state=clean", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90", "kvm_mode": "exec", "stub_hex": "31c048c74708000000000fffc0c3", "patch_off": 10, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "ud_ud0_clean_v2", "family_id": "fam_ud_ud0", "category": "ud_patchable", "split": "test", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_check+0x0410", "fault_hex": "0f ff c0", "fault_len": 3, "disasm": "ud0", "regs_summary": "RAX=0x0 RBX=0x2 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c20 RFLAGS=0x246", "contract_hint": "Diagnostic UD0 trap before commit with EAX=0 and out=0; skipping trap returns 0 cleanly.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_check: diag_trap=ud0 state=clean", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90 90", "kvm_mode": "exec", "stub_hex": "31c048c74708000000000fffc0c3", "patch_off": 10, "expect_out_hex": "0", "expect_ret_hex": "0"}
{"scenario_id": "ud_trap_keep_out_v1", "family_id": "fam_ud_keep_out", "category": "ud_patchable", "split": "train", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_sync+0x0500", "fault_hex": "0f 0b", "fault_len": 2, "disasm": "ud2", "regs_summary": "RAX=0x0 RBX=0x0 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c00 RFLAGS=0x246", "contract_hint": "Debug trap after preparing out_val=0x77 and EAX=0; skipping trap completes operation cleanly.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_sync: debug_trap=ud2 pre_commit=1", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90", "kvm_mode": "exec", "stub_hex": "31c048c74708770000000f0bc3", "patch_off": 10, "expect_out_hex": "77", "expect_ret_hex": "0"}
{"scenario_id": "ud_trap_keep_out_v2", "family_id": "fam_ud_keep_out", "category": "ud_patchable", "split": "train", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_sync+0x0510", "fault_hex": "0f 0b", "fault_len": 2, "disasm": "ud2", "regs_summary": "RAX=0x0 RBX=0x0 RCX=0x0 RDX=0x0 RDI=0xffff888004100000 RSP=0xffffc90000013c00 RFLAGS=0x246", "contract_hint": "Debug trap after preparing out_val=0x77 and EAX=0; skipping trap completes operation cleanly.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_sync: debug_trap=ud2 pre_commit=1", "expected_action": "PATCH_BYTES", "ref_patch_hex": "90 90", "kvm_mode": "exec", "stub_hex": "31c048c74708770000000f0bc3", "patch_off": 10, "expect_out_hex": "77", "expect_ret_hex": "0"}
{"scenario_id": "ctrl_pass_extable_get_user", "family_id": "fam_ctrl_extable", "category": "pass_to_linux", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000010", "rip_sym": "__get_user_8+0x0014", "fault_hex": "48 8b 11", "fault_len": 3, "disasm": "mov rdx, qword ptr [rcx]", "regs_summary": "RAX=0x0 RCX=0x10 RDX=0x0", "contract_hint": "User-pointer read covered by Linux _ASM_EXTABLE fixup (returns -EFAULT).", "extable": 1, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kernel: copy_from_user / get_user probe on user pointer 0x10", "expected_action": "PASS_TO_LINUX", "ref_patch_hex": "NONE", "kvm_mode": "extable_test", "stub_hex": "", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_pass_extable_futex", "family_id": "fam_ctrl_extable", "category": "pass_to_linux", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "futex_detect_cmpxchg+0x0026", "fault_hex": "3e 0f b1 0e", "fault_len": 4, "disasm": "cmpxchg dword ptr ds:[rsi], ecx", "regs_summary": "RAX=0x0 RCX=0x0 RSI=0x0", "contract_hint": "Linux boot-time futex_detect_cmpxchg probe covered by _ASM_EXTABLE.", "extable": 1, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kernel: futex_init probing cmpxchg_futex_value_locked", "expected_action": "PASS_TO_LINUX", "ref_patch_hex": "NONE", "kvm_mode": "extable_test", "stub_hex": "", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_pass_extable_copy_user", "family_id": "fam_ctrl_extable_copy", "category": "pass_to_linux", "split": "val", "exc_name": "#PF", "exc_vec": 14, "err_code": 0, "cpl": 0, "cr2": "0x00007f0012340000", "rip_sym": "copy_user_enhanced_fast_string+0x0009", "fault_hex": "f3 a4", "fault_len": 2, "disasm": "rep movsb byte ptr [rdi], byte ptr [rsi]", "regs_summary": "RCX=0x40 RSI=0x7f0012340000 RDI=0xffff888005000000", "contract_hint": "Demand-paged user buffer read inside copy_from_user with _ASM_EXTABLE.", "extable": 1, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kernel: syscall read/write user buffer fault", "expected_action": "PASS_TO_LINUX", "ref_patch_hex": "NONE", "kvm_mode": "extable_test", "stub_hex": "", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_pass_user_pf_cpl3", "family_id": "fam_ctrl_cpl3", "category": "pass_to_linux", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 4, "cpl": 3, "cr2": "0x00007ffe91a00000", "rip_sym": "user+0x00401234", "fault_hex": "8b 00", "fault_len": 2, "disasm": "mov eax, dword ptr [rax]", "regs_summary": "RAX=0x7ffe91a00000 RSP=0x7ffe919ff000", "contract_hint": "Ring 3 userspace page fault (demand paging / COW / SIGSEGV handled by Linux mm).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "user: normal ring-3 fault", "expected_action": "PASS_TO_LINUX", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_pass_warn_on_once", "family_id": "fam_ctrl_warn", "category": "pass_to_linux", "split": "val", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_warn_path+0x0018", "fault_hex": "0f 0b", "fault_len": 2, "disasm": "ud2", "regs_summary": "RAX=0x1 RBX=0x0 RSP=0xffffc90000013b80", "contract_hint": "Linux WARN_ON_ONCE metadata entry (bug_warn=1); kernel logs warning and continues cleanly.", "extable": 0, "bug_warn": 1, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kernel: __bug_table entry flag=BUGFLAG_WARNING", "expected_action": "PASS_TO_LINUX", "ref_patch_hex": "NONE", "kvm_mode": "warn_test", "stub_hex": "", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_pass_user_ud_cpl3", "family_id": "fam_ctrl_cpl3_ud", "category": "pass_to_linux", "split": "test", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 3, "cr2": "0x0000000000000000", "rip_sym": "user+0x00402100", "fault_hex": "0f 0b", "fault_len": 2, "disasm": "ud2", "regs_summary": "RAX=0x0 RSP=0x7ffe919fe800", "contract_hint": "Ring 3 userspace invalid opcode (Linux delivers SIGILL to user process).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "user: ring-3 illegal instruction", "expected_action": "PASS_TO_LINUX", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_halt_pf_lock_held", "family_id": "fam_halt_lock", "category": "halt_for_dump", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_tx+0x0180", "fault_hex": "c7 04 25 00 00 00 00 ef be ad de", "fault_len": 11, "disasm": "mov dword ptr [0], 0xdeadbeef", "regs_summary": "RAX=0x0 RBX=0x3 RCX=0x0", "contract_hint": "Ring 0 NULL write while holding spinlock (lock_held=1); patching risks deadlock / lock leak.", "extable": 0, "bug_warn": 0, "lock_held": 1, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_tx: spin_lock(&dev->tx_lock) acquired; preempt_count=1", "expected_action": "HALT_FOR_DUMP", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "c7042500000000efbeadde", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_halt_pf_side_effect", "family_id": "fam_halt_sideeff", "category": "halt_for_dump", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_blk+0x0214", "fault_hex": "89 10", "fault_len": 2, "disasm": "mov dword ptr [rax], edx", "regs_summary": "RAX=0x0 RDX=0x55", "contract_hint": "Ring 0 NULL store AFTER DMA/block write already committed (side_effect=1).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 1, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_blk: dma_submit() already issued to NVMe queue before fault", "expected_action": "HALT_FOR_DUMP", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "8910", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_halt_pf_irq_ctx", "family_id": "fam_halt_irq", "category": "halt_for_dump", "split": "train", "exc_name": "#PF", "exc_vec": 14, "err_code": 2, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_isr+0x004c", "fault_hex": "c6 00 01", "fault_len": 3, "disasm": "mov byte ptr [rax], 1", "regs_summary": "RAX=0x0 RDX=0x1", "contract_hint": "Ring 0 NULL write inside hard IRQ context (irq_ctx=1); unsafe to patch live.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 1, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_isr: in_hardirq()=1 interrupt handler active", "expected_action": "HALT_FOR_DUMP", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "c60001", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_halt_de_side_effect", "family_id": "fam_halt_de_sideeff", "category": "halt_for_dump", "split": "val", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_ledger+0x0088", "fault_hex": "f7 f1", "fault_len": 2, "disasm": "div ecx", "regs_summary": "RAX=0x2a RCX=0x0 RDX=0x0", "contract_hint": "Ring 0 divide-by-zero AFTER partial state mutation committed (side_effect=1).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 1, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_ledger: journal header already flushed before div", "expected_action": "HALT_FOR_DUMP", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "f7f1", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_halt_de_lock_held", "family_id": "fam_halt_de_lock", "category": "halt_for_dump", "split": "val", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_sched+0x00a4", "fault_hex": "f7 fe", "fault_len": 2, "disasm": "idiv esi", "regs_summary": "RAX=0x50 RSI=0x0 RDX=0x0", "contract_hint": "Ring 0 signed divide-by-zero while holding rwlock (lock_held=1).", "extable": 0, "bug_warn": 0, "lock_held": 1, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_sched: write_lock_irq(&rq->lock) held", "expected_action": "HALT_FOR_DUMP", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "f7fe", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_halt_ud_bug_post_commit", "family_id": "fam_halt_ud_bug", "category": "halt_for_dump", "split": "train", "exc_name": "#UD", "exc_vec": 6, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_fs+0x0310", "fault_hex": "0f 0b", "fault_len": 2, "disasm": "ud2", "regs_summary": "RAX=0x0 RBX=0x1", "contract_hint": "Hard BUG_ON invariant failure (bug_warn=0) after metadata write committed (side_effect=1).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 1, "stack_ok": 1, "obs_complete": 1, "log_tail": "kdrv_fs: BUG_ON(inode->dirty_bytes < 0) post-commit", "expected_action": "HALT_FOR_DUMP", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "0f0b", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_halt_stack_corrupt", "family_id": "fam_halt_stack", "category": "halt_for_dump", "split": "test", "exc_name": "#PF", "exc_vec": 14, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000010", "rip_sym": "kdrv_parse+0x0410", "fault_hex": "8b 43 10", "fault_len": 3, "disasm": "mov eax, dword ptr [rbx + 0x10]", "regs_summary": "RAX=0x77 RBX=0x0 RSP=0x0000000000000008", "contract_hint": "Ring 0 fault with corrupted kernel stack pointer (stack_ok=0).", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 0, "obs_complete": 1, "log_tail": "kdrv_parse: RSP outside kernel stack bounds", "expected_action": "HALT_FOR_DUMP", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "8b4310", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}
{"scenario_id": "ctrl_halt_incomplete_obs", "family_id": "fam_halt_incomplete", "category": "halt_for_dump", "split": "test", "exc_name": "#DE", "exc_vec": 0, "err_code": 0, "cpl": 0, "cr2": "0x0000000000000000", "rip_sym": "kdrv_unknown+0x0090", "fault_hex": "f7 f1", "fault_len": 2, "disasm": "div ecx", "regs_summary": "RAX=0x2a RCX=0x0", "contract_hint": "Incomplete/truncated Ring -1 telemetry snapshot (obs_complete=0); cannot verify safe patch.", "extable": 0, "bug_warn": 0, "lock_held": 0, "irq_ctx": 0, "side_effect": 0, "stack_ok": 1, "obs_complete": 0, "log_tail": "ring1: guest page walk partial; telemetry truncated", "expected_action": "HALT_FOR_DUMP", "ref_patch_hex": "NONE", "kvm_mode": "policy_only", "stub_hex": "f7f1", "patch_off": 0, "expect_out_hex": "ffffffffffffffff", "expect_ret_hex": "ffffffffffffffff"}