diff options
author | Jay Freeman <saurik@saurik.com> | 2008-04-23 21:17:57 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-04-23 21:17:57 +0000 |
commit | 87e3eac9717b4171448a8756cf0c7e3f4a5a1493 (patch) | |
tree | b7dbf3cb90ab9f02ef808a517d500e516341af9e /data | |
parent | 5e10ca0d3e3cc8217373cb8ad1ecefc3512afe94 (diff) |
Added class-dump reverse engineering tool.
git-svn-id: http://svn.telesphoreo.org/trunk@231 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r-- | data/class-dump/_metadata/description | 1 | ||||
-rw-r--r-- | data/class-dump/_metadata/license | 20 | ||||
l--------- | data/class-dump/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/class-dump/_metadata/name | 1 | ||||
-rw-r--r-- | data/class-dump/_metadata/priority | 1 | ||||
-rw-r--r-- | data/class-dump/_metadata/section | 1 | ||||
-rw-r--r-- | data/class-dump/_metadata/version | 1 | ||||
-rw-r--r-- | data/class-dump/class-dump-3.1.2.tar.gz | bin | 0 -> 158237 bytes | |||
-rw-r--r-- | data/class-dump/format.diff | 12 | ||||
-rw-r--r-- | data/class-dump/make.sh | 5 |
10 files changed, 43 insertions, 0 deletions
diff --git a/data/class-dump/_metadata/description b/data/class-dump/_metadata/description new file mode 100644 index 000000000..7a1c7c64d --- /dev/null +++ b/data/class-dump/_metadata/description @@ -0,0 +1 @@ +reverse engineer Objective-C headers diff --git a/data/class-dump/_metadata/license b/data/class-dump/_metadata/license new file mode 100644 index 000000000..8d02a0210 --- /dev/null +++ b/data/class-dump/_metadata/license @@ -0,0 +1,20 @@ +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-2007 Steve Nygard + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +You may contact the author by: + e-mail: class-dump at codethecode.com diff --git a/data/class-dump/_metadata/maintainer b/data/class-dump/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/class-dump/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik
\ No newline at end of file diff --git a/data/class-dump/_metadata/name b/data/class-dump/_metadata/name new file mode 100644 index 000000000..ef33e525e --- /dev/null +++ b/data/class-dump/_metadata/name @@ -0,0 +1 @@ +Class Dump diff --git a/data/class-dump/_metadata/priority b/data/class-dump/_metadata/priority new file mode 100644 index 000000000..134d9bc32 --- /dev/null +++ b/data/class-dump/_metadata/priority @@ -0,0 +1 @@ +optional diff --git a/data/class-dump/_metadata/section b/data/class-dump/_metadata/section new file mode 100644 index 000000000..e0eb96881 --- /dev/null +++ b/data/class-dump/_metadata/section @@ -0,0 +1 @@ +Development diff --git a/data/class-dump/_metadata/version b/data/class-dump/_metadata/version new file mode 100644 index 000000000..ef538c281 --- /dev/null +++ b/data/class-dump/_metadata/version @@ -0,0 +1 @@ +3.1.2 diff --git a/data/class-dump/class-dump-3.1.2.tar.gz b/data/class-dump/class-dump-3.1.2.tar.gz Binary files differnew file mode 100644 index 000000000..897f11a68 --- /dev/null +++ b/data/class-dump/class-dump-3.1.2.tar.gz diff --git a/data/class-dump/format.diff b/data/class-dump/format.diff new file mode 100644 index 000000000..0070f3fde --- /dev/null +++ b/data/class-dump/format.diff @@ -0,0 +1,12 @@ +diff -ru class-dump-3.1.2/src/CDClassDump.m class-dump-3.1.2+iPhone/src/CDClassDump.m +--- class-dump-3.1.2/src/CDClassDump.m 2008-04-20 13:16:43.000000000 +0000 ++++ class-dump-3.1.2+iPhone/src/CDClassDump.m 2007-11-05 18:14:56.000000000 +0000 +@@ -366,7 +366,7 @@ + if (preferredArchName == nil) { + [self setPreferredArchName:[aMachOFile archName]]; + } else if ([[aMachOFile archName] isEqual:preferredArchName] == NO) { +- fprintf(stderr, "class-dump: Mach-O file (%s) does not contain required cpu type: %@.\n", ++ fprintf(stderr, "class-dump: Mach-O file (%s) does not contain required cpu type: %s.\n", + [aFilename fileSystemRepresentation], [preferredArchName UTF8String]); + [aMachOFile release]; + return NO; diff --git a/data/class-dump/make.sh b/data/class-dump/make.sh new file mode 100644 index 000000000..69d4e6798 --- /dev/null +++ b/data/class-dump/make.sh @@ -0,0 +1,5 @@ +pkg:setup +cd src +"${PKG_TARG}-gcc" -o class-dump -ObjC *.m -Wall -include Foundation/Foundation.h -framework CoreFoundation -framework Foundation -lobjc +pkg: mkdir -p /usr/bin +pkg: cp -a class-dump /usr/bin |