Giter Club home page Giter Club logo

analyzer's Introduction

Goblint

locked workflow status unlocked workflow status docker workflow status Documentation Status Zenodo DOI

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

  1. Install opam.
  2. Make sure the following are installed: git patch m4 autoconf libgmp-dev libmpfr-dev pkg-config.
  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

  • opam. Install opam and run opam install goblint.
  • 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.

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.

analyzer's People

Contributors

sim642 avatar vogler avatar michael-schwarz avatar jerhard avatar kalmera avatar vesalvojdani avatar schwmart avatar stilscher avatar vandah avatar aherz avatar martinwehking avatar prion-cloud avatar keremc avatar wherekonshade avatar hydrogenoxide avatar edincitaku avatar nicokn avatar fitnessflo avatar stefanmarcik avatar rla avatar vootelerotov avatar amato-gianluca avatar ingramz avatar jakoberzar avatar martinspiessl avatar dependabot[bot] avatar waffle-with-pears avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.