@@ -305,39 +305,28 @@ pub struct DyldCacheHeader<E: Endian> {
305
305
pub images_count : U32 < E > , // offset: 0x1c
306
306
/// base address of dyld when cache was built
307
307
pub dyld_base_address : U64 < E > , // offset: 0x20
308
- ///
309
308
reserved1 : [ u8 ; 32 ] , // offset: 0x28
310
309
/// file offset of where local symbols are stored
311
310
pub local_symbols_offset : U64 < E > , // offset: 0x48
312
311
/// size of local symbols information
313
312
pub local_symbols_size : U64 < E > , // offset: 0x50
314
313
/// unique value for each shared cache file
315
314
pub uuid : [ u8 ; 16 ] , // offset: 0x58
316
- ///
317
315
reserved2 : [ u8 ; 32 ] , // offset: 0x68
318
- ///
319
316
reserved3 : [ u8 ; 32 ] , // offset: 0x88
320
- ///
321
317
reserved4 : [ u8 ; 32 ] , // offset: 0xa8
322
- ///
323
318
reserved5 : [ u8 ; 32 ] , // offset: 0xc8
324
- ///
325
319
reserved6 : [ u8 ; 32 ] , // offset: 0xe8
326
- ///
327
320
reserved7 : [ u8 ; 32 ] , // offset: 0x108
328
- ///
329
321
reserved8 : [ u8 ; 32 ] , // offset: 0x128
330
- ///
331
322
reserved9 : [ u8 ; 32 ] , // offset: 0x148
332
- ///
333
323
reserved10 : [ u8 ; 32 ] , // offset: 0x168
334
324
/// file offset to first dyld_subcache_info
335
325
pub subcaches_offset : U32 < E > , // offset: 0x188
336
326
/// number of dyld_subcache_info entries
337
327
pub subcaches_count : U32 < E > , // offset: 0x18c
338
328
/// the UUID of the .symbols subcache
339
329
pub symbols_subcache_uuid : [ u8 ; 16 ] , // offset: 0x190
340
- ///
341
330
reserved11 : [ u8 ; 32 ] , // offset: 0x1a0
342
331
/// file offset to first dyld_cache_image_info
343
332
/// Use this instead of images_offset if mapping_offset is at least 0x1c4.
@@ -351,31 +340,21 @@ pub struct DyldCacheHeader<E: Endian> {
351
340
#[ derive( Debug , Clone , Copy ) ]
352
341
#[ repr( C ) ]
353
342
pub struct DyldCacheMappingInfo < E : Endian > {
354
- ///
355
343
pub address : U64 < E > ,
356
- ///
357
344
pub size : U64 < E > ,
358
- ///
359
345
pub file_offset : U64 < E > ,
360
- ///
361
346
pub max_prot : U32 < E > ,
362
- ///
363
347
pub init_prot : U32 < E > ,
364
348
}
365
349
366
350
/// Corresponds to struct dyld_cache_image_info from dyld_cache_format.h.
367
351
#[ derive( Debug , Clone , Copy ) ]
368
352
#[ repr( C ) ]
369
353
pub struct DyldCacheImageInfo < E : Endian > {
370
- ///
371
354
pub address : U64 < E > ,
372
- ///
373
355
pub mod_time : U64 < E > ,
374
- ///
375
356
pub inode : U64 < E > ,
376
- ///
377
357
pub path_file_offset : U32 < E > ,
378
- ///
379
358
pub pad : U32 < E > ,
380
359
}
381
360
0 commit comments