Encrypted class files with decryption handled by a native library

喜你入骨 提交于 2019-12-04 21:16:53

But at least this makes decompilation a bit more difficult than just patching defineClass() to dump unencrypted .class files to disk.

Only a bit. Not enough to make much difference.

Or am I overlooking something?

At some point, the native library has to decrypt the bytecodes. It wouldn't be hard to patch the native library to do snarf them at that point. Disassembly and patching binary libraries is not "rocket science".

If you're going to require the presence of a native library, you are giving up the platform independence. At that point, you may want to investigate gcj and compile straight to an executable.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!