Skip to content

Commit

Permalink
Changed how I'm copying z3 solvers
Browse files Browse the repository at this point in the history
  • Loading branch information
bannsec committed Apr 10, 2016
1 parent 617a386 commit 6e34a7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyState/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1452,8 +1452,9 @@ def copy(self):
#solverCopy.add(self.solver.assertions())


solverCopy = self.solver.translate(z3.Context())
#solverCopy = self.solver.translate(z3.Context())
#print(solverCopy)
solverCopy = self.solver.translate(self.solver.ctx)

newState = State(
solver=solverCopy,
Expand Down

0 comments on commit 6e34a7b

Please sign in to comment.