Chapter 3 OSX toolkit
Tools used for iOS reverse engineering have different functions, and they play different
roles. These tools mainly help us develop and debug on OSX. Because of the small screen size of
iOS devices, they are not suitable for development or debug.
In this chapter, 4 major tools will be introduced, they’re class-dump, Theos, Reveal and
IDA. Other tools are assistants for them.
3.1 class-dump
class-dump, as the name indicates, is a tool used for dumping the class information of the
specified object. It makes use of the runtime mechanism of Objective-C language to extract the
headers information stored in Mach-O files, and then generates .h files.
class-dump is simple to use. Firstly, you need to download the latest version from
http://stevenygard.com/projects/class-dump, as figure 3-1 shows:
Figure 3-1 Homepage of class-dump
After downloading and decompressing class-dump-3.5.dmg, copy the class-dump executable
3