summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibX86/Instruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibX86/Instruction.h')
-rw-r--r--Userland/Libraries/LibX86/Instruction.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibX86/Instruction.h b/Userland/Libraries/LibX86/Instruction.h
index 1c29ce65dd..24473a1754 100644
--- a/Userland/Libraries/LibX86/Instruction.h
+++ b/Userland/Libraries/LibX86/Instruction.h
@@ -41,6 +41,9 @@ typedef void (Interpreter::*InstructionHandler)(const Instruction&);
class SymbolProvider {
public:
virtual String symbolicate(FlatPtr, u32* offset = nullptr) const = 0;
+
+protected:
+ virtual ~SymbolProvider() = default;
};
template<typename T>
@@ -316,6 +319,9 @@ public:
virtual u16 read16() = 0;
virtual u32 read32() = 0;
virtual u64 read64() = 0;
+
+protected:
+ virtual ~InstructionStream() = default;
};
class SimpleInstructionStream final : public InstructionStream {