mirror of
https://github.com/VibeDarling/class-dump.git
synced 2026-11-15 18:38:44 -10:00
25 lines
711 B
Objective-C
25 lines
711 B
Objective-C
// -*- 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-2013 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
|