diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2018-02-20 16:16:58 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2018-02-20 16:16:58 -0500 |
| commit | e0fae5db1c0d7c8989d4d95459fb051ae433b68c (patch) | |
| tree | 0356a602d9027252f68e5e4493058f99d46f7199 /python | |
| parent | f5d8f94993452815fe68e1da9cb398bf4b7e5917 (diff) | |
unsigned improperly using signed division
Diffstat (limited to 'python')
| -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): """ |
