diff options
Diffstat (limited to 'includes/trygvis/elfinfo')
-rw-r--r-- | includes/trygvis/elfinfo/Ld.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/trygvis/elfinfo/Ld.h b/includes/trygvis/elfinfo/Ld.h index cab466d..09dcaec 100644 --- a/includes/trygvis/elfinfo/Ld.h +++ b/includes/trygvis/elfinfo/Ld.h @@ -8,6 +8,13 @@ namespace trygvis { namespace elfinfo { +class LdParseException : public std::runtime_error { +public: + explicit LdParseException(const std::vector<std::string> messages) : runtime_error("Parse error"), messages(messages) {} + + const std::vector<std::string> messages; +}; + enum class MemoryAttribute { R, W, X }; |