ghidra 反汇编可执行文件报错:Only DWARF version 2, 3, or 4 information is currently supported (detected 5).
完整报错信息如下:
(These messages are also written to the application log file)
Error during DWARFAnalyzer import: ghidra.app.util.bin.format.dwarf4.DWARFException:
Only DWARF version 2, 3, or 4 information is currently supported (detected 5).
TODO: 解决方案尚未找到
分析原因:clang-17 使用了 DWARF5 版本,这个版本无法让 ghidra 解析
尝试了给 clang 加上 -gdwarf-4/3/2 选项,无用