randomparity / randomparity/kdive

Structured KASAN/oops console-report parser and symbolizer

Open
#990 1 comment 0 reactions 0 assignees View on GitHub
area:debug area:mcp-api effort:L priority:P3 provider:local-libvirt risk:daytime-only status:ready type:feature
Dominant language
Python
Stars
0
Forks
0
Avg merge
1h 26m
Merged PRs (30d)
311

Description

## Problem

Boot-outcome classification is literal substring matching (`readiness.py` / `crash_signatures`); an agent must eyeball the raw KASAN/oops report in the console artifact.

## Proposed work

A tool that parses a KASAN/oops report into `{bug_type, fault_address, access, call_stack[]}` and symbolizes bare addresses against the staged vmlinux.

**Scope:** new parser over the redacted console/dmesg + the debuginfo resolver.

## Acceptance

Given a Run whose console contains a KASAN report, one call returns the structured report with a symbolized call stack.

---
*Source: OPUS_REVIEW.md §5, item I-10 (Tier 4, nice-to-have). Would speed every test case.*

Contributor guide

Open the contributing guide

Research direction

Start by reading readiness.py and crash_signatures to understand the current literal boot-outcome matching, then trace how redacted console/dmesg content and the staged vmlinux debuginfo resolver are exposed. The work is done when a Run containing a KASAN report yields bug_type, fault_address, access, and a symbolized call_stack in one call.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.