package goblint
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Static analysis framework for C
Install
dune-project
Dependency
Authors
Maintainers
Sources
goblint-1.1.1.tbz
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 setupto install OCaml and dependencies via opam. - Run
maketo build Goblint itself. - Run
make installto install Goblint into the opam switch for usage via switch'sPATH.
MacOS
- Install GCC with
brew install gcc(first runxcode-select --installif you don't want to build it from source). Goblint requires GCC while macOS's defaultcppis 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
makeusing 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.cTo confirm that installation into the opam switch worked, you can try running Goblint as follows:
goblint tests/regression/04-mutex/01-simple_rc.cTo 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.cIf 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
>= "v0.9.15"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page