iOS Application Reverse Engineering learning Note (ii) IOS system directory structure (partial)

Source: Internet
Author: User

First, download a ifile that can be used to visually view the directory structure of your iOS system.

Some key iOS directory structures are documented below:

/ var: Shorthand for "variable" to store files that are frequently changed, such as logs, user data, temporary files, and so on. All App Store apps are stored under/var/mobile/applications.


/applications: Store all system apps and apps from Cydia, excluding the App Store app. The jailbreak process turns/applications into a symbolic link that actually points to/var/stash/applications.


/library: The data used to store the system app. All MobileSubstrate-based plugins are stored in /library/mobilesubstrate .

Note:mobilesubstrate(Mobile infrastructure) is a basic platform for providing hook(inject) functionality, and plugins running on that platform are often referred to as tweak(twist, change).

There are usually 3 types of files under/library/mobilesubstrate:

(1) Dylib: The dynamic Library, which is the tweak plugin.

(2) Plist: For use with dylib filter file, specify the injection target. The format is:

Filter = {

Bundles = (Com.apple.springboard);

};

(3) Disabled: sbsettings disabled tweak file, in fact, the Dylib file is changed to a suffix, do not let mobilesubstrate load it.


/system: Contains a large number of system components. Among them, /system/library/frameworks and /system/library/privateframeworks store various frameworks in iOS, both public and private, among others.

The Springboard.app in /system/library/coreservices is the desktop manager.

/system/library/preferencebundles: Each of these bundles provides the most functionality in the "Setup".


/user: actually point to/var/mobile. This directory holds a large amount of user data, such as:

/VAR/MOBILE/MEDIA/DCIM: Photo catalog.

/var/mobile/library/sms: SMS directory.

/var/mobile/library/mail: Mail directory.

/var/wireless/library/callhistory: Call history. There seems to be no such directory on the ipod.


Note: There are many catalogs in the original book that are not recorded, here are just excerpts from some individuals think the price is important or more interested. As the future progresses, this article will continue to add.


From the reverse engineering of iOS applications, the website is http://iosre.com/

The above contents may be changed, and all the original books shall prevail. Thanks to the author for sharing.



Related Article

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.