blob: 0a101b51deb86a2b74fdb03e5a0f7eddc3649040 [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-2019 Steve Nygard.
#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