···
+
synopsis: "Platform dedicated to the analysis of source code written in C"
+
Frama-C gathers several analysis techniques in a single collaborative
+
framework, based on analyzers (called "plug-ins") that can build upon the
+
results computed by other analyzers in the framework.
+
Thanks to this approach, Frama-C provides sophisticated tools, including:
+
- an analyzer based on abstract interpretation (Eva plug-in);
+
- a program proof framework based on weakest precondition calculus (WP plug-in);
+
- a program slicer (Slicing plug-in);
+
- a tool for verification of temporal (LTL) properties (Aoraï plug-in);
+
- a runtime verification tool (E-ACSL plug-in);
+
- several tools for code base exploration and dependency analysis
+
(plug-ins From, Impact, Metrics, Occurrence, Scope, etc.).
+
These plug-ins communicate between each other via the Frama-C API
+
and via ACSL (ANSI/ISO C Specification Language) properties.
+
maintainer: "francois.bobot@cea.fr"
+
"Jean-Christophe Filliâtre"
+
"Jean-Christophe Léchenet"
+
homepage: "https://frama-c.com/"
+
license: "LGPL-2.1-only"
+
dev-repo: "git+https://git.frama-c.com/pub/frama-c.git"
+
doc: "http://frama-c.com/download/user-manual-24.0-Chromium.pdf"
+
bug-reports: "https://git.frama-c.com/pub/frama-c/issues"
+
"automated theorem prover"
+
"interactive theorem prover"
+
"abstract interpretation"
+
["./configure" "--prefix" prefix
+
[make "-C" "doc" "download"] {with-doc}
+
[make "-C" "doc" "install"] {with-doc}
+
[make "-j%{jobs}%" "PTESTS_OPTS=-error-code" "tests"] { arch != "ppc64" & arch != "x86_32" & arch != "arm32" }
+
# tests are disabled on PPC64 due to floating-point oracle differences
+
# (some ULPs in libc trigonometric functions) and due to the lack of
+
# available hardware to test them locally
+
# Please keep depends and depopts sorted by package name
+
"conf-autoconf" { build }
+
( ( "lablgtk" { >= "2.18.8" } & "conf-gnomecanvas" & "conf-gtksourceview"
+
& ("ocamlgraph" { < "2.0" } | "ocamlgraph_gtk" ))
+
| ( "lablgtk3" { >= "3.1.0" & os!="macos" }
+
& "lablgtk3-sourceview3" & "conf-gtksourceview3" ) )
+
( "alt-ergo-free" | "alt-ergo" )
+
"conf-graphviz" { post }
+
"conf-time" { with-test }
+
"ocaml" { >= "4.08.1" }
+
"ocamlfind" # needed beyond build stage, used by -load-module
+
"ocamlgraph" { >= "1.8.8" }
+
"why3" { >= "1.4.0" & < "1.5~" }
+
# cannot use {build}: Frama-C must be recompiled when Coq and libraries changes.
+
# Coq: because .vo would would not be loadable by another version of Coq
+
# libraries: because we use dynamic linking
+
x-ci-accept-failures: [
+
"centos-7" # Too old version of make
+
"The Frama-C/Wp now uses Why-3 for all provers (Cf. deprecated -wp-prover native:alt-ergo)"
+
"The Frama-C/Wp native support for Coq is deprecated and only activated with Coq.8.13.x (use TIP or Why-3 instead)."
+
"Why3 provers setup: rm -f ~/.why3.conf ; why3 config detect"
+
src: "https://frama-c.com/download/frama-c-24.0-Chromium.tar.gz"
+
checksum: "sha256=4eeaf1321780a8d88f492fb50a83859a229585e33fa7a5e10dbf49506e7c3d74"