blob: 2b3b48a0833804cb4a3c996877a98e93f9f902fe [file] [log] [blame]
// -*- mode: ObjC -*-
// This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files.
// Copyright (C) 1997-1998, 2000-2001, 2004-2012 Steve Nygard.
#import <Foundation/Foundation.h>
#include <mach-o/reloc.h>
typedef enum : NSUInteger {
CDRelocationInfoSize_8Bit = 0,
CDRelocationInfoSize_16Bit = 1,
CDRelocationInfoSize_32Bit = 2,
CDRelocationInfoSize_64Bit = 3,
} CDRelocationSize;
@interface CDRelocationInfo : NSObject
- (id)initWithInfo:(struct relocation_info)info;
@property (nonatomic, readonly) NSUInteger offset;
@property (nonatomic, readonly) CDRelocationSize size;
@property (nonatomic, readonly) uint32_t symbolnum;
@property (nonatomic, readonly) BOOL isExtern;
@end