当我在共享库上使用"file"命令时:
file shared_library.so
显示
shared_library.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /system/bin/linker, stripped, with debug_info
“剥离”意味着它被剥离了。但我不明白为什么剥离的库仍然有“with debug_info”。
最佳答案
But I don't understand why stripped library still have "with debug_info".
这将是 strip --only-keep-debug file
的效果。来自 man strip :
--only-keep-debug
Strip a file, removing contents of any sections that would not be stripped by --strip-debug and leaving the debugging sections intact. In ELF files, this preserves all note sections in the output.
...
关于c++ - 当我对共享库使用 "stripped, with debug_info"命令时, "file"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54338807/