Changeset 41886 in vbox for trunk/src/VBox/Disassembler/testcase
- Timestamp:
- Jun 22, 2012 1:24:38 PM (13 years ago)
- Location:
- trunk/src/VBox/Disassembler/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/testcase/tstDisasm-1.cpp
r41874 r41886 76 76 uint32_t cbOnly = 1; 77 77 DISSTATE DisOnly; 78 rc = DISInst WithPrefetchedBytes((uintptr_t)&pabInstrs[off], enmDisCpuMode, 0 /*fFilter - none */,79 Dis.abInstr, Dis.cbCachedInstr, NULL, NULL, &DisOnly, &cbOnly);78 rc = DISInstrWithPrefetchedBytes((uintptr_t)&pabInstrs[off], enmDisCpuMode, 0 /*fFilter - none */, 79 Dis.abInstr, Dis.cbCachedInstr, NULL, NULL, &DisOnly, &cbOnly); 80 80 81 81 RTTESTI_CHECK_RC(rc, VINF_SUCCESS); -
trunk/src/VBox/Disassembler/testcase/tstDisasm-2.cpp
r41874 r41886 364 364 uint8_t abInstr[sizeof(State.Dis.abInstr)]; 365 365 memcpy(abInstr, State.Dis.abInstr, sizeof(State.Dis.abInstr)); 366 int rcOnly = DISInst WithPrefetchedBytes(State.uAddress, enmCpuMode, 0 /*fFilter - none */,367 abInstr, State.Dis.cbCachedInstr, MyDisasInstrRead, &State,368 &State.Dis, &cbInstrOnly);366 int rcOnly = DISInstrWithPrefetchedBytes(State.uAddress, enmCpuMode, 0 /*fFilter - none */, 367 abInstr, State.Dis.cbCachedInstr, MyDisasInstrRead, &State, 368 &State.Dis, &cbInstrOnly); 369 369 if ( rcOnly != rc 370 370 || cbInstrOnly != State.cbInstr)
Note:
See TracChangeset
for help on using the changeset viewer.