Changeset 99221 in vbox for trunk/src/VBox/Runtime/testcase/tstLdrDisasmTest.cpp
- Timestamp:
- Mar 30, 2023 12:48:09 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstLdrDisasmTest.cpp
r99208 r99221 46 46 *********************************************************************************************************************************/ 47 47 #include <VBox/dis.h> 48 #include <VBox/disopcode.h>49 48 #include <VBox/sup.h> 50 49 #include <iprt/string.h> … … 98 97 if (cb + pDis->uInstrAddr + offInstr > sizeof(g_ab32BitCode)) 99 98 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); 101 100 pDis->cbCachedInstr = offInstr + (uint8_t)cb; 102 101 return VINF_SUCCESS; … … 113 112 *pcb = cb; 114 113 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)); \ 116 115 return rc; 117 116 }
Note:
See TracChangeset
for help on using the changeset viewer.