diff options
| author | Scott Lagler <laglerscott@gmail.com> | 2026-01-29 13:29:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-29 10:29:08 -0800 |
| commit | 5006d2cc099934b716f2474885fde5114225e438 (patch) | |
| tree | 85ea5f718771f09e867dc37bc35e59da6c88962a | |
| parent | f06a8008a1f44fde0e77c693620d5128a6b8edc9 (diff) | |
Add missing LowLevelILFunction::AddOverFlow API (#7788)
| -rw-r--r-- | binaryninjaapi.h | 1 | ||||
| -rw-r--r-- | lowlevelilinstruction.cpp | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index c27f1cde..481e4102 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -14725,6 +14725,7 @@ namespace BinaryNinja { size_t size, ExprId a, ExprId b, const ILSourceLocation& loc = ILSourceLocation()); ExprId TestBit(size_t size, ExprId a, ExprId b, const ILSourceLocation& loc = ILSourceLocation()); ExprId BoolToInt(size_t size, ExprId a, const ILSourceLocation& loc = ILSourceLocation()); + ExprId AddOverflow(size_t size, ExprId left, ExprId right, const ILSourceLocation& loc = ILSourceLocation()); /*! Returns a system call expression. diff --git a/lowlevelilinstruction.cpp b/lowlevelilinstruction.cpp index cbb8afe4..8b943dd1 100644 --- a/lowlevelilinstruction.cpp +++ b/lowlevelilinstruction.cpp @@ -3555,6 +3555,10 @@ ExprId LowLevelILFunction::BoolToInt(size_t size, ExprId a, const ILSourceLocati return AddExprWithLocation(LLIL_BOOL_TO_INT, loc, size, 0, a); } +ExprId LowLevelILFunction::AddOverflow(size_t size, ExprId left, ExprId right, const ILSourceLocation& loc) +{ + return AddExprWithLocation(LLIL_ADD_OVERFLOW, loc, size, left, right); +} ExprId LowLevelILFunction::SystemCall(const ILSourceLocation& loc) { |
