objective c - iOS executable file without main function -


i created test app , exported ipa file. used ida pro executable binary file. found main function called start subsroutine:

blx  _main 

so concluded entry point of mach-o executable start subroutine, call main function.

however, when tried opening executable file of other apps (which grabbed using clutch), found there no _main function @ all, instead thing sub_2a4c.

i know why there such difference?

you conclusion not right. true entry point start subroutine, true start subroutine calls main function declared in code. however, if choose yes in option 'deployment postprocessing' , 'strip linked product 'in xcode build setting, symbol stripeed, won't see main function _main anymore, obfuscated such sub_2a4c.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -