Re: Crash reporter starting stack trace
Re: Crash reporter starting stack trace
- Subject: Re: Crash reporter starting stack trace
- From: Arnab Ganguly <email@hidden>
- Date: Mon, 19 Oct 2009 17:24:49 +0530
Hi All,
Thanks for the detailed information about ASLR settings. Now any inputs on resolving symbols how it works for PowerPC and not on imac would be of great help.
In case of PowerPC I am able to see system framework symbols are
getting resolved correctly and the mechanism we follow is passing the
address from the client to server where server contains the binary
loaded with symbols and it is resolved. Is that ASLR was not enabled in older system frameworks in
case of PowerPC and it got enabled in newer to Mac OS X for security reasons ? which somehow the
mapping was working correctly on the address ?
Thanks in advance.
-A
On Sun, Oct 18, 2009 at 8:27 PM, Brian Bergstrand
<email@hidden> wrote:
On Oct 18, 2009, at 4:12 PM, Dave Keck wrote:
Also how does ASLR is enabled from Xcode ?
Based on Terry's response: Project/Target Settings > Build > Other
Linker Flags > "-pie"
According to the ld man page you should also add "-fpie" to your "Other C Flags" setting. And as Terry mentioned, make sure "Generate Position-Dependent Code" is off.
Not sure why XCode 3.2 did not make this an "official" setting. A single "Enable ASLR" boolean would be much simpler than mucking around with 3 different settings.
_______________________________________________
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