Re: safari dynamic linking
Re: safari dynamic linking
- Subject: Re: safari dynamic linking
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 27 Aug 2009 00:32:11 +0200
Le 26 août 2009 à 23:47, Joel Reymont a écrit :
I'm noticing a large discrepancy between the list of dynamic
libraries that Safari is linked against [2] vs the list of libraries
loaded according to dyld [1].
How can this be explained?
This is even more puzzling since I saw OpenGL, etc. static
initializers being run when I set DYLD_PRINT_INITIALIZERS. The
OpenGL framework does not appear in the dyld output below.
Thanks, Joel
Look like it's expected:
man dyld:
DYLD_PRINT_LIBRARIES_POST_LAUNCH
This does the same as DYLD_PRINT_LIBRARIES but the
printing starts after the program gets to its entry point.
The list you get is the libraries that are loaded after the entry
point is reached.
[1]
DYLD_PRINT_LIBRARIES_POST_LAUNCH=1 /Applications/Safari.app/Contents/
MacOS/Safari
dyld: loaded: /System/Library/CoreServices/RawCamera.bundle/Contents/
MacOS/RawCamera
dyld: loaded: /System/Library/PrivateFrameworks/Shortcut.framework/
Versions/A/Shortcut
dyld: loaded: /System/Library/PrivateFrameworks/HelpData.framework/
Versions/A/HelpData
dyld: loaded: /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
dyld: loaded: /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
dyld: loaded: /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
dyld: loaded: /System/Library/Frameworks/
ApplicationServices.framework/Versions/A/Frameworks/
CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
[2]
otool -L /Applications/Safari.app/Contents/MacOS/Safari /
Applications/Safari.app/Contents/MacOS/Safari:
/System/Library/PrivateFrameworks/CrashReporterSupport.framework/
Versions/A/CrashReporterSupport
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
/System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
/System/Library/Frameworks/AddressBook.framework/Versions/A/
AddressBook
/System/Library/Frameworks/Security.framework/Versions/A/Security
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/
SystemConfiguration
/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/
SecurityFoundation
/System/Library/Frameworks/SecurityInterface.framework/Versions/A/
SecurityInterface
/System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/
A/SyndicationUI
/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/
JavaScriptCore
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
/System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
/usr/lib/libicucore.A.dylib
/usr/lib/libstdc++.6.dylib
/usr/lib/libgcc_s.1.dylib
/usr/lib/libSystem.B.dylib
/System/Library/Frameworks/CoreServices.framework/Versions/A/
CoreServices
/usr/lib/libobjc.A.dylib
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/
CoreFoundation
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
ApplicationServices
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
---
fastest mac firefox!
http://wagerlabs.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden