site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Yes, somebody is manually loading those with dlopen() or NSBundle. -- Greg Parker gparker@apple.com Runtime Wrangler _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Aug 26, 2009, at 3:57 PM, Joel Reymont wrote: On Aug 26, 2009, at 11:32 PM, Jean-Daniel Dupas wrote: The list you get is the libraries that are loaded after the entry point is reached. I must not be thinking clearly since it's very late but I was under the impression that to resolve symbols, the dynamic linker runs before the program entry point is reached. It does. That's when it loads the libraries in the `otool -L` list. You can see them with DYLD_PRINT_LIBRARIES. DYLD_PRINT_LIBRARIES_POST_LAUNCH prints only the libraries that are loaded post-launch, if any. In practice this means calls to dlopen() or NSBundle. What circumstances might cause libraries to be loaded after the program entry point, apart from manually invoking dlopen? Is Safari manually loading the RawCamera, HelpData or Shortcut frameworks, for example? This email sent to site_archiver@lists.apple.com