Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Obj C and class-dump protection

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 names and class functions to something not very readable (like random combination of symbols and numbers)?

Frankly that's all protection I need.

like image 989
user564068 Avatar asked Dec 15 '25 10:12

user564068


2 Answers

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.

Are you looking for Objective C obfuscators?

This page has a great discussion on Obfuscating Cocoa.

like image 22
karlphillip Avatar answered Dec 17 '25 02:12

karlphillip



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!