Make a change in the function

state_merge
Nikhil Parasaram 5 years ago
parent b50f2497a6
commit 16df820328
  1. 7
      mythril/laser/smt/array.py

@ -59,13 +59,6 @@ class K(BaseArray):
def z3_array_converter(array: Union[z3.Array, z3.K]): def z3_array_converter(array: Union[z3.Array, z3.K]):
if array.num_args() == 1:
# That means it has the arg of default value
new_array = K(
array.domain().size(), array.range().size(), array.arg(0)
) # type: BaseArray
new_array.raw = array
else:
new_array = Array("LoL", array.domain().size(), array.range().size()) new_array = Array("LoL", array.domain().size(), array.range().size())
new_array.raw = array new_array.raw = array
return new_array return new_array

Loading…
Cancel
Save