summaryrefslogtreecommitdiff
path: root/data/class-dump/format.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-23 21:17:57 +0000
committerJay Freeman <saurik@saurik.com>2008-04-23 21:17:57 +0000
commit87e3eac9717b4171448a8756cf0c7e3f4a5a1493 (patch)
treeb7dbf3cb90ab9f02ef808a517d500e516341af9e /data/class-dump/format.diff
parent5e10ca0d3e3cc8217373cb8ad1ecefc3512afe94 (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/class-dump/format.diff')
-rw-r--r--data/class-dump/format.diff12
1 files changed, 12 insertions, 0 deletions
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;