Effects of deleting the entire symbol table and moving information from an executable?

Compiling using gcc -s and the Unix strip delete the entire character table and move information from the executable (reducing its size).

Could this affect the operation of the executable? Do some operating systems that run ASLR need this information? If not, then why store them first?

Detailed description below would be helpful.

+9
assembly gcc linux executable
Jan 05 '13 at 18:42
source share
1 answer

It seems pretty obvious that deleting relocation information will interfere with ASLR.

However, I took a look at man strip on a couple of my systems, and none of them suggests that strip (or indeed can) delete the movement data. This mainly concerns the removal of debugging symbols.

+4
Jan 05
source share
— -



All Articles