Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions binaryninjaapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -14577,6 +14577,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.

Expand Down
4 changes: 4 additions & 0 deletions lowlevelilinstruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down