(iOS reverse engineering) Class-dump installation and use

Source: Internet
Author: User

Class-dump is a tool that can be used to guide the information of the OC Runtime declaration. To be blunt, you can export the. h file. The class-dump can be used to guide the unencrypted app's header file. Don't say much nonsense. Class-dump is.

Http://stevenygard.com/download/class-dump-3.5.tar.gz

Click to download after the decompression will have class-dump and source files. Copy Class-dump to/usr/bin/class-dump. Open terminal at the same time, execute:

sudo chmod 777/usr/bin/class-dump, giving it permission to execute.

Successful execution means that you have installed it. Below we will demonstrate how to use it, hey!

Step1: Create a new test project, as shown, and create a new test class Testclassdump

Step2: In the real machine build, and then the catalog products under the creation of the app package:

Step3: Click on the show in Finder, copy the Testclassdump to the desktop (mainly for convenience, of course you can not copy to the desktop), open TERMINAL,CD to the desktop, and then enter

Class-dump-h Testclassdump.app-o Test

:

STEP4: Open the Test folder and you will find a good long file (laughter):

In fact, Class-dump is quite simple, I wish you a pleasant study.

Tip:class-dump does not export all declarative methods, such as declarations only, non-implemented methods.

Class-dump can not directly export the AppStore app header file, you will only export CDStructures.h this header file, and there is basically no information on the side. The equivalent of Apple adding a shell to the app, and the blog behind it says how to open the shell.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.