nlist and stab headers

1 view
Skip to first unread message

José Cornado

unread,
Dec 31, 2011, 1:23:41 PM12/31/11
to darwin...@lists.apple.com
Is there something inherently unsafe about these headers to be outside the kernel framework or are those types defined somewhere else?

Thanks and happy new year!!!

--
José Cornado

--

home: http://www.efekctive.com
blog:   http://blogging.efekctive.com
----------------------

Everything has been said before, but since nobody listens we have to keep going back and beginning all over again.

Andre Gide

Quinn "The Eskimo!"

unread,
Jan 3, 2012, 7:02:25 AM1/3/12
to darwin-kernel@lists.apple.com Kernel

On 31 Dec 2011, at 18:23, José Cornado wrote:

> Is there something inherently unsafe about these headers to be outside the kernel framework or are those types defined somewhere else?

I'm confused by your question. Why would kernel code want to mess with an obsolete debugging symbols format?

Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (Darwin...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/darwin-kernel-garchive-95844%40googlegroups.com

This email sent to darwin-kernel-...@googlegroups.com

José Cornado

unread,
Jan 3, 2012, 8:17:05 AM1/3/12
to Quinn The Eskimo!, darwin-kernel@lists.apple.com Kernel
I am using the following:

Mac OS X ABI Mach-O File Format Reference -> 2009.

I thought it was reasonably dated :-}


On Tue, Jan 3, 2012 at 5:02 AM, Quinn "The Eskimo!" <esk...@apple.com> wrote:

On 31 Dec 2011, at 18:23, José Cornado wrote:

> Is there something inherently unsafe about these headers to be outside the kernel framework or are those types defined somewhere else?

I'm confused by your question.  Why would kernel code want to mess with an obsolete debugging symbols format?

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (Darwin...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:

Quinn "The Eskimo!"

unread,
Jan 3, 2012, 8:26:10 AM1/3/12
to darwin-kernel@lists.apple.com Kernel

On 3 Jan 2012, at 13:17, José Cornado wrote:

> I thought it was reasonably dated :-}

Well, that depends on what you're trying to do. For the most part STABS was replaced by DWARF... well, a long time ago. The nlist format is still relevant if you're parsing Mach-O images, but that's a pretty unusual thing to do in kernel code.

Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (Darwin...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:

José Cornado

unread,
Jan 3, 2012, 8:30:25 AM1/3/12
to Quinn The Eskimo!, darwin-kernel@lists.apple.com Kernel
got you.

On Tue, Jan 3, 2012 at 6:26 AM, Quinn "The Eskimo!" <esk...@apple.com> wrote:

On 3 Jan 2012, at 13:17, José Cornado wrote:

> I thought it was reasonably dated :-}

Well, that depends on what you're trying to do.  For the most part STABS was replaced by DWARF... well, a long time ago.  The nlist format is still relevant if you're parsing Mach-O images, but that's a pretty unusual thing to do in kernel code.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (Darwin...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
Reply all
Reply to author
Forward
0 new messages