• 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
need help resolving symbols using twolevel hints table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

need help resolving symbols using twolevel hints table


  • Subject: need help resolving symbols using twolevel hints table
  • From: "Mike Garey" <email@hidden>
  • Date: Mon, 13 Sep 2004 14:33:49 -0400

I'm having difficulty understanding how to use the twolevel hints table to resolve undefined symbols.  I'm not sure what exactly the itoc member of the twolevel hints structure represents.

For example, if I have an executable image, which has an undefined symbol such as _printf, after I determine which library image it's located in (from the n_desc value of the nlist struct), do I then obtain the tocoff value from the dysymtab_command of this library, and add the itoc to this value, then read the memory found at this location into a dylib_table_of_contents struct, and then obtain the symbol_index member, which will indicate the index of the _printf symbol within the symbol table of the shared library?  Or is this completely wrong?

If anyone has any advice or suggestions, please let me know.  Thanks!

Mike

P.S. Sorry if this question has been answered in the lists before, but I can't seem to find the search option on lists.apple.com.

_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.


_______________________________________________
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


  • Prev by Date: Re: Self compiled gdb doesn't work with Xcode
  • Next by Date: Re: incomplete man pages....
  • Previous by thread: Re: incomplete man pages....
  • Next by thread: Re: need help resolving symbols using twolevel hints table
  • Index(es):
    • Date
    • Thread