Michał Górny 9c7fbc3f9b [lldb] Introduce a FreeBSDKernel plugin for vmcores
Introduce a FreeBSDKernel plugin that provides the ability to read
FreeBSD kernel core dumps.  The plugin utilizes libfbsdvmcore to provide
support for both "full memory dump" and minidump formats across variety
of architectures supported by FreeBSD.  It provides the ability to read
kernel memory, as well as the crashed thread status with registers
on arm64, i386 and x86_64.

Differential Revision: https://reviews.llvm.org/D114911
2021-12-14 22:07:20 +01:00

39 lines
1.0 KiB
YAML

--- !ELF
FileHeader:
Class: ELFCLASS32
Data: ELFDATA2LSB
OSABI: ELFOSABI_FREEBSD
Type: ET_EXEC
Machine: EM_386
Entry: 0x8F9000
Sections:
- Name: .bss
Type: SHT_NOBITS
Flags: [ SHF_WRITE, SHF_ALLOC ]
Address: 0x1AB7B00
AddressAlign: 0x80
Offset: 0x12B7AB0
Size: 0x2D48D8
Symbols:
- Name: kernbase
Index: SHN_ABS
Binding: STB_GLOBAL
Value: 0x800000
- Name: dumppcb
Type: STT_OBJECT
Section: .bss
Value: 0x1D2D9A0
Size: 0xC0
- Name: hz
Type: STT_OBJECT
Section: .bss
Binding: STB_GLOBAL
Value: 0x1D4053C
Size: 0x4
- Name: IdlePDPT
Type: STT_OBJECT
Section: .bss
Binding: STB_GLOBAL
Value: 0x1D8B044
Size: 0x4