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
Unknown Object (File)
Tue, Jul 21, 10:00 AM
Unknown Object (File)
Mon, Jul 20, 11:42 PM
Unknown Object (File)
Sun, Jul 19, 2:01 PM
Unknown Object (File)
Mon, Jul 13, 7:48 AM
Unknown Object (File)
Sun, Jul 12, 8:16 PM
Unknown Object (File)
Sat, Jul 4, 12:38 PM
Unknown Object (File)
Thu, Jul 2, 1:13 PM
Unknown Object (File)
Sat, Jun 27, 2:33 AM

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.