package frama-c
Platform dedicated to the analysis of source code written in C
Install
Dune Dependency
Authors
-
MMichele Alberti
-
TThibaud Antignac
-
GGergö Barany
-
PPatrick Baudin
-
NNicolas Bellec
-
TThibaut Benjamin
-
AAllan Blanchard
-
LLionel Blatter
-
FFrançois Bobot
-
RRichard Bonichon
-
VVincent Botbol
-
QQuentin Bouillaguet
-
DDavid Bühler
-
ZZakaria Chihani
-
LLoïc Correnson
-
JJulien Crétin
-
PPascal Cuoq
-
ZZaynah Dargaye
-
BBasile Desloges
-
JJean-Christophe Filliâtre
-
PPhilippe Herrmann
-
MMaxime Jacquemin
-
FFlorent Kirchner
-
AAlexander Kogtenkov
-
RRemi Lazarini
-
TTristan Le Gall
-
JJean-Christophe Léchenet
-
MMatthieu Lemerre
-
DDara Ly
-
DDavid Maison
-
CClaude Marché
-
AAndré Maroneze
-
TThibault Martin
-
FFonenantsoa Maurica
-
MMelody Méaulle
-
BBenjamin Monate
-
YYannick Moy
-
PPierre Nigron
-
AAnne Pacalet
-
VValentin Perrelle
-
GGuillaume Petiot
-
DDario Pinto
-
VVirgile Prevosto
-
AArmand Puccetti
-
FFélix Ridoux
-
VVirgile Robles
-
JJan Rochel
-
MMuriel Roger
-
JJulien Signoles
-
NNicolas Stouls
-
KKostyantyn Vorobyov
-
BBoris Yakobowski
Maintainers
Sources
frama-c-29.0-Copper.tar.gz
sha256=d2fbb3b8d0ff83945872e9e6fa258e934a706360e698dae3b4d5f971addf7493
doc/src/frama-c-eva.core/self.ml.html
Source file self.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
(**************************************************************************) (* *) (* This file is part of Frama-C. *) (* *) (* Copyright (C) 2007-2024 *) (* CEA (Commissariat à l'énergie atomique et aux énergies *) (* alternatives) *) (* *) (* you can redistribute it and/or modify it under the terms of the GNU *) (* Lesser General Public License as published by the Free Software *) (* Foundation, version 2.1. *) (* *) (* It is distributed in the hope that it will be useful, *) (* but WITHOUT ANY WARRANTY; without even the implied warranty of *) (* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *) (* GNU Lesser General Public License for more details. *) (* *) (* See the GNU Lesser General Public License version 2.1 *) (* for more details (enclosed in the file licenses/LGPLv2.1). *) (* *) (**************************************************************************) include Plugin.Register (struct let name = "Eva" let shortname = "eva" let help = "automatically computes variation domains for the variables of the program" end) let () = add_plugin_output_aliases ~visible:false ~deprecated:true [ "value" ; "val" ] (* Do not add dependencies to Kernel parameters here, but at the top of Parameters. *) let kernel_dependencies = [ Ast.self; Alarms.self; Annotations.code_annot_state; ] let proxy = State_builder.Proxy.(create "eva" Forward kernel_dependencies) let state = State_builder.Proxy.get proxy (* Current state of the analysis *) type computation_state = NotComputed | Computing | Computed | Aborted module ComputationState = struct let to_string = function | NotComputed -> "NotComputed" | Computing -> "Computing" | Computed -> "Computed" | Aborted -> "Aborted" module Prototype = struct include Datatype.Serializable_undefined type t = computation_state let name = "Eva.Analysis.ComputationState" let pretty fmt s = Format.pp_print_string fmt (to_string s) let reprs = [ NotComputed ; Computing ; Computed ; Aborted ] let dependencies = [ state ] let default () = NotComputed end module Datatype' = Datatype.Make (Prototype) include (State_builder.Ref (Datatype') (Prototype)) end let is_computed () = match ComputationState.get () with | Computed | Aborted -> true | NotComputed | Computing -> false (* Debug categories. *) let dkey_initial_state = register_category "initial-state" let dkey_final_states = register_category "final-states" let dkey_summary = register_category "summary" let dkey_pointer_comparison = register_category "pointer-comparison" let dkey_cvalue_domain = register_category "d-cvalue" let dkey_incompatible_states = register_category "incompatible-states" let dkey_iterator = register_category "iterator" let dkey_callbacks = register_category "callbacks" let dkey_widening = register_category "widening" let dkey_recursion = register_category "recursion" let () = let activate dkey = add_debug_keys dkey in List.iter activate [dkey_initial_state; dkey_final_states; dkey_summary; dkey_cvalue_domain; dkey_recursion; ] (* Warning categories. *) let wkey_alarm = register_warn_category "alarm" let wkey_locals_escaping = register_warn_category "locals-escaping" let wkey_garbled_mix_write = register_warn_category "garbled-mix:write" let () = set_warn_status wkey_garbled_mix_write Log.Wfeedback let wkey_garbled_mix_assigns = register_warn_category "garbled-mix:assigns" let () = set_warn_status wkey_garbled_mix_assigns Log.Wfeedback let wkey_garbled_mix_summary = register_warn_category "garbled-mix:summary" let () = set_warn_status wkey_garbled_mix_summary Log.Wfeedback let wkey_builtins_missing_spec = register_warn_category "builtins:missing-spec" let wkey_builtins_override = register_warn_category "builtins:override" let wkey_libc_unsupported_spec = register_warn_category "libc:unsupported-spec" let wkey_loop_unroll_auto = register_warn_category "loop-unroll:auto" let () = set_warn_status wkey_loop_unroll_auto Log.Wfeedback let wkey_loop_unroll_partial = register_warn_category "loop-unroll:partial" let () = set_warn_status wkey_loop_unroll_partial Log.Wfeedback let wkey_missing_loop_unroll = register_warn_category "loop-unroll:missing" let () = set_warn_status wkey_missing_loop_unroll Log.Winactive let wkey_missing_loop_unroll_for = register_warn_category "loop-unroll:missing:for" let () = set_warn_status wkey_missing_loop_unroll_for Log.Winactive let wkey_signed_overflow = register_warn_category "signed-overflow" let wkey_invalid_assigns = register_warn_category "invalid-assigns" let () = set_warn_status wkey_invalid_assigns Log.Wfeedback let wkey_experimental = register_warn_category "experimental" let wkey_unknown_size = register_warn_category "unknown-size" let wkey_ensures_false = register_warn_category "ensures-false" let wkey_watchpoint = register_warn_category "watchpoint" let () = set_warn_status wkey_watchpoint Log.Wfeedback
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>