Application entry point
Application entry point
- Subject: Application entry point
- From: Aron-Zvi <email@hidden>
- Date: Mon, 13 Jul 2009 06:58:14 +0300
Hey guys,
I'd like to know if it's possible to retrieve an application's entry point programatically on OS X.
More specifically, I'd like to retrieve the thread state in the LC_UNIXTHREAD load command and extract eip's value.
I've found getsectdatafromheader() which requires a mach header. I've only found _dyld_get_image_header to get the mach header, however, I found nothing that retrieves a regular executable's (not a loaded shared library...) mach header.
Thanks in advance,
AZ
_______________________________________________
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