Obj C and class-dump protection

后端 未结 4 1131
梦谈多话
梦谈多话 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:21

    I wrote a bit about this in this blog post, but to summarise: you can avoid having methods appearing in class-dump by registering them at runtime, or just keeping them as functions.

    If really all you want to do is rename the classes/methods, you can use the tops command-line tool or Xcode's refactoring feature.

提交回复
热议问题