diff options
| author | hachem <im@hachem.wtf> | 2025-02-08 01:38:42 +0100 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-02-08 01:38:42 +0100 |
| commit | 66000c76d2c192df515d7a06af605587462d60be (patch) | |
| tree | a7c8e9febd00cd859e8389e0bb4770df4d6d72a7 /src/debugger/types.h | |
| parent | ad5f458d31d45a09d3888f83a4f8a54eea20c996 (diff) | |
feat: disassembly
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; + }; } |
