issue.description+="\nThere is a check on storage index "+str(index)+". This storage index can be written to by calling the function '"+s.node.function_name+"'."
s.add(constraint)
break
if(s.check()==sat):
m=s.model()
ifnotcan_write:
logging.info("No storage writes to index "+str(index))
can_solve=False
break
logging.debug("Model for node "+str(node.uid)+", function "+node.function_name+": ")
exceptKeyError:
logging.info("No storage writes to index "+str(index))
issue.description+="\nThere is a check on storage index "+str(index)+". This storage index can be written to by calling the function '"+s.node.function_name+"'."
issue.description+="\nThere is a check on storage index "+str(index)+". This storage index can be written to by calling the function '"+s.node.function_name+"'."
break
break
@ -70,24 +74,13 @@ def execute(statespace):
ifcan_solve:
ifcan_solve:
s=Solver()
try:
model=solver.get_model(node.constraints)
forconstraintinnode.constraints:
s.add(constraint)
if(s.check()==sat):
m=s.model()
logging.debug("Model for node "+str(node.uid)+", function "+node.function_name+": ")