summaryrefslogtreecommitdiff
path: root/highlevelilinstruction.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2023-08-17 17:24:21 -0400
committerGlenn Smith <glenn@vector35.com>2023-08-25 14:26:59 -0400
commit5046073446456512359493848692557442235294 (patch)
treeec593ee29d4ca011745df55d21c4498695f93fd2 /highlevelilinstruction.h
parentc618591f29b35017802fef7a5209fd3b9dbfac30 (diff)
Make the IL exceptions include stack traces
Diffstat (limited to 'highlevelilinstruction.h')
-rw-r--r--highlevelilinstruction.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/highlevelilinstruction.h b/highlevelilinstruction.h
index 502dd582..0476a182 100644
--- a/highlevelilinstruction.h
+++ b/highlevelilinstruction.h
@@ -167,11 +167,10 @@ namespace BinaryNinja
/*!
\ingroup highlevelil
*/
- class HighLevelILInstructionAccessException : public std::exception
+ class HighLevelILInstructionAccessException : public ExceptionWithStackTrace
{
public:
- HighLevelILInstructionAccessException() : std::exception() {}
- virtual const char* what() const NOEXCEPT { return "invalid access to HLIL instruction"; }
+ HighLevelILInstructionAccessException() : ExceptionWithStackTrace("invalid access to HLIL instruction") {}
};
/*!