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-2.0.1.tbz
sha256=dba2b664c7c125687e708e871d83fbfb6ba6d9ee98d235b4850d9a238caa84de
sha512=529987cde39691ad9e955000a3603e89c1c8cf14ed5e8b4cd3a7fc26e47d016aff571b472e2329725133c46f8d0cb45a05b88994eeffaa221a4d31b4c543adcd
Description
Published: 22 Aug 2022
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.
Linux
- Install opam.
- Make sure the following are installed:
git patch m4 autoconf libgmp-dev libmpfr-dev pkg-config. - 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. - ONLY for M1 (ARM64) processor: homebrew changed its install location from
/usr/local/to/opt/homebrew/. For packages to find their dependecies executesudo ln -s /opt/homebrew/{include,lib} /usr/local/. - Continue using Linux instructions (the formulae in brew for
patch libgmp-dev libmpfr-devaregpatch gmp mpfr, respectively).
Windows
- Install WSL.
- Continue using Linux instructions in WSL.
Other
- opam. Install opam and run
opam install goblint. - 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.
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 (22)
- conf-gcc
-
conf-gmp
>= "3" - uuidm
-
yaml
>= "3.0.0" - arg-complete
- cpu
-
sha
>= "1.12" -
jsonrpc
>= "1.12" - json-data-encoding
- dune-site
- fpath
-
ppx_blob
>= "0.6.0" -
ppx_deriving_yojson
>= "3.7.0" - ppx_deriving_hash
- ppx_deriving
-
qcheck-core
>= "0.19" & < "0.26" -
yojson
>= "2.0.0" & < "3" -
zarith
>= "1.8" -
batteries
>= "3.4.0" -
goblint-cil
>= "2.0.0" & < "2.0.2" -
dune
>= "2.9.1" -
ocaml
>= "4.10" & < "5.0"
Dev Dependencies (5)
-
benchmark
with-test -
conf-ruby
with-test -
odoc
with-doc -
qcheck-ounit
with-test -
ounit2
with-test
Used by
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page