This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Strip" Unix – news ·newspapers ·books ·scholar ·JSTOR(December 2020) (Learn how and when to remove this message) |
Original author(s) | Dennis Ritchie (AT&T Bell Laboratories) |
---|---|
Developer(s) | Variousopen-source andcommercial developers |
Initial release | June 12, 1972; 52 years ago (1972-06-12) |
Written in | C |
Operating system | Unix,Unix-like,Plan 9,Microsoft Windows |
Platform | Cross-platform |
Type | Command |
License | Plan 9:MIT License |
strip
is ashellcommand for removing information frombinaryexecutableprograms andobject files that is not required forexecution – typically includingdebugging data,symbol tables,relocation information, and othermetadata. The resulting file generally has a smallersize and potentially has increased performance. The resulting file is known as astripped binary.[1]
Usingstrip
can enhance the security of an executable by making it more difficult toreverse-engineer. The absence of symbol and debugging information complicates theprogram analysis of the binary.
The effect ofstrip
can also be achieved via acompiler orlinker to perform the same process.[2] For example, in theGNU C compiler (gcc), this is done via the-s
option.[2]
The command is available inUnix,Plan 9, andUnix-like systems. TheGNU Project includes an implementation in theGNU Binutils package. The command has been implemented in to other operating systems includingWindows.
strip
– Shell and Utilities Reference,The Single UNIX Specification, Version 5 fromThe Open Groupstrip(1)
– Plan 9 Programmer's Manual, Volume 1