[Lldb-commits] [lldb] [LLDB] Extract process arguments from core dump for Linux (PR #185338)

Minsoo Choo via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 16 05:14:02 PDT 2026


mchoo7 wrote:

FreeBSD already has parsing for this, but we skip `pr_psargs` because it is only used to get pid. Note that maximum string length is 80+1 (\0) characters:

https://github.com/llvm/llvm-project/blob/2b3965adc730764b9c88299d8548fbdc437e82bf/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp#L568-L584

Adding support for FreeBSD will be easy after this change is merged.



https://github.com/llvm/llvm-project/pull/185338


More information about the lldb-commits mailing list