VirtualBox

Changeset 33467 in vbox for trunk


Ignore:
Timestamp:
Oct 26, 2010 12:44:43 PM (14 years ago)
Author:
vboxsync
Message:

Debugger: Detect Oracle branded Solaris kernels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGPlugInSolaris.cpp

    r31530 r33467  
    10571057
    10581058    /*
    1059      * Look for the copy right string too, just to be sure.
     1059     * Look for the copyright string too, just to be sure.
    10601060     */
    10611061    static const uint8_t s_abSMI[] = "Sun Microsystems, Inc.";
     1062    static const uint8_t s_abORCL[] = "Oracle and/or its affiliates.";
    10621063    rc = DBGFR3MemScan(pVM, 0, &Addr, cbRange, 1, s_abSMI, sizeof(s_abSMI) - 1, &HitAddr);
    10631064    if (RT_FAILURE(rc))
    1064         return false;
     1065    {
     1066        /* Try the alternate copyright string. */
     1067        rc = DBGFR3MemScan(pVM, 0, &Addr, cbRange, 1, s_abORCL, sizeof(s_abORCL) - 1, &HitAddr);
     1068        if (RT_FAILURE(rc))
     1069            return false;
     1070    }
    10651071
    10661072    /*
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