Developing a program on Delphi 10 Seatle.

Before release in production, I think to obfuscation, but in some forums I saw that Delphi is now doing this process itself? So does it make sense to do this? And if there is, tell me obfuscators.

  • for which platform will release:? Win, iOS, Android? - kami
  • What is the meaning of what you are looking for in this? the native code in the release version does not contain source codes, even though now at least 20 years ago, you will never get back source files from exe - teran
  • 2
    Delphi сейчас сама производит этот процесс and you can reference the statements. I may have missed something, but the compiler has no such functions. - Vasek
  • one
    @Vasek and the author uses RTTI to include it in the code? emnip, compiler directives they are disabled. you can leave only for the necessary things, and not the fact that they will make sense for any "hacking". - teran
  • one
    If rtti bothers, then with this directive {$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])} it is turned off (within a unit). But an experienced cracker will not stop it at all. - zed

1 answer 1

Obfuscation is used in cases of:

  • Using scripting languages ​​when the code is distributed "as is" and there is no possibility to compile it (PHP, JavaScript)
  • When, for some reason, you need to provide the source code of the program
  • When decompiling is a trivial task (Java)

Because your task does not fall under any of the points (you do not need to supply source codes?), and there is no sense in improving the program. Enough in the settings of the compiler to remove the generation of debug information

The only thing you wash obfustsirovat - this is the dfm code forms. But then you have to reinvent your form loader.