mirror of
https://github.com/apache/nuttx.git
synced 2026-03-24 07:35:07 +08:00
Replace pyelftools and capstone Python library dependencies with subprocess calls to standard toolchain binaries (readelf, objdump, addr2line). This eliminates all external Python package requirements, removes manual DWARF parsing, and reduces the code from 818 to 563 lines. Works with both GNU and LLVM toolchains via the -p/--prefix option: -p arm-none-eabi- (GCC cross-compiler) -p llvm- (LLVM/clang toolchain) Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
21 KiB
Executable File
21 KiB
Executable File