Page 1 of 2 12 LastLast
Results 1 to 10 of 14
Discuss Class-dump gives error decrypting/decompiling 2.0 frameworks? at the iPhone Developer Exchange - Hackint0sh.org; I am trying to make some headerfiles using class-dump (newest version from their site). The ...
  1. #1
    Rookie Array

    Join Date
    Aug 2008
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Class-dump gives error decrypting/decompiling 2.0 frameworks?

    I am trying to make some headerfiles using class-dump (newest version from their site). The problem is i'm getting an error trying to class-dump the framework PhotoLibary. I've tried both on my iPhone (via ssh) and my macbook via "class-dump /usr/local/share/iphone-filesystem/System/Libary/PrivateFrameworks/PhotoLibary.framework/PhotoLibary". (i've extract the restore file for iPhone 2.0.0 from apple at this place).

    I'm retrieving the error "This file does not contain any Objective-C runtime information." and no files are being generated...

    Does anyone know how to solve this problem or does anyone know where i can get those header files?

    I think class-dump worked only on the 1.x firmware but im afraid i can't use those headerfiles anymore because of compatibility?



  2. #2
    Senior Professional Array spektro's Avatar

    Join Date
    Mar 2008
    Posts
    178
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    15

    Default

    I'm getting the same result using the new class-dump executable (class-dumpx) while trying to dump the SpringBoard 2.0 headers.
    Interesting, the same executable does the perfect job for the SpringBoard retrieved from 1.X firmwares and spits all the headers.
    Actually, this class-dumpx file was supposed to dump ObjC 2.0. I really don't know if this is because Apple really hide it's calls to objc 2.0 code on this new version or this class-dumpx is still for ObjC 1.0 code style.

  3. #3
    DPR
    DPR is offline
    Rookie Array

    Join Date
    Feb 2008
    Posts
    15
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    The standard version of class-dump doesn't support the ARM architecture.
    Use it on your iPhone simulator installed framework with the i386 binaries under "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/System/Library/PrivateFrameworks/PhotoLibrary.framework"

    ... I've tested it and it works.

  4. #4
    Senior Professional Array spektro's Avatar

    Join Date
    Mar 2008
    Posts
    178
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    15

    Default

    Really strange, using class-dump -H under the same binary as you testes (PhotoLibrary form simulator) it gives me Segmentation Fault.

  5. #5
    DPR
    DPR is offline
    Rookie Array

    Join Date
    Feb 2008
    Posts
    15
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Which version of class-dump do you use ? I did test it with version 3.1.2

    SHA1(class-dump)= 861830938907c7273cb1369b0b2b77acacb86918


  6. #6
    Newbie Array

    Join Date
    Mar 2008
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    you cant use class dump on leopard against iPhoneOS frameworks because they are different architectures. you have to do it against iPhoneSimulator frameworks instead

  7. #7
    Rookie Array

    Join Date
    Aug 2008
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Class-dump 2.0.x framework?

    I am trying to make some headerfiles using class-dump (newest version from their site). The problem is i'm getting an error trying to class-dump the framework PhotoLibary. I've tried both on my iPhone (via ssh) and my macbook via "class-dump /usr/local/share/iphone-filesystem/System/Libary/PrivateFrameworks/PhotoLibary.framework/PhotoLibary". (i've extract the restore file for iPhone 2.0.0 from apple at this place).

    I'm retrieving the error "This file does not contain any Objective-C runtime information." and no files are being generated...

    Does anyone know how to solve this problem or does anyone know where i can get those header files?

    I think class-dump worked only on the 1.x firmware but im afraid i can't use those headerfiles anymore because of compatibility?

  8. #8
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Default

    Quote Originally Posted by Xino View Post
    I am trying to make some headerfiles using class-dump (newest version from their site). The problem is i'm getting an error trying to class-dump the framework PhotoLibary. I've tried both on my iPhone (via ssh) and my macbook via "class-dump /usr/local/share/iphone-filesystem/System/Libary/PrivateFrameworks/PhotoLibary.framework/PhotoLibary". (i've extract the restore file for iPhone 2.0.0 from apple at this place).

    I'm retrieving the error "This file does not contain any Objective-C runtime information." and no files are being generated...

    Does anyone know how to solve this problem or does anyone know where i can get those header files?

    I think class-dump worked only on the 1.x firmware but im afraid i can't use those headerfiles anymore because of compatibility?
    use class-dump in iPhone
    Code:
    class-dump /System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary
    More, class-dump-x (Leopard) has just been updated

    http://iphone.freecoder.org/classdump_en.html
    Last edited by javacom; 08-19-2008 at 03:18 PM.

  9. #9
    DPR
    DPR is offline
    Rookie Array

    Join Date
    Feb 2008
    Posts
    15
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Dude, it doesn't help you if you double-post .... and you already did get your answer in your other thread !

  10. #10
    Speedy Administrator Array n350z's Avatar

    Join Date
    Nov 2007
    Location
    United Kingdom
    Posts
    3,021
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Quote Originally Posted by DPR View Post
    Dude, it doesn't help you if you double-post .... and you already did get your answer in your other thread !
    Threads have been merged
    -
    Read the stickies and search the forum before posting!
    Did we solve your problem? +1 us above
    If you want to become a Hackint0sh supporter click here
    ----------
    Follow Hackint0sh Follow Me


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Class Dump of MobileSMS.app on iOS 4.1 help
    By strelok in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 10-13-2010, 03:33 PM
  2. AppleTV-2 private headers and class-dump
    By nitosoft in forum AppleTV 1
    Replies: 6
    Last Post: 10-01-2010, 03:13 PM
  3. Replies: 0
    Last Post: 09-13-2010, 11:20 AM
  4. [req] class-dump for Objc-2.0 ABI
    By bleater in forum Free Toolchain Software (Cydia App's)
    Replies: 2
    Last Post: 05-07-2008, 09:50 PM
  5. Replies: 0
    Last Post: 05-06-2008, 07:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 05:28 PM.
twitter, follow us!