package goblint
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=999272bfbd3b9b96fcd58987b237ac6e9fa6d92ef935cc89f1ea2b4205185141
sha512=f3bf6ab71cf8c258d3290da4bf9f6fe42d7c671822e0efeb0fc50afdff078ab15e352237e5c1db31c5aa3a9d430691268ed2e5e00da10f2615835f672f91683d
Description
Published: 30 Nov 2021
README
Goblint
Documentation can be browsed on Read the Docs or GitHub.
Installing
Both for using an up-to-date version of Goblint or developing it, the best way is to install from source by cloning this repository.
The goblint package on opam is very outdated and should currently not be used.
Linux
Install opam.
Make sure the following are installed:
git patch m4 autoconf libgmp-dev libmpfr-dev
.Run
make setup
to install OCaml and dependencies via opam.Run
make
to build Goblint itself.Run
make install
to install Goblint into the opam switch for usage via switch'sPATH
.
MacOS
Install GCC with
brew install gcc
(first runxcode-select --install
if you don't want to build it from source). Goblint requires GCC while macOS's defaultcpp
is Clang, which will not work.Continue using Linux instructions.
Windows
Install WSL.
Continue using Linux instructions in WSL.
Other
devcontainer. Select "Reopen in Container" in VS Code and continue with
make
using Linux instructions in devcontainer.Docker (GitHub Container Registry). Run
docker pull ghcr.io/goblint/analyzer:latest
(or:nightly
).Docker (repository). Clone and run
docker build -t goblint .
.Vagrant. Clone and run
vagrant up && vagrant ssh
.opam (very outdated). Run
opam install goblint
.
Running
To confirm that building worked, you can try running Goblint as follows:
./goblint tests/regression/04-mutex/01-simple_rc.c
To confirm that installation into the opam switch worked, you can try running Goblint as follows:
goblint tests/regression/04-mutex/01-simple_rc.c
To confirm that the Docker container worked, you can try running Goblint as follows:
docker run -it --rm -v $(pwd):/data goblint /data/tests/regression/04-mutex/01-simple_rc.c
If pulled from GitHub Container Registry, use the container name ghcr.io/goblint/analyzer:latest
(or :nightly
) instead.
For further information, see documentation.
Dependencies (14)
- conf-gcc
-
conf-gmp
>= "3"
-
sha
>= "1.12"
- dune-site
-
ocaml-monadic
>= "0.5"
- ppx_deriving_yojson
- ppx_deriving
-
ppx_distr_guards
>= "0.2"
- qcheck-core
-
zarith
>= "1.8"
-
batteries
>= "3.2.0" & < "3.4.0"
-
goblint-cil
>= "1.8.2" & < "2.0.0"
-
dune
>= "2.9.1"
-
ocaml
>= "4.09"
Used by
None
Conflicts (1)
-
apron
>= "0.9.15"