This commit is contained in:
feliam
2020-09-08 16:21:07 -03:00
parent ad6e91be34
commit dd7236fb0d
+8 -6
View File
@@ -40,13 +40,13 @@ class Expression:
def issymbolic(value) -> bool:
"""
Helper to determine whether an object is symbolic (e.g checking
if data read from memory is symbolic)
Helper to determine whether an object is symbolic (e.g checking
if data read from memory is symbolic)
:param object value: object to check
:return: whether `value` is symbolic
:rtype: bool
"""
:param object value: object to check
:return: whether `value` is symbolic
:rtype: bool
"""
return isinstance(value, Expression)
@@ -545,10 +545,12 @@ class BitVecMul(BitVecOperation):
def __init__(self, a, b, *args, **kwargs):
super().__init__(a.size, a, b, *args, **kwargs)
class BitVecPow(BitVecOperation):
def __init__(self, a, b, *args, **kwargs):
super().__init__(a.size, a, b, *args, **kwargs)
class BitVecDiv(BitVecOperation):
def __init__(self, a, b, *args, **kwargs):
super().__init__(a.size, a, b, *args, **kwargs)