From da250551336d916ad0058bf200e1f0b29ccb2a8f Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Fri, 4 Feb 2022 22:04:52 -0500 Subject: Add unreachable instruction for switch statements with an unreachable default --- binaryninjaapi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'binaryninjaapi.h') 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& 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()); -- cgit v1.3.1