Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-doc
Path: blob/main/website/content/en/status/report-2023-07-2023-09/lldb-kmod.adoc
18096 views
=== LLDB Kernel Module Improvement

Links: +
link:https://wiki.freebsd.org/SummerOfCode2023Projects/LLDBKernelModuleImprovement[GSoC Wiki Project] URL: link:https://wiki.freebsd.org/SummerOfCode2023Projects/LLDBKernelModuleImprovement[] +
link:https://github.com/aokblast/freebsd-src/tree/lldb_dynamicloader_freebsd_kernel[Project Codebase] URL: link:https://github.com/aokblast/freebsd-src/tree/lldb_dynamicloader_freebsd_kernel[] +
link:https://github.com/llvm/llvm-project/pull/67106[LLVM PullRequest] URL: link:https://github.com/llvm/llvm-project/pull/67106[]

Contact: Sheng-Yi Hong <[email protected]>

The LLDB Kernel Module Improvement Project described in the previous quarter report implements DynamicLoader Plugin for FreeBSD Kernel on LLDB.

All of the work is done -- that is, this plugin can correctly load all kernel modules and their debug files extracted from kernel coredump.

This plugin has been tested on both x86-64 for relocatable type kernel module and arm64(EC2) for shared library type kernel module.
Both of these platforms show this plugin works well.

Currently, this plugin prepares to be landed to LLVM codebase in https://github.com/llvm/llvm-project/pull/67106[LLVM PullRequest]

Sponsor: The Google Summer of Code '23 program