OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
TWOLEVEL_HINT Struct Reference

#include <AppleMachoImage.h>

Data Fields

UINT32 SubImagesIndex: 8
 index into the sub images
 
UINT32 TableOfContentsIndex: 24
 index into the table of contents
 

Detailed Description

The entries in the two-level namespace lookup hints table are twolevel_hint structs. These provide hints to the dynamic link editor where to start looking for an undefined symbol in a two-level namespace image. The isub_image field is an index into the sub-images (sub-frameworks and sub-umbrellas list) that made up the two-level image that the undefined symbol was found in when it was built by the static link editor. If isub-image is 0 the the symbol is expected to be defined in library and not in the sub-images. If isub-image is non-zero it is an index into the array of sub-images for the umbrella with the first index in the sub-images being

  1. The array of sub-images is the ordered list of sub-images of the umbrella that would be searched for a symbol that has the umbrella recorded as its primary library. The table of contents index is an index into the library's table of contents. This is used as the starting point of the binary search or a directed linear search.

Definition at line 1480 of file AppleMachoImage.h.

Field Documentation

◆ SubImagesIndex

UINT32 TWOLEVEL_HINT::SubImagesIndex

index into the sub images

Definition at line 1481 of file AppleMachoImage.h.

◆ TableOfContentsIndex

UINT32 TWOLEVEL_HINT::TableOfContentsIndex

index into the table of contents

Definition at line 1482 of file AppleMachoImage.h.


The documentation for this struct was generated from the following file: