VirtualBox

Changeset 69647 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Nov 10, 2017 4:31:01 PM (7 years ago)
Author:
vboxsync
Message:

dbgkrnlinfo-r0drv-darwin.cpp: Don't barf on weak symbol definitions. These can be found in development kernels (e.g. _llvm_profile_raw_version).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp

    r69643 r69647  
    630630                    if (pSym->n_sect > pThis->cSections)
    631631                        RETURN_VERR_BAD_EXE_FORMAT;
    632                     if (pSym->n_desc & ~(REFERENCED_DYNAMICALLY))
     632                    if (pSym->n_desc & ~(REFERENCED_DYNAMICALLY | N_WEAK_DEF))
    633633                        RETURN_VERR_BAD_EXE_FORMAT;
    634634                    if (   pSym->n_value < pThis->apSections[pSym->n_sect - 1]->addr
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