class-dump et iPhone
Philippe49
Membre
% class-dump -C CFSet /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk/System/Library/Frameworks/CoreFoundation.framework/ -r
Et bien cela n'en n'a pas marcher du tout ...
verrouillage ?
Et bien cela n'en n'a pas marcher du tout ...
verrouillage ?
Connectez-vous ou Inscrivez-vous pour répondre.
Réponses
C'est plutôt class-dump qui ne fonctionne pas correctement, car otool ou nm fonctionnent bien.
http://iphone.freecoder.org/classdump_en.html
Pour ma part j'ai fait make sur les sources 3.1.2, et le lancementÂ
chemin/build/Class-dump-x -C NSNotification /System/Library/Frameworks/Foundation.framework/Foundation
aboutit à une erreur EXC_BAD_ACCESS
Signalons aussi que Magic Hat a été mis à jour, mais uniquement pour Cocoa.
• télécharger les sources sur le site indiqué par Laurris
• faire un make
• puis mettre le binaire dans ~/usr/bin/
???
% class-dump-x -C UIEvent /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/System/Library/Frameworks/UIKit.framework/
/*
* Generated by class-dump 3.1.2.
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
*/
/*
* File: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/System/Library/Frameworks/UIKit.framework/UIKit
* Current version: 747.19.0, Compatibility version: 1.0.0
*/
@interface UIEvent : NSObject
{
void *_event;
double _timestamp;
NSMutableSet *_touches;
struct __CFDictionary *_keyedTouches;
}
- (id)_init;
- (id)_initWithTouches:(id)fp8 keyedTouches:(struct __CFDictionary *)fp12;
- (id)_initWithEvent:(struct __GSEvent *)fp8 touches:(id)fp12;
- (void)_setGSEvent:(struct __GSEvent *)fp8;
- (void)dealloc;
- (id)allTouches;
- (id)_allTouches;
- (id)touchesForWindow:(id)fp8;
- (id)touchesForView:(id)fp8;
- (void)_addTouch:(id)fp8;
- (void)_removeTouch:(id)fp8;
- (id)_touchesForKey:(id)fp8;
- (void)_removeTouchesForKey:(id)fp8;
- (void)_clearTouches;
- (id)_touchesForView:(id)fp8 withPhase:(int)fp12;
- (id)_windows;
- (id)_viewsForWindow:(id)fp8;
- (id)_firstTouchForView:(id)fp8;
- (void)_moveTouchesFromView:(id)fp8 toView:(id)fp12;
- (id)_cloneEvent;
- (struct __GSEvent *)_gsEvent;
- (id)description;
- (double)timestamp;
@end
%