sec-bit / go-z3

Bindings for the Z3 SMT solver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-z3 provides Go bindings for the Z3 SMT solver.

Installation

First, follow the instructions to download and install the Z3 C library.

If you installed the C library to a non-default location (such as a directory under $HOME), set the following environment variables:

# For building:
export CGO_CFLAGS=-I$Z3PREFIX/include CGO_LDFLAGS=-L$Z3PREFIX/lib
# For running binaries (including tests):
export LD_LIBRARY_PATH=$Z3PREFIX/lib

Then download and build go-z3:

go get -u github.com/aclements/go-z3/z3

Documentation

See the godoc.

About

Bindings for the Z3 SMT solver

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%