28 May 2024 to 1 June 2024
University of Ottawa
EST timezone

LLDB FreeBSD Kernel Module Improvement

1 Jun 2024, 14:45
1h
Desmarais 1110 (University of Ottawa)

Desmarais 1110

University of Ottawa

Lecture 50 min Development Talks: Room 1110- - Saturday

Speaker

ShengYi Hung (National Taiwan Normal University)

Description

This talk introduces the low level debugger (LLDB) kernel module debug facility for the FreeBSD kernel. The current functional status of LLDB within the FreeBSD kernel is attributed to contributions from [1] and the collaborative efforts of the community. Key functionalities include core dump parsing and memory context building for the coredump, specifically integrated into the process plugin within LLDB for the FreeBSD kernel.

This enhancement equips LLDB for effective post-mortem debugging on the FreeBSD kernel. While the implementation of the process plugin has been successfully completed, the paper emphasizes the imperative need to implement the DynamicLoader plugin for the kernel loader.

This plugin plays a critical role in loading the symbol file of the kernel module, ensuring comprehensive parsing of symbols for loadable kernel modules.
Additionally, given the potential existence of the kernel module as either a relocatable file (for x86) or a shared object (for ARM), the implementation should confirms the usability of both types of ELF format kernel modules.

Primary author

ShengYi Hung (National Taiwan Normal University)

Presentation materials

There are no materials yet.