diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-08-17 17:24:21 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-08-25 14:26:59 -0400 |
| commit | 5046073446456512359493848692557442235294 (patch) | |
| tree | ec593ee29d4ca011745df55d21c4498695f93fd2 /lowlevelilinstruction.h | |
| parent | c618591f29b35017802fef7a5209fd3b9dbfac30 (diff) | |
Make the IL exceptions include stack traces
Diffstat (limited to 'lowlevelilinstruction.h')
| -rw-r--r-- | lowlevelilinstruction.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lowlevelilinstruction.h b/lowlevelilinstruction.h index 7557a1ec..99aba8ad 100644 --- a/lowlevelilinstruction.h +++ b/lowlevelilinstruction.h @@ -355,11 +355,10 @@ namespace BinaryNinja /*! \ingroup lowlevelil */ - class LowLevelILInstructionAccessException : public std::exception + class LowLevelILInstructionAccessException : public ExceptionWithStackTrace { public: - LowLevelILInstructionAccessException() : std::exception() {} - virtual const char* what() const NOEXCEPT { return "invalid access to LLIL instruction"; } + LowLevelILInstructionAccessException() : ExceptionWithStackTrace("invalid access to LLIL instruction") {} }; /*! |
