package goblint

Build not checked
  1. Overview
  2. Docs

Description

Added to opam-repository:

README

Goblint

locked workflow status unlocked workflow status docker workflow status Documentation Status

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

  1. Install opam.
  2. Make sure the following are installed: git patch m4 autoconf libgmp-dev libmpfr-dev.
  3. Run make setup to install OCaml and dependencies via opam.
  4. Run make to build Goblint itself.
  5. Run make install to install Goblint into the opam switch for usage via switch's PATH.

MacOS

  1. Install GCC with brew install gcc (first run xcode-select --install if you don't want to build it from source). Goblint requires GCC while macOS's default cpp is Clang, which will not work.
  2. Continue using Linux instructions.

Windows

  1. Install WSL.
  2. 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)

  1. conf-gcc
  2. conf-gmp >= "3"
  3. sha >= "1.12"
  4. dune-site
  5. ocaml-monadic >= "0.5"
  6. ppx_deriving_yojson
  7. ppx_deriving
  8. ppx_distr_guards >= "0.2"
  9. qcheck-core
  10. zarith >= "1.8"
  11. batteries >= "3.2.0" & < "3.4.0"
  12. goblint-cil >= "1.8.2" & < "2.0.0"
  13. dune >= "2.9.1"
  14. ocaml >= "4.09" & < "5.5"

Dev Dependencies (4)

  1. benchmark with-test
  2. conf-ruby with-test
  3. odoc with-doc
  4. ounit2 with-test

Optional Dependencies (2)

  1. z3
  2. apron

Used by

None

Conflicts (1)

  1. apron >= "v0.9.15"

Build status

Results of building goblint with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
2.8.0 n/a good good good good
2.3.0 good good good good n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure