-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathCDLoadCommand.h
More file actions
33 lines (20 loc) · 1008 Bytes
/
CDLoadCommand.h
File metadata and controls
33 lines (20 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// -*- 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.
// Importing these here saves us from importing them in the implementation of every load command.
#include <mach-o/loader.h>
#import "CDMachOFileDataCursor.h"
@class CDMachOFile;
@interface CDLoadCommand : NSObject
+ (id)loadCommandWithDataCursor:(CDMachOFileDataCursor *)cursor;
- (id)initWithDataCursor:(CDMachOFileDataCursor *)cursor;
- (NSString *)extraDescription;
@property (weak, readonly) CDMachOFile *machOFile;
@property (readonly) NSUInteger commandOffset;
@property (nonatomic, readonly) uint32_t cmd;
@property (nonatomic, readonly) uint32_t cmdsize;
@property (nonatomic, readonly) BOOL mustUnderstandToExecute;
@property (nonatomic, readonly) NSString *commandName;
- (void)appendToString:(NSMutableString *)resultString verbose:(BOOL)isVerbose;
- (void)machOFileDidReadLoadCommands:(CDMachOFile *)machOFile;
@end