summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2022-02-04 22:04:52 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2022-06-22 17:38:21 -0400
commitda250551336d916ad0058bf200e1f0b29ccb2a8f (patch)
treece0bd66003e2eda8f3b8ebc63bc623d265410df5 /binaryninjaapi.h
parent63e72efd13b31c1d2061b978e2a5f4688e7ba4fd (diff)
Add unreachable instruction for switch statements with an unreachable default
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index bfa94d6f..8433b1d1 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -5016,6 +5016,7 @@ namespace BinaryNinja {
ExprId Jump(ExprId dest, const ILSourceLocation& loc = ILSourceLocation());
ExprId Return(const std::vector<ExprId>& sources, const ILSourceLocation& loc = ILSourceLocation());
ExprId NoReturn(const ILSourceLocation& loc = ILSourceLocation());
+ ExprId Unreachable(const ILSourceLocation& loc = ILSourceLocation());
ExprId Goto(uint64_t target, const ILSourceLocation& loc = ILSourceLocation());
ExprId Label(uint64_t target, const ILSourceLocation& loc = ILSourceLocation());
ExprId VarDeclare(const Variable& var, const ILSourceLocation& loc = ILSourceLocation());