From fde1241ce928d38c2031c827ae0ddee5c6f5af0f Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Thu, 4 Jun 2026 16:36:52 -0700 Subject: Add abs, min, and max instructions --- lowlevelilinstruction.cpp | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'lowlevelilinstruction.cpp') diff --git a/lowlevelilinstruction.cpp b/lowlevelilinstruction.cpp index 5a100080..c306e571 100644 --- a/lowlevelilinstruction.cpp +++ b/lowlevelilinstruction.cpp @@ -338,6 +338,11 @@ static constexpr std::array s_instructionOperandUsage = { OperandUsage{LLIL_CTZ, {SourceExprLowLevelOperandUsage}}, OperandUsage{LLIL_RBIT, {SourceExprLowLevelOperandUsage}}, OperandUsage{LLIL_CLS, {SourceExprLowLevelOperandUsage}}, + OperandUsage{LLIL_MINS, {LeftExprLowLevelOperandUsage, RightExprLowLevelOperandUsage}}, + OperandUsage{LLIL_MAXS, {LeftExprLowLevelOperandUsage, RightExprLowLevelOperandUsage}}, + OperandUsage{LLIL_MINU, {LeftExprLowLevelOperandUsage, RightExprLowLevelOperandUsage}}, + OperandUsage{LLIL_MAXU, {LeftExprLowLevelOperandUsage, RightExprLowLevelOperandUsage}}, + OperandUsage{LLIL_ABS, {SourceExprLowLevelOperandUsage}}, }; @@ -1996,6 +2001,7 @@ void LowLevelILInstruction::VisitExprs(bn::base::function_ref