Re: dladdr/backtrace_symbols return incorrect symbol names
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Ethan, -Dave On Mar 24, 2009, at 7:21 PM, Ethan Tira-Thompson wrote: _______________________________________________ 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... If the overhead of atos invocation is too high, why not popen atos once in "r+" mode with no address arguments? Using the bidirectional pipe write an address and a line feed then read a symbol and a linefeed as many times as you wish. This is described in its manpage as "interactive" mode. C. Open 'atos' source or publicize the "symbolication" framework so we can emulate/customize atos functionality. popen()'ing a call to atos is kind of ugly, but of bigger concern is that atos does some kind of preprocessing of the entire symbol table, and for a large project like ours this takes ~10 seconds per launch of atos. So even if we have to stick with calling out to atos, it would be more usable if atos could be set to only process what was needed for the trace at hand instead of running through the entire symbol table right off the bat. This email sent to site_archiver@lists.apple.com
participants (1)
-
David Elliott