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
31 lines
862 B
YAML
31 lines
862 B
YAML
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_EXEC
|
|
Machine: EM_AARCH64
|
|
Entry: 0xFFFF000000000800
|
|
Sections:
|
|
- Name: .bss
|
|
Type: SHT_NOBITS
|
|
Flags: [ SHF_WRITE, SHF_ALLOC ]
|
|
Address: 0xFFFF000000C35000
|
|
AddressAlign: 0x1000
|
|
Size: 0x37F000
|
|
Symbols:
|
|
- Name: kernbase
|
|
Index: SHN_ABS
|
|
Binding: STB_GLOBAL
|
|
Value: 0xFFFF000000000000
|
|
- Name: dumppcb
|
|
Type: STT_OBJECT
|
|
Section: .bss
|
|
Value: 0xFFFF000000DF3790
|
|
Size: 0x560
|
|
- Name: hz
|
|
Type: STT_OBJECT
|
|
Section: .bss
|
|
Binding: STB_GLOBAL
|
|
Value: 0xFFFF000000E2651C
|
|
Size: 0x4
|