VirtualBox

Ignore:
Timestamp:
Mar 30, 2023 12:48:09 PM (23 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/Runtime/testcase/tstLdrDisasmTest.cpp

    r99208 r99221  
    4646*********************************************************************************************************************************/
    4747#include <VBox/dis.h>
    48 #include <VBox/disopcode.h>
    4948#include <VBox/sup.h>
    5049#include <iprt/string.h>
     
    9897    if (cb + pDis->uInstrAddr + offInstr > sizeof(g_ab32BitCode))
    9998        cb = cbMinRead;
    100     memcpy(&pDis->abInstr[offInstr], &g_ab32BitCode[pDis->uInstrAddr + offInstr], cb);
     99    memcpy(&pDis->u.abInstr[offInstr], &g_ab32BitCode[pDis->uInstrAddr + offInstr], cb);
    101100    pDis->cbCachedInstr = offInstr + (uint8_t)cb;
    102101    return VINF_SUCCESS;
     
    113112    *pcb = cb;
    114113    MY_PRINTF(("DISCoreOneEx -> rc=%d cb=%d  Cpu: bOpCode=%#x pCurInstr=%p (42=%d)\n", \
    115                rc, cb, pDis->bOpCode, pDis->pCurInstr, 42)); \
     114               rc, cb, pDis->arch.x86.bOpCode, pDis->pCurInstr, 42)); \
    116115    return rc;
    117116}
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