| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // -*- mode: ObjC -*- | 
|  | 2 | 
|  | 3 //  This file is part of class-dump, a utility for examining the Objective-C seg
    ment of Mach-O files. | 
|  | 4 //  Copyright (C) 1997-1998, 2000-2001, 2004-2010 Steve Nygard. | 
|  | 5 | 
|  | 6 #import "CDLCLinkeditData.h" | 
|  | 7 | 
|  | 8 #import "CDDataCursor.h" | 
|  | 9 | 
|  | 10 @implementation CDLCLinkeditData | 
|  | 11 | 
|  | 12 - (id)initWithDataCursor:(CDDataCursor *)cursor machOFile:(CDMachOFile *)aMachOF
    ile; | 
|  | 13 { | 
|  | 14     if ([super initWithDataCursor:cursor machOFile:aMachOFile] == nil) | 
|  | 15         return nil; | 
|  | 16 | 
|  | 17     linkeditDataCommand.cmd = [cursor readInt32]; | 
|  | 18     linkeditDataCommand.cmdsize = [cursor readInt32]; | 
|  | 19 | 
|  | 20     linkeditDataCommand.dataoff = [cursor readInt32]; | 
|  | 21     linkeditDataCommand.datasize = [cursor readInt32]; | 
|  | 22 | 
|  | 23     return self; | 
|  | 24 } | 
|  | 25 | 
|  | 26 - (uint32_t)cmd; | 
|  | 27 { | 
|  | 28     return linkeditDataCommand.cmd; | 
|  | 29 } | 
|  | 30 | 
|  | 31 - (uint32_t)cmdsize; | 
|  | 32 { | 
|  | 33     return linkeditDataCommand.cmdsize; | 
|  | 34 } | 
|  | 35 | 
|  | 36 @end | 
| OLD | NEW | 
|---|