Solving constraints for symbolic execution