Page MenuHomeFreeBSD

Add a tool to convert kernel minidump to elf coredump
AbandonedPublic

Authored by mchoo on Feb 19 2019, 9:01 PM.
Tags
None
Referenced Files
F171467621: D19253.id54091.diff
Fri, Sep 11, 6:58 AM
F171451203: D19253.id.diff
Fri, Sep 11, 4:44 AM
Unknown Object (File)
Thu, Sep 10, 6:01 PM
Unknown Object (File)
Thu, Sep 10, 5:15 PM
Unknown Object (File)
Fri, Aug 21, 10:01 PM
Unknown Object (File)
Fri, Aug 14, 3:56 PM
Unknown Object (File)
Aug 12 2026, 5:04 PM
Unknown Object (File)
Aug 11 2026, 11:55 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.

mchoo added a reviewer: borako.ozarslan_gmail.com.

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

Abandoning in favour of D56250 and D56256