Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| summerofcode2023projects:lldbkernelmoduleimprovement [2023/08/22 11:40] – feat: add demo for GSoC Project ShengYiHong | summerofcode2023projects:lldbkernelmoduleimprovement [2023/08/30 14:17] (current) – feat: change commit branch to simplify change ShengYiHong | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| In LLDB’s userspace implementation, | In LLDB’s userspace implementation, | ||
| - | loaded module information, | + | loaded module information, |
| What we have to do is to combine LLDB userspace and kgdb in LLDB | What we have to do is to combine LLDB userspace and kgdb in LLDB | ||
| kernel space. | kernel space. | ||
| Line 42: | Line 42: | ||
| * June 12th - June 26th | * June 12th - June 26th | ||
| - | In this week, I implement LLDB interface sketch for [[/DynamicLoader|DynamicLoader]] | + | In this week, I implement LLDB interface sketch for %%DynamicLoader%% %%FreeBSD%% Kernel (%%DynamicLoaderFreeBSDKernel%%) that contains parsing kernel loader address and designinbg kld memory Image structure that contain enough information to create lldb Module. |
| Also, the lldb Module information for Kernel is also parsed so that can provide lldb recognize the Kernel. | Also, the lldb Module information for Kernel is also parsed so that can provide lldb recognize the Kernel. | ||
| Line 69: | Line 69: | ||
| ===== The Code ===== | ===== The Code ===== | ||
| - | https:// | + | https:// |
| ===== Final Production ===== | ===== Final Production ===== | ||
| Line 119: | Line 119: | ||
| < | < | ||
| + | (lldb) image dump symtab cryptodev.ko | ||
| + | Symtab, file = / | ||
| + | Debug symbol | ||
| + | | ||
| + | | ||
| + | ||| | ||
| Index | Index | ||
| ------- ------ --- --------------- ------------------ ------------------ ------------------ ---------- ---------------------------------- | ------- ------ --- --------------- ------------------ ------------------ ------------------ ---------- ---------------------------------- | ||