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/reloc.h> |
| 9 |
| 10 enum { |
| 11 CDRelocationInfoLength8Bit = 0, |
| 12 CDRelocationInfoLength16Bit = 1, |
| 13 CDRelocationInfoLength32Bit = 2, |
| 14 CDRelocationInfoLength64Bit = 3, |
| 15 }; |
| 16 typedef NSUInteger CDRelocationSize; |
| 17 |
| 18 @interface CDRelocationInfo : NSObject |
| 19 { |
| 20 struct relocation_info rinfo; |
| 21 } |
| 22 |
| 23 - (id)initWithInfo:(struct relocation_info)info; |
| 24 |
| 25 - (NSUInteger)offset; |
| 26 - (CDRelocationSize)size; |
| 27 - (uint32_t)symbolnum; |
| 28 - (BOOL)isExtern; |
| 29 |
| 30 - (NSString *)description; |
| 31 |
| 32 @end |
OLD | NEW |