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/loader.h> |
| 9 #include "dyld-info-compat.h" |
| 10 |
| 11 @class CDDataCursor, CDMachOFile; |
| 12 |
| 13 @interface CDLoadCommand : NSObject |
| 14 { |
| 15 CDMachOFile *nonretained_machOFile; |
| 16 NSUInteger commandOffset; |
| 17 } |
| 18 |
| 19 + (id)loadCommandWithDataCursor:(CDDataCursor *)cursor machOFile:(CDMachOFile *)
aMachOFile; |
| 20 |
| 21 - (id)initWithDataCursor:(CDDataCursor *)cursor machOFile:(CDMachOFile *)aMachOF
ile; |
| 22 |
| 23 - (CDMachOFile *)machOFile; |
| 24 - (NSUInteger)commandOffset; |
| 25 |
| 26 - (uint32_t)cmd; |
| 27 - (uint32_t)cmdsize; |
| 28 |
| 29 - (NSString *)commandName; |
| 30 - (NSString *)description; |
| 31 - (NSString *)extraDescription; |
| 32 |
| 33 - (void)appendToString:(NSMutableString *)resultString verbose:(BOOL)isVerbose; |
| 34 |
| 35 - (BOOL)mustUnderstandToExecute; |
| 36 |
| 37 @end |
OLD | NEW |