1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Converters for extracting images from the dyld shared cache.
//!
//! This module contains the core extraction logic that transforms a Mach-O image
//! embedded in the shared cache back into a standalone dylib. The conversion
//! process reverses the optimizations applied by Apple's SharedCacheBuilder.
//!
//! # Extraction Pipeline
//!
//! The extraction follows this order (reverse of cache building):
//!
//! 0. **Header Fixup** - Clears MH_DYLIB_IN_CACHE flag and zeros chained fixups
//! 1. **Slide Info Processing** - Rebases pointers by removing ASLR slide encoding
//! 2. **LINKEDIT Optimization** - Rebuilds the merged LINKEDIT segment
//! 3. **Stub Fixing** - Restores optimized stubs to use lazy binding
//! 4. **ObjC Fixing** - Restores ObjC metadata moved to libobjc
//! 5. **Offset Optimization** - Compacts file offsets for smaller output
pub use *;
pub use *;
pub use *;
pub use ;
pub use *;
pub use *;
pub use *;
pub use *;