Is it possible to edit/modify .so file?
<p>I'm developing an Android application which contains native code.
The native code is compiled in a .so file that has important algorithms inside.</p>

<p>I'm really worrying about the possibility that my .so file can be edited or modified and then re-build (re-pack). Like apks they can be modified and repacked to create a new one</p>

<p>I have several questions here:</p>

<p>1) Is there any way to edit/modify .so files and re-build?
2) If there are, how do people do that?
3) How to prevent .so files from being edited then re-built?</p>