strip (Unix)

From Wikipedia, the free encyclopedia

Template:Short description

Page Module:Message box/ambox.css has no content.

Page Module:Infobox/styles.css has no content.

strip
[[Programmer|Original authorTemplate:Pluralize from text]]Dennis Ritchie
(AT&T Bell Laboratories)
[[Programmer|DeveloperTemplate:Pluralize from text]]Various open-source and commercial developers
Initial releaseJune 12, 1972; 54 years ago (1972-06-12)
Template:Infobox software/simple
Written inC
Operating systemUnix, Unix-like, Plan 9, Microsoft Windows
PlatformCross-platform
TypeCommand
LicensePlan 9: MIT License
WebsiteScript error: No such module "WikidataIB".

Script error: No such module "Check for conflicting parameters".

strip is a shell command for removing information from binary executable programs and object files that is not required for execution – typically including debugging data, symbol tables, relocation information, and other metadata. The resulting file will have a smaller size. This is also known as a stripped binary.[1]

Using strip can enhance the security of an executable by making it more difficult to reverse-engineer. The absence of symbol and debugging information complicates the program analysis of the binary.

The effect of strip can also be achieved via a compiler or linker to perform the same process.[2] For example, in the GNU C compiler (gcc), this is done via the -s option.[2]

The command is available in Unix, Plan 9, and Unix-like systems. The GNU Project includes an implementation in the GNU Binutils package. The command has been implemented in to other operating systems including Windows.

See also

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content."Linux Strip Command". www.computerhope.com. Archived from the original on 2024-09-13. Retrieved 2024-10-01.
  2. ^ a b Page Module:Citation/CS1/styles.css has no content."What is the difference between "gcc -s" and a "strip" command?". Stack Overflow. Archived from the original on 2024-09-25. Retrieved 2024-10-01.

Page Module:Side box/styles.css has no content.Page Template:Sister project/styles.css has no content.

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found. Template:Plan 9 commands