How to get the parameters for calls on an arbitrary stack in the kernel
How to get the parameters for calls on an arbitrary stack in the kernel
- Subject: How to get the parameters for calls on an arbitrary stack in the kernel
- From: Steve Modica <email@hidden>
- Date: Tue, 26 Nov 2013 14:12:11 -0600
In the olden days, you'd look at the error frame and the assembly for the particular call and see where it stored its args. Usually, it would write them into a cpu register you could see in the error frame (s0, s1 etc), or an offset to something in a cpu register. This was all MIPS specific. (you kids get off my lawn)
--
Steve Modica
CTO - Small Tree Communications
www.small-tree.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden