• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Application entry point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Application entry point
      • From: Greg Parker <email@hidden>
  • Prev by Date: Fwd: XNU + VSD License (in spanish)
  • Next by Date: Re: Application entry point
  • Previous by thread: Fwd: XNU + VSD License (in spanish)
  • Next by thread: Re: Application entry point
  • Index(es):
    • Date
    • Thread