sstrip.c - strip symbols and sections from ELF executables

sstrip is a small tool which can reduce file sizes of executables even more than strip. It does this by removing the ELF section header which is not required for running an executable.
Many code versions of sstrip have a small bug which leads to a corrupted section header size warning if a sstripped executable will be examined with the file command.
The latest version of sstrip.c seems to be included in upx-2.02. This is my patch to sstrip.c, which fixes this bug and removes the usage of stdio: sstrip.c.diff

For a comparison of file sizes of executables please take look at codesize.html.

http://www.tuxad.com/sstrip.html 2009-07-25
Copyright © 2004-2021 Frank W. Bergmann
Alle Rechte vorbehalten.