Changeset 7015 in vbox for trunk/src/VBox/Disassembler/DisasmTest.cpp
- Timestamp:
- Feb 19, 2008 1:14:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmTest.cpp
r5999 r7015 23 23 #include <VBox/err.h> 24 24 #include <stdio.h> 25 #include <iprt/string.h> 25 26 26 27 DECLASM(int) TestProc(); … … 42 43 { 43 44 unsigned cb; 44 DISCPUSTATE cpu = {0};45 DISCPUSTATE cpu; 45 46 char szOutput[256]; 46 47 48 memset(&cpu, 0, sizeof(cpu)); 47 49 cpu.mode = CPUMODE_32BIT; 48 50 if (VBOX_SUCCESS(DISInstr(&cpu, pInstr, 0, &cb, szOutput)))
Note:
See TracChangeset
for help on using the changeset viewer.