Changeset 41668 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jun 12, 2012 1:15:51 PM (13 years ago)
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstLdr-3.cpp
r41658 r41668 164 164 char szOutput[256]; 165 165 unsigned cbInstr; 166 int rc = DISCoreOne Ex(uNearAddr + i, pCpu->mode,167 MyReadBytes, (uint8_t *)pvCodeBlock - (uintptr_t)uNearAddr,168 pCpu, &cbInstr);166 int rc = DISCoreOneWithReader(uNearAddr + i, pCpu->mode, 167 MyReadBytes, (uint8_t *)pvCodeBlock - (uintptr_t)uNearAddr, 168 pCpu, &cbInstr); 169 169 RTAssertSetMayPanic(fMayPanic); 170 170 RTAssertSetQuiet(fQuiet); -
trunk/src/VBox/Runtime/testcase/tstLdrDisasmTest.cpp
r41658 r41668 105 105 { 106 106 uint32_t cb; 107 int rc = DISCoreOne Ex(CodeIndex, CPUMODE_32BIT, DisasmTest1ReadCode, 0, pCpu, &cb);107 int rc = DISCoreOneWithReader(CodeIndex, CPUMODE_32BIT, DisasmTest1ReadCode, 0, pCpu, &cb); 108 108 *pcb = cb; 109 109 MY_PRINTF(("DISCoreOneEx -> rc=%d cb=%d Cpu: opcode=%#x pCurInstr=%p (42=%d)\n", \ -
trunk/src/VBox/Runtime/testcase/tstLdrObj.cpp
r41658 r41668 98 98 static unsigned cb; 99 99 DISCPUSTATE Cpu; 100 DISCoreOne Ex((uintptr_t)SomeExportFunction3, CPUMODE_32BIT, NULL /*pfnReadBytes*/, NULL /*pvUser*/, &Cpu, &cb);100 DISCoreOne((uintptr_t)SomeExportFunction3, CPUMODE_32BIT, &Cpu, &cb); 101 101 return (void *)(uintptr_t)&SomeExportFunction1; 102 102 } -
trunk/src/VBox/Runtime/testcase/tstLdrObjR0.cpp
r41658 r41668 98 98 Cpu.mode = CPUMODE_32BIT; 99 99 100 DISCoreOne Ex((uintptr_t)SomeExportFunction3, CPUMODE_32BIT, NULL /*pfnReadBytes*/, NULL /*pvUser*/, &Cpu, &cb);100 DISCoreOne((uintptr_t)SomeExportFunction3, CPUMODE_32BIT, &Cpu, &cb); 101 101 return (void *)(uintptr_t)&SomeExportFunction1; 102 102 }
Note:
See TracChangeset
for help on using the changeset viewer.