3 // This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files.
4 // Copyright (C) 1997-2019 Steve Nygard.
6 @
class CDMachOFileDataCursor
;
9 @interface CDSection
: NSObject
11 - (id
)initWithDataCursor
:(CDMachOFileDataCursor
*)cursor segment
:(CDLCSegment
*)segment
;
13 @
property (weak
, readonly
) CDLCSegment
*segment
;
15 @
property (nonatomic
, readonly
) NSData
*data
;
17 @
property (nonatomic
, readonly
) NSString
*segmentName
;
18 @
property (nonatomic
, readonly
) NSString
*sectionName
;
20 @
property (nonatomic
, readonly
) NSUInteger addr
;
21 @
property (nonatomic
, readonly
) NSUInteger size
;
23 - (BOOL
)containsAddress
:(NSUInteger
)address
;
24 - (NSUInteger
)fileOffsetForAddress
:(NSUInteger
)address
;