VirtualBox

Changeset 49480 in vbox for trunk/src/VBox/Disassembler


Ignore:
Timestamp:
Nov 14, 2013 3:13:54 PM (11 years ago)
Author:
vboxsync
Message:

Runtime, Devices, Disassembler R0: warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmCore.cpp

    r46949 r49480  
    227227{
    228228#ifdef IN_RING0
     229    NOREF(cbMinRead);
    229230    AssertMsgFailed(("disReadWord with no read callback in ring 0!!\n"));
    230231    RT_BZERO(&pDis->abInstr[offInstr], cbMaxRead);
     
    807808    NOREF(pOp); NOREF(pDis);
    808809
    809     unsigned mod     = pDis->ModRM.Bits.Mod;
    810 
    811810    unsigned type    = OP_PARM_VTYPE(pParam->fParam);
    812811    unsigned subtype = OP_PARM_VSUBTYPE(pParam->fParam);
     
    15631562static size_t ParseImmAddr(size_t offInstr, PCDISOPCODE pOp, PDISSTATE pDis, PDISOPPARAM pParam)
    15641563{
     1564    NOREF(pOp);
    15651565    if (pDis->uAddrMode == DISCPUMODE_32BIT)
    15661566    {
     
    16451645static size_t ParseImmAddrF(size_t offInstr, PCDISOPCODE pOp, PDISSTATE pDis, PDISOPPARAM pParam)
    16461646{
     1647    NOREF(pOp);
    16471648    // immediate far pointers - only 16:16 or 16:32; determined by operand, *not* address size!
    16481649    Assert(pDis->uOpMode == DISCPUMODE_16BIT || pDis->uOpMode == DISCPUMODE_32BIT);
     
    18821883static size_t ParseInvOpModRm(size_t offInstr, PCDISOPCODE pOp, PDISSTATE pDis, PDISOPPARAM pParam)
    18831884{
     1885    NOREF(pOp); NOREF(pDis); NOREF(pParam);
    18841886    /* This is used to avoid a bunch of special hacks to get the ModRM byte
    18851887       included when encountering invalid opcodes in groups. */
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