| // -*- 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 "CDLCSegment.h" |
| #include <mach-o/loader.h> |
| |
| @class CDSection32; |
| |
| @interface CDLCSegment32 : CDLCSegment |
| { |
| struct segment_command segmentCommand; |
| } |
| |
| - (id)initWithDataCursor:(CDDataCursor *)cursor machOFile:(CDMachOFile *)aMachOFile; |
| |
| - (uint32_t)cmd; |
| - (uint32_t)cmdsize; |
| |
| - (NSUInteger)vmaddr; |
| - (NSUInteger)fileoff; |
| - (NSUInteger)filesize; |
| - (vm_prot_t)initprot; |
| - (uint32_t)flags; |
| |
| - (NSString *)extraDescription; |
| |
| - (BOOL)containsAddress:(NSUInteger)address; |
| |
| - (void)appendToString:(NSMutableString *)resultString verbose:(BOOL)isVerbose; |
| |
| @end |