OLD | NEW |
(Empty) | |
| 1 // -*- mode: ObjC -*- |
| 2 |
| 3 // This file is part of class-dump, a utility for examining the Objective-C seg
ment of Mach-O files. |
| 4 // Copyright (C) 1997-1998, 2000-2001, 2004-2010 Steve Nygard. |
| 5 |
| 6 #import <Foundation/Foundation.h> |
| 7 |
| 8 #include <mach-o/fat.h> |
| 9 #import "CDFile.h" // For CDArch |
| 10 |
| 11 @class CDDataCursor; |
| 12 @class CDFatFile, CDMachOFile; |
| 13 |
| 14 @interface CDFatArch : NSObject |
| 15 { |
| 16 CDFatFile *nonretained_fatFile; |
| 17 |
| 18 struct fat_arch fatArch; |
| 19 |
| 20 CDMachOFile *machOFile; // Lazily create this. |
| 21 } |
| 22 |
| 23 - (id)initWithDataCursor:(CDDataCursor *)cursor; |
| 24 - (void)dealloc; |
| 25 |
| 26 - (cpu_type_t)cpuType; |
| 27 - (cpu_type_t)maskedCPUType; |
| 28 - (cpu_subtype_t)cpuSubtype; |
| 29 - (uint32_t)offset; |
| 30 - (uint32_t)size; |
| 31 - (uint32_t)align; |
| 32 |
| 33 - (BOOL)uses64BitABI; |
| 34 |
| 35 - (CDFatFile *)fatFile; |
| 36 - (void)setFatFile:(CDFatFile *)newFatFile; |
| 37 |
| 38 - (NSString *)description; |
| 39 |
| 40 - (CDArch)arch; |
| 41 - (NSString *)archName; |
| 42 |
| 43 - (CDMachOFile *)machOFile; |
| 44 |
| 45 - (NSData *)machOData; |
| 46 |
| 47 @end |
OLD | NEW |