diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2018-02-20 16:16:58 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2018-03-23 17:10:06 -0400 |
| commit | 88f7f557de3cffc16f2866b81495bd6d9f57bc4f (patch) | |
| tree | 0356a602d9027252f68e5e4493058f99d46f7199 /python/lowlevelil.py | |
| parent | a4a2d163e1b372e48915975ae3428a7ccdd39c1b (diff) | |
unsigned improperly using signed division
Diffstat (limited to 'python/lowlevelil.py')
| -rw-r--r-- | python/lowlevelil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index d2f02c3d..0eb463d1 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -1423,7 +1423,7 @@ class LowLevelILFunction(object): :return: The expression ``divs.<size>{<flags>}(a, b)`` :rtype: LowLevelILExpr """ - return self.expr(LowLevelILOperation.LLIL_DIVS, a.index, b.index, size=size, flags=flags) + return self.expr(LowLevelILOperation.LLIL_DIVU, a.index, b.index, size=size, flags=flags) def div_double_prec_unsigned(self, size, a, b, flags=None): """ @@ -1438,7 +1438,7 @@ class LowLevelILFunction(object): :return: The expression ``divs.dp.<size>{<flags>}(a, b)`` :rtype: LowLevelILExpr """ - return self.expr(LowLevelILOperation.LLIL_DIVS_DP, a.index, b.index, size=size, flags=flags) + return self.expr(LowLevelILOperation.LLIL_DIVU_DP, a.index, b.index, size=size, flags=flags) def mod_signed(self, size, a, b, flags=None): """ |
