Wikipedia

strip (Unix)

strip
Original author(s)Dennis Ritchie
(AT&T Bell Laboratories)
Developer(s)Various open-source and commercial developers
Initial releaseJune 12, 1972
Operating systemUnix, Unix-like, Plan 9, Microsoft Windows
PlatformCross-platform
TypeCommand

In Unix, Plan 9, and Unix-like operating systems, the strip program removes information from executable binary programs and object files that is not essential or required for normal and correct execution, thus potentially resulting in better performance and sometimes significantly less disk space usage.

Details

The information removed may consist of debugging and symbol information; however, the standard leaves the scope of the changes to the binary up to the implementer of the stripping program.

Furthermore, the use of strip can improve the security of the binary against reverse engineering as it would be comparatively more difficult to analyze a binary without the extra information that would otherwise be removed.

The effect of strip can be achieved directly by the linker. For instance, in GNU Compiler Collection this option is "-s".

The GNU Project ships an implementation of strip as part of the GNU Binutils package. strip has been ported to other operating systems including Microsoft Windows.

See also

References

  • "strip", The Single UNIX Specification, Version 2, The Open Group, 1997

External links

This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.

Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.