diff options
author | Oxore <oxore@protonmail.com> | 2023-06-04 21:58:39 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-06-04 23:26:13 +0300 |
commit | a3f3fb052678b9cf1f80bbdc72c42afc3705ac0b (patch) | |
tree | f45953c256f4e463f073afcdc920c916afc4c0d1 /disasm.h | |
parent | b5c24afbc10a36f65e73d5ef2100da4ff173a109 (diff) |
Add initial support of ELF files
Diffstat (limited to 'disasm.h')
-rw-r--r-- | disasm.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,8 +1,8 @@ +#pragma once + /* SPDX-License-Identifier: Unlicense */ -#pragma once - #include "data_buffer.h" #include "common.h" @@ -383,8 +383,8 @@ struct DisasmNode { /*! Disassembles instruction with arguments * returns size of whole instruction with arguments in bytes */ - size_t Disasm(const DataBuffer &code); - size_t DisasmAsRaw(const DataBuffer &code); + size_t Disasm(const DataView &code); + size_t DisasmAsRaw(const DataView &code); void AddReferencedBy(uint32_t address, ReferenceType); ~DisasmNode(); }; |