Recognize FreeBSD vmcores (kernel core dumps) through OS ABI = 0xFF
+ ELF version = 0, and do not process them via the elf-core plugin.
While these files use ELF as a container format, they contain raw memory
dump rather than proper VM segments and therefore are not usable
to the elf-core plugin.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp | ||
---|---|---|
67 ↗ | (On Diff #391358) | Maybe "FreeBSD full ELF vmcore" or such? We may have three different FreeBSD vmcore formats to deal with
|
Comment Actions
Fix thinko.
lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp | ||
---|---|---|
67 ↗ | (On Diff #391358) | Good idea. I've changed it to use "full memory dump" to follow the Handbook, and added "raw" to make it clearer we're not talking of the converted version. |
Comment Actions
Add arm64 support, simplify logic in ThreadFreeBSDKernel, handle unsupported architectures gracefully (instead of crashing).