Fixed a few random bugs here and there.
[aesalon.git] / src / interface / dwarf / Parser.h
bloba7fadfb753b37753f26447b8e8450e53dfd0484f
1 #ifndef AESALON_INTERFACE_DWARF_PARSER_H
2 #define AESALON_INTERFACE_DWARF_PARSER_H
4 #include "elf/Parser.h"
6 #include "EntryManager.h"
8 #include "misc/SmartPointer.h"
10 namespace Aesalon {
11 namespace Interface {
12 namespace DWARF {
14 class Parser {
15 private:
16 Misc::SmartPointer<ELF::Parser> elf_parser;
18 Misc::SmartPointer<EntryManager> entry_manager;
19 public:
20 Parser(Misc::SmartPointer<ELF::Parser> elf_parser) : elf_parser(elf_parser) {}
21 virtual ~Parser() {}
23 Word parse_leb128(Block block, bool is_signed);
26 } // namespace DWARF
27 } // namespace Interface
28 } // namespace Aesalon
30 #endif