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/nlist.h> |
| 9 |
| 10 extern NSString *const ObjCClassSymbolPrefix; |
| 11 |
| 12 @class CDMachOFile; |
| 13 |
| 14 @interface CDSymbol : NSObject |
| 15 { |
| 16 struct nlist_64 nlist; |
| 17 BOOL is32Bit; |
| 18 NSString *name; |
| 19 CDMachOFile *nonretained_machOFile; |
| 20 } |
| 21 |
| 22 - (id)initWithName:(NSString *)aName machOFile:(CDMachOFile *)aMachOFile nlist32
:(struct nlist)nlist32; |
| 23 - (id)initWithName:(NSString *)aName machOFile:(CDMachOFile *)aMachOFile nlist64
:(struct nlist_64)nlist64; |
| 24 - (void)dealloc; |
| 25 |
| 26 - (uint64_t)value; |
| 27 - (NSString *)name; |
| 28 |
| 29 - (BOOL)isExternal; |
| 30 |
| 31 - (NSComparisonResult)compare:(CDSymbol *)aSymbol; |
| 32 - (NSComparisonResult)nameCompare:(CDSymbol *)aSymbol; |
| 33 |
| 34 - (NSString *)description; |
| 35 |
| 36 @end |
OLD | NEW |