From b7c2d05a1a83dd91052ca6df20c2f60c802e773e Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Fri, 22 Feb 2019 22:05:19 +0100 Subject: Add support for goto to selected symbol address. Signed-off-by: Pavel Pisa --- qtmips_machine/programloader.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qtmips_machine/programloader.h') diff --git a/qtmips_machine/programloader.h b/qtmips_machine/programloader.h index 607bdb0..b275c2f 100644 --- a/qtmips_machine/programloader.h +++ b/qtmips_machine/programloader.h @@ -43,6 +43,7 @@ #include #include #include +#include "symboltable.h" namespace machine { @@ -55,6 +56,7 @@ public: void to_memory(Memory *mem); // Writes all loaded sections to memory std::uint32_t end(); // Return address after which there is no more code for sure std::uint32_t get_executable_entry(); + SymbolTable *get_symbol_table(); private: int fd; Elf *elf; -- cgit v1.2.3