| 347 | namespace BinaryNinja |
| 348 | { |
| 349 | class ElfFormatException: public std::exception |
| 350 | { |
| 351 | std::string m_message; |
| 352 | |
| 353 | public: |
| 354 | ElfFormatException(const std::string& msg = "invalid format"): m_message(msg) {} |
| 355 | virtual const char* what() const NOEXCEPT { return m_message.c_str(); } |
| 356 | }; |
| 357 | |
| 358 | struct ElfIdent |
| 359 | { |