Obj C and class-dump protection

后端 未结 4 1129
梦谈多话
梦谈多话 2021-02-04 21:25

I understand that it is easy to hack Mach-O executable, I just want simple protection against \"class-dump\" tool. Is there any tool or XCode plugin that can change all classes

4条回答
  •  滥情空心
    2021-02-04 22:31

    You really probably don't want to bother with this. Obfuscation will not prevent a determined hacker from reverse engineering a truly valuable algorithm. Casual users won't bother, so you're likely doing a lot of work for little added value. As @mvds points out in a comment to your question, NIB connections will betray the purpose of many classes and a determined hacker could use dtrace/Instruments.app to trace messages to uncover much of the rest of what they need.

    Any truly valuable IP needs to be protected by something stronger than obfuscation and should probably be written in C/C++ as well as having legal patent and copyright protection (and enforcement).

提交回复
热议问题