VirtualBox

Ignore:
Timestamp:
Nov 25, 2018 1:43:02 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/ldrMachO.cpp: Don't get upset about PIE executables when not loading. Helps with mach_kernel.

File:
1 edited

Legend:

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

    r75053 r75703  
    12461246        case MH_OBJECT:
    12471247        case MH_EXECUTE:
    1248             RTLDRMODMACHO_CHECK_RETURN(!fDySymbolTabWithRelocs,
     1248            RTLDRMODMACHO_CHECK_RETURN(!fDySymbolTabWithRelocs || (fOpenFlags & (RTLDR_O_FOR_DEBUG | RTLDR_O_FOR_VALIDATION)),
    12491249                                       RTErrInfoSetF(pErrInfo, VERR_LDRMACHO_BAD_LOAD_COMMAND,
    12501250                                                     "Did not expect relocations in LC_DYSYMTAB (file type %u)", uEffFileType));
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