diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-03-04 23:06:09 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-03-05 16:40:02 -0500 |
| commit | 6559703397246440794963582520915833978079 (patch) | |
| tree | 9de329d356ada0f0c5054971eedbdf3c831d2db5 /python/lowlevelil.py | |
| parent | 2395433337891264861080811000353596496845 (diff) | |
Python: Fix some missing params/docs for LLIL float exprs
Diffstat (limited to 'python/lowlevelil.py')
| -rw-r--r-- | python/lowlevelil.py | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index b592e5bb..2324efa4 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -5412,12 +5412,11 @@ class LowLevelILFunction: :param int size: the size of the operands in bytes :param ExpressionIndex a: LHS expression :param ExpressionIndex b: RHS expression - :param str flags: flags to set :param ILSourceLocation loc: location of returned expression :return: The expression ``a f== b`` :rtype: ExpressionIndex """ - return self.expr(LowLevelILOperation.LLIL_FCMP_E, a, b, source_location=loc) + return self.expr(LowLevelILOperation.LLIL_FCMP_E, a, b, size=size, source_location=loc) def float_compare_not_equal( self, size: int, a: ExpressionIndex, b: ExpressionIndex, loc: Optional['ILSourceLocation'] = None @@ -5429,12 +5428,11 @@ class LowLevelILFunction: :param int size: the size of the operands in bytes :param ExpressionIndex a: LHS expression :param ExpressionIndex b: RHS expression - :param str flags: flags to set :param ILSourceLocation loc: location of returned expression :return: The expression ``a f!= b`` :rtype: ExpressionIndex """ - return self.expr(LowLevelILOperation.LLIL_FCMP_NE, a, b, source_location=loc) + return self.expr(LowLevelILOperation.LLIL_FCMP_NE, a, b, size=size, source_location=loc) def float_compare_less_than( self, size: int, a: ExpressionIndex, b: ExpressionIndex, loc: Optional['ILSourceLocation'] = None @@ -5446,12 +5444,11 @@ class LowLevelILFunction: :param int size: the size of the operands in bytes :param ExpressionIndex a: LHS expression :param ExpressionIndex b: RHS expression - :param str flags: flags to set :param ILSourceLocation loc: location of returned expression :return: The expression ``a f< b`` :rtype: ExpressionIndex """ - return self.expr(LowLevelILOperation.LLIL_FCMP_LT, a, b, source_location=loc) + return self.expr(LowLevelILOperation.LLIL_FCMP_LT, a, b, size=size, source_location=loc) def float_compare_less_equal( self, size: int, a: ExpressionIndex, b: ExpressionIndex, loc: Optional['ILSourceLocation'] = None @@ -5463,12 +5460,11 @@ class LowLevelILFunction: :param int size: the size of the operands in bytes :param ExpressionIndex a: LHS expression :param ExpressionIndex b: RHS expression - :param str flags: flags to set :param ILSourceLocation loc: location of returned expression :return: The expression ``a f<= b`` :rtype: ExpressionIndex """ - return self.expr(LowLevelILOperation.LLIL_FCMP_LE, a, b, source_location=loc) + return self.expr(LowLevelILOperation.LLIL_FCMP_LE, a, b, size=size, source_location=loc) def float_compare_greater_equal( self, size: int, a: ExpressionIndex, b: ExpressionIndex, loc: Optional['ILSourceLocation'] = None @@ -5480,12 +5476,11 @@ class LowLevelILFunction: :param int size: the size of the operands in bytes :param ExpressionIndex a: LHS expression :param ExpressionIndex b: RHS expression - :param str flags: flags to set :param ILSourceLocation loc: location of returned expression :return: The expression ``a f>= b`` :rtype: ExpressionIndex """ - return self.expr(LowLevelILOperation.LLIL_FCMP_GE, a, b, source_location=loc) + return self.expr(LowLevelILOperation.LLIL_FCMP_GE, a, b, size=size, source_location=loc) def float_compare_greater_than( self, size: int, a: ExpressionIndex, b: ExpressionIndex, loc: Optional['ILSourceLocation'] = None @@ -5497,12 +5492,11 @@ class LowLevelILFunction: :param int size: the size of the operands in bytes :param ExpressionIndex a: LHS expression :param ExpressionIndex b: RHS expression - :param str flags: flags to set :param ILSourceLocation loc: location of returned expression :return: The expression ``a f> b`` :rtype: ExpressionIndex """ - return self.expr(LowLevelILOperation.LLIL_FCMP_GT, a, b, source_location=loc) + return self.expr(LowLevelILOperation.LLIL_FCMP_GT, a, b, size=size, source_location=loc) def float_compare_ordered( self, size: int, a: ExpressionIndex, b: ExpressionIndex, loc: Optional['ILSourceLocation'] = None @@ -5514,12 +5508,11 @@ class LowLevelILFunction: :param int size: the size of the operands in bytes :param ExpressionIndex a: LHS expression :param ExpressionIndex b: RHS expression - :param str flags: flags to set :param ILSourceLocation loc: location of returned expression :return: The expression ``is_ordered(a, b)`` :rtype: ExpressionIndex """ - return self.expr(LowLevelILOperation.LLIL_FCMP_O, a, b, source_location=loc) + return self.expr(LowLevelILOperation.LLIL_FCMP_O, a, b, size=size, source_location=loc) def float_compare_unordered( self, size: int, a: ExpressionIndex, b: ExpressionIndex, loc: Optional['ILSourceLocation'] = None @@ -5531,12 +5524,11 @@ class LowLevelILFunction: :param int size: the size of the operands in bytes :param ExpressionIndex a: LHS expression :param ExpressionIndex b: RHS expression - :param str flags: flags to set :param ILSourceLocation loc: location of returned expression :return: The expression ``is_unordered(a, b)`` :rtype: ExpressionIndex """ - return self.expr(LowLevelILOperation.LLIL_FCMP_UO, a, b, source_location=loc) + return self.expr(LowLevelILOperation.LLIL_FCMP_UO, a, b, size=size, source_location=loc) def goto(self, label: LowLevelILLabel, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex: """ |
