c - Stripped symbols are not hidden from strings linux tool -


i have shared library symbols stripped. using known method/tool symbol names (like nm -d, objdump, readelf, etc) see symbols hidden.

however, if run strings linux tool on shared library, can see of symbols exposed. made sure don't print of symbols in messages, still somehow prints symbols expect stripped.

so, question is, how can hide symbols strings command line tool in linux? appreciated.


edit: using strip -strip--all hide static symbols , enable -fvisibility=hidden compile flag hide unneeded dynamic symbols.

taken man strings:

description

for each file given, gnu strings prints printable character sequences @ least 4 characters long.

the difference between strings , tools mentioned (readelf, objdump, etc) rely on dwarf information embedded in elf object, whereas strings utility outputs any printable sequence binary data (dwarf unrelated).

how can hide symbols strings utility: this of help.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -