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) |
| strip | |
|---|---|
| Original authors | Dennis Ritchie (AT&T Bell Laboratories) |
| Developers | Variousopen-source andcommercial developers |
| Initial release | June 12, 1972; 53 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 ashell command for removing information frombinaryexecutableprograms andobject files that is not required forexecution – typically includingdebugging data,symbol tables,relocation information, and othermetadata. The resulting file will have a smallersize, this is also 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