VirtualBox

Ignore:
Timestamp:
Feb 15, 2020 3:16:11 PM (5 years ago)
Author:
vboxsync
Message:

IPRT,DBGPlugInDarwin: Added flags for indicating that the LINKEDIT segment should be loaded in Mach-O images and debug files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrMachO.cpp

    r83079 r83084  
    15251525     */
    15261526    {
    1527         bool                fLoadLinkEdit = false;
     1527        bool                fLoadLinkEdit = RT_BOOL(pThis->fOpenFlags & RTLDR_O_MACHO_LOAD_LINKEDIT);
    15281528        PRTLDRMODMACHOSECT  pSectExtraItr;
    15291529        RTLDRADDR           uNextRVA = 0;
     
    15471547            /* If we're skipping the __LINKEDIT segment, check for it and adjust
    15481548               the number of segments we'll be messing with here.  ASSUMES it's
    1549                last (by now anyway). */
     1549               last (typcially is, but not always for mach_kernel). */
    15501550            if (   !fLoadLinkEdit
    15511551                && cSegmentsToAdjust > 0
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette