/CDLoadCommand.h

http://i386codedump.googlecode.com/ · C Header · 30 lines · 17 code · 11 blank · 2 comment · 0 complexity · e4432862cc1f73dfd19ff9e1b289f10c MD5 · raw file

  1. // This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files.
  2. // Copyright (C) 1997-1998, 2000-2001, 2004-2006 Steve Nygard
  3. #import <Foundation/NSObject.h>
  4. #include <mach-o/loader.h>
  5. @class CDMachOFile;
  6. @interface CDLoadCommand : NSObject
  7. {
  8. CDMachOFile *nonretainedMachOFile;
  9. struct load_command loadCommand;
  10. }
  11. + (id)loadCommandWithPointer:(const void *)ptr machOFile:(CDMachOFile *)aMachOFile;
  12. - (id)initWithPointer:(const void *)ptr machOFile:(CDMachOFile *)aMachOFile;
  13. - (CDMachOFile *)machOFile;
  14. - (unsigned long)cmd;
  15. - (unsigned long)cmdsize;
  16. - (NSString *)commandName;
  17. - (NSString *)description;
  18. - (NSString *)extraDescription;
  19. @end