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
Unknown Object (File)
Fri, Aug 14, 3:56 PM
Unknown Object (File)
Wed, Aug 12, 5:04 PM
Unknown Object (File)
Tue, Aug 11, 11:55 PM
Unknown Object (File)
Mon, Aug 10, 11:43 AM
Unknown Object (File)
Mon, Aug 10, 11:43 AM
Unknown Object (File)
Sun, Aug 9, 8:25 PM
Unknown Object (File)
Sun, Aug 9, 8:25 PM
Unknown Object (File)
Sat, Aug 8, 5:57 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