blob: 76675c517ac6ea199214e7af146e983be4a1f062 [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 "CDSection.h"
#include <mach-o/loader.h>
@class CDDataCursor, CDMachOFile, CDLCSegment32;
@interface CDSection32 : CDSection
{
CDLCSegment32 *nonretainedSegment;
struct section section;
}
- (id)initWithDataCursor:(CDDataCursor *)cursor segment:(CDLCSegment32 *)aSegment;
- (CDLCSegment32 *)segment;
- (CDMachOFile *)machOFile;
- (NSUInteger)addr;
- (NSUInteger)size;
- (uint32_t)offset;
- (void)loadData;
//- (NSString *)description;
- (BOOL)containsAddress:(NSUInteger)address;
- (NSUInteger)fileOffsetForAddress:(NSUInteger)address;
@end