/CDLoadCommand.h
C Header | 30 lines | 17 code | 11 blank | 2 comment | 0 complexity | e4432862cc1f73dfd19ff9e1b289f10c MD5 | raw file
1// This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files. 2// Copyright (C) 1997-1998, 2000-2001, 2004-2006 Steve Nygard 3 4#import <Foundation/NSObject.h> 5 6#include <mach-o/loader.h> 7 8@class CDMachOFile; 9 10@interface CDLoadCommand : NSObject 11{ 12 CDMachOFile *nonretainedMachOFile; 13 14 struct load_command loadCommand; 15} 16 17+ (id)loadCommandWithPointer:(const void *)ptr machOFile:(CDMachOFile *)aMachOFile; 18 19- (id)initWithPointer:(const void *)ptr machOFile:(CDMachOFile *)aMachOFile; 20 21- (CDMachOFile *)machOFile; 22 23- (unsigned long)cmd; 24- (unsigned long)cmdsize; 25 26- (NSString *)commandName; 27- (NSString *)description; 28- (NSString *)extraDescription; 29 30@end