Obj C and class protection

I understand that it’s easy to crack the Mach-O executable, I just need a simple defense against the class-dump tool. Is there any tool or Xcode plugin that can change all class names and class functions to something not very readable (for example, a random combination of characters and numbers)?

Honestly, all the protection I need.

+3
source share
4 answers

I wrote a little about this in this blog post , but to summarize: you can avoid the appearance of methods in class-dumpby registering them at runtime or simply saving them as functions.

, , /, tops Xcode.

+5
+1

, , . . , , , . @mvds , NIB , dtrace/Instruments.app , , .

IP- - , , , , C/++, ( ).

+1

If you are not already doing this, you can at least strip your executable of some unnecessary characters by turning on "Deployment Step-by-Step" and "Crosslinked Linked Product" in the Xcode build setup. (Or just use the tool stripdirectly.) Better than nothing.

0
source

Source: https://habr.com/ru/post/1783643/


All Articles