Thread: strip symbols

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    147

    strip symbols

    Hello,

    My compiler has an opcion which says: "Strip all symbols from binary".

    I dont know what is used for and the adventages and disadventages of strip symbols. Can strip all symbols be a disadventage for speed in a released exe? Is it advisable to strip symbols in a released executable?

    thanks

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    The only real advantage is obfuscation.

  3. #3
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    The executable can be significantly smaller when stripped, which could make download / installation and even startup time faster.

    Without symbols it would hinder the ability to debug the program. Other than that, there really aren't any downsides.
    If you understand what you're doing, you're not learning anything.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux Putting my children to sleep with futex!?
    By Abs in forum Linux Programming
    Replies: 18
    Last Post: 02-12-2009, 06:43 PM
  2. Replies: 7
    Last Post: 02-02-2009, 07:27 AM
  3. Trouble with Windows/DirectX programming
    By bobbelPoP in forum Windows Programming
    Replies: 16
    Last Post: 07-08-2008, 02:27 AM
  4. Strip symbols from win32 binaries?
    By pheres in forum C++ Programming
    Replies: 1
    Last Post: 04-04-2008, 08:42 AM
  5. Strange error?
    By MrLucky in forum C++ Programming
    Replies: 5
    Last Post: 02-04-2006, 03:01 PM