Creating non-reverse-engineerable Java programs

后端 未结 14 1376
旧巷少年郎
旧巷少年郎 2020-11-29 08:46

Is there a way to deploy a Java program in a format that is not reverse-engineerable?

I know how to convert my application into an executable JAR file, but I want t

14条回答
  •  离开以前
    2020-11-29 09:36

    I'm tempted to ask why you'd want to do this, but I'll leave that alone...

    The problem I see is that the JVM, like the CLR, needs to be able to intrepert you code in order to JIT compile and run it. You can make it more "complex" but given that the spec for bytecode is rather well documented, and exists at a much higher level than something like the x86 assembler spec, it's unlikely you can "hide" the process-flow, since it's got to be there for the program to work in the first place.

提交回复
热议问题