VirtualBox

Changeset 99234 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 30, 2023 1:39:01 PM (22 months ago)
Author:
vboxsync
Message:

Disassember,*: Start separating the disassembler into a architecture specific and common part, bugref:10394 [build fixes]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/posix/SUPR3HardenedMain-posix.cpp

    r99223 r99234  
    247247    if (   RT_FAILURE(rc)
    248248        || Dis.pCurInstr->uOpcode != OP_JMP
    249         || !(Dis.ModRM.Bits.Mod == 0 && Dis.ModRM.Bits.Rm == 5 /* wrt RIP */))
     249        || !(Dis.arch.x86.ModRM.Bits.Mod == 0 && Dis.arch.x86.ModRM.Bits.Rm == 5 /* wrt RIP */))
    250250        return NULL;
    251251
    252252    /* Extract start address. */
    253     pbSym = (pbSym + cbInstr + Dis.Param1.uDisp.i32);
     253    pbSym = (pbSym + cbInstr + Dis.Param1.arch.x86.uDisp.i32);
    254254    pbSym = (uint8_t *)*((uintptr_t *)pbSym);
    255255# else
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