diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-22 22:05:19 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-22 22:05:19 +0100 |
commit | b7c2d05a1a83dd91052ca6df20c2f60c802e773e (patch) | |
tree | 9dae0d407c0848b9f703bbbc37278d445e04158b /qtmips_machine/programloader.h | |
parent | 372af906107bceed8a174d5aa907034d35cfe760 (diff) | |
download | qtmips-b7c2d05a1a83dd91052ca6df20c2f60c802e773e.tar.gz qtmips-b7c2d05a1a83dd91052ca6df20c2f60c802e773e.tar.bz2 qtmips-b7c2d05a1a83dd91052ca6df20c2f60c802e773e.zip |
Add support for goto to selected symbol address.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/programloader.h')
-rw-r--r-- | qtmips_machine/programloader.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <qvector.h> #include <qstring.h> #include <memory.h> +#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; |