[英]Difference between a stripped binary and a non stripped binary in Linux
Could anyone please explain me whats the actual difference between a stripped and a non-stripped binary in Linux ? 有谁能解释一下我在Linux中剥离和非剥离二进制文件之间的实际区别?
After a little bit of googling, I found that non-stripped binary contains the debugging info and stripped binary does'nt. 经过一段谷歌搜索,我发现非剥离二进制包含调试信息和剥离二进制文件没有。
Although you have found your answer from the Google. 虽然您已从Google找到答案。 Just putting that , non-stripped binaries have debugging information built into it.
只是把它,非剥离的二进制文件内置了调试信息。 So if you compile an executable with
gcc's -g
flag, it contains debugging information. 因此,如果使用
gcc's -g
标志编译可执行文件,则它包含调试信息。 Whereas Strip binaries generally remove this debugging information from the exe which is not necessary for execution so as to reduce the size of the exe. 剥离二进制文件通常从exe中删除此调试信息,这不是执行所必需的,以便减小exe的大小。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.