Showing the changes to src/include (2 of 4 files). Show all
Unified · Split
| @@ -7,10 +7,12 @@ · 6 unmodified lines | ||
| 7 | 7 | #ifndef _DISVM_SRC_INCLUDE_OPCODES_H_ |
| 8 | 8 | #define _DISVM_SRC_INCLUDE_OPCODES_H_ |
| 9 | 9 | |
| 10 | +#include <cstdint> | |
| 11 | + | |
| 10 | 12 | namespace disvm |
| 11 | 13 | { |
| 12 | 14 | // Instruction codes for the Dis VM |
| 13 | − enum class opcode_t | |
| 15 | + enum class opcode_t : uint8_t | |
| 14 | 16 | { |
| 15 | 17 | invalid = 0, |
| 16 | 18 | alt, |
| @@ -69,6 +69,7 @@ namespace disvm · 68 unmodified lines | ||
| 69 | 69 | { |
| 70 | 70 | std::shared_ptr<vm_module_t> module; |
| 71 | 71 | vm_pc_t pc; |
| 72 | + opcode_t original_opcode; | |
| 72 | 73 | }; |
| 73 | 74 | |
| 74 | 75 | // VM tool controller |