blob: d44ed358d2b7a3e01eb1b0859fe34033881b6842 [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-2009 Steve Nygard.
#import <Foundation/Foundation.h>
#include <mach-o/loader.h>
@class CDDataCursor, CDMachOFile;
@interface CDLoadCommand : NSObject
{
CDMachOFile *nonretainedMachOFile;
}
+ (id)loadCommandWithDataCursor:(CDDataCursor *)cursor machOFile:(CDMachOFile *)aMachOFile;
- (id)initWithDataCursor:(CDDataCursor *)cursor machOFile:(CDMachOFile *)aMachOFile;
- (CDMachOFile *)machOFile;
- (uint32_t)cmd;
- (uint32_t)cmdsize;
- (NSString *)commandName;
- (NSString *)description;
- (NSString *)extraDescription;
- (void)appendToString:(NSMutableString *)resultString verbose:(BOOL)isVerbose;
- (BOOL)mustUnderstandToExecute;
@end