A bugreport is a diagnostic container, not one log file.
Modern Android bugreports combine a large dumpstate text entry with metadata and side artifacts. A useful parser preserves where evidence came from because a tombstone, pstore record, ANR trace, and dumpsys section do not carry the same meaning.
bugreport-BUILD-DATE.zipWhat DroidDiagnostics currently inventories
The v0.2 engine records source type and dumpstate section boundaries before subsystem analyzers run.
Runtime logs
System, event, radio/logcat-like records used for event ordering and service lifecycle evidence.
Kernel / pstore
Kernel panic, hung-task, storage/driver faults, previous-boot evidence, and low-level restart context.
ANR & tombstones
Separate artifacts are prioritized because they preserve thread/native crash context that a short log line cannot.
Battery & power
BatteryStats, wake-lock and power-related sections are recognized for battery timeline work.
Memory & Binder
PSI/memory signals, lmkd activity, Binder failures, and cross-process dependencies support ANR/watchdog triage.
Storage & network
Filesystem/block I/O and connectivity failures are analyzed as possible upstream causes rather than isolated warnings.
Why source identity matters
A line that says “timeout” inside kernel output is not equivalent to a framework service timeout. Likewise, a post-reboot logcat buffer may no longer contain the event that triggered a panic, while pstore still does. DroidDiagnostics therefore tracks archive entry, line number, source kind, and timestamp whenever available.
What the analyzer deliberately does not claim
No static parser can prove a root cause from every bugreport. Vendor sections vary, buffers can rotate, some data is redacted, and an incident may require symbols or reproduction. The tool labels evidence strength and keeps the original source excerpts visible so a human engineer can verify the conclusion.