How to remove strings from a compiled binary (.so)
Posted
by Stéphane
on Stack Overflow
See other posts from Stack Overflow
or by Stéphane
Published on 2010-05-20T09:57:04Z
Indexed on
2010/05/20
10:00 UTC
Read the original article
Hit count: 177
How do I remove strings from / obfuscate a compiled binary? The goal is to avoid having people read the names of the functions/methods inside.
It is a dynamic library (.so) compiled from C++ code for Android with the NDK tools (includes GCC)
I compile with -O3
and already use arm-eabi-gcc -g mylib.so
to remove debugging symbols, but when I do strings mylib.so
all the names of the functions/methods are still readable.
© Stack Overflow or respective owner