Skip to content

Commit f4d7761

Browse files
committed
Add DynamicLoader Plugin Fore FreeBSD Kernel coredump
This patch add dynamicloader plguin for freebsd kernel coredump on lldb. The implementation is by parsing linker_files structure and get all loaded kernel modules. This patch was part of FreeBSD's participation in Google Summer of Code 2023
1 parent 01d3045 commit f4d7761

File tree

6 files changed

+1014
-7
lines changed

6 files changed

+1014
-7
lines changed

lldb/source/Plugins/DynamicLoader/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
add_subdirectory(Darwin-Kernel)
2+
add_subdirectory(FreeBSD-Kernel)
23
add_subdirectory(MacOSX-DYLD)
34
add_subdirectory(POSIX-DYLD)
45
add_subdirectory(Static)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
add_lldb_library(lldbPluginDynamicLoaderFreeBSDKernel PLUGIN
2+
DynamicLoaderFreeBSDKernel.cpp
3+
4+
LINK_LIBS
5+
lldbBreakpoint
6+
lldbCore
7+
lldbHost
8+
lldbInterpreter
9+
lldbSymbol
10+
lldbTarget
11+
lldbUtility
12+
lldbPluginObjectFileELF
13+
)

0 commit comments

Comments
 (0)