How do I strip local symbols from linux kernel module without breaking it?
- by Kimvais
If I do --strip-debug or --strip-unneeded, I have the .ko that lists all function names with nm, if I do just strip foo.ko I have a kernel module that refuses to load.
Does anyone know a quick shortcut how to remove all symbols that are not needed for module loading so that people cannot reverse engineer the API:s as easily?
PS: For all you open source bigots; this is something that general public will never be using in any case so no need to turn the question into a GPL flame war.