diff options
Diffstat (limited to 'src/debugger/types.h')
| -rw-r--r-- | src/debugger/types.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/debugger/types.h b/src/debugger/types.h index 1ceee29..8428c1d 100644 --- a/src/debugger/types.h +++ b/src/debugger/types.h @@ -92,6 +92,9 @@ namespace Hsdbg bool resolved = false; bool by_function = false; + + bool by_address = false; + uint64_t file_address = 0; }; struct StackFrame @@ -123,4 +126,26 @@ namespace Hsdbg std::string name; uint64_t value = 0; }; + + struct Instruction + { + uint64_t address = 0; + + uint64_t file_address = 0; + + std::string mnemonic; + std::string operands; + std::string comment; + uint32_t size = 0; + + bool current = false; + }; + + struct Symbol + { + std::string name; + uint64_t file_address = 0; + uint64_t address = 0; + uint64_t size = 0; + }; } |
