Page MenuHomeFreeBSD

Add a tool to convert kernel minidump to elf coredump
AbandonedPublic

Authored by minsoochoo0122_proton.me on Feb 19 2019, 9:01 PM.
Tags
None
Referenced Files
F151035927: D19253.id54227.diff
Sun, Apr 5, 2:17 PM
Unknown Object (File)
Mon, Mar 30, 2:35 PM
Unknown Object (File)
Sat, Mar 28, 6:25 PM
Unknown Object (File)
Sat, Mar 28, 12:36 AM
Unknown Object (File)
Fri, Mar 27, 4:53 PM
Unknown Object (File)
Mon, Mar 9, 10:47 PM
Unknown Object (File)
Feb 27 2026, 2:24 PM
Unknown Object (File)
Feb 17 2026, 7:11 PM

Details

Summary

Add a tool that converts a given kernel minidump to elf coredump format
so that gdb or lldb can directly read this instead of learning about
the special format.

submitted by: Bora Ozarslan borako.ozarslan@gmail.com

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste added inline comments.
tools/tools/minidump_to_elf/minidump-to-elf.1
1

Copy-pasteo

emaste added inline comments.
tools/tools/minidump_to_elf/main.c
152

we may want to avoid modifying libkvm (we can just open the kernel again and call elf_begin).

I can take this once my work on LLDB is done (probably in April). I think this is mostly complete although there are some places that need fixes or improvements. Phab shows the author has been inactive for a long time, so I'll take this unless I hear back from the author.

Bora was a co-op student at the time of this submission, and I don't believe is using FreeBSD any longer.

Author isn't working on this anymore so I'm taking control of this revision.