package frama-c
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Platform dedicated to the analysis of source code written in C
Install
dune-project
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
-
SSylvain Chiron
-
LLoïc Correnson
-
JJulien Crétin
-
PPascal Cuoq
-
ZZaynah Dargaye
-
BBasile Desloges
-
JJean-Christophe Filliâtre
-
PPhilippe Herrmann
-
MMaxime Jacquemin
-
BBenjamin Jorge
-
FFlorent Kirchner
-
AAlexander Kogtenkov
-
RRemi Lazarini
-
TTristan Le Gall
-
KKilyan Le Gallic
-
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
-
CCécile Ruet-Cros
-
JJulien Signoles
-
FFabien Siron
-
NNicolas Stouls
-
HHugo Thievenaz
-
KKostyantyn Vorobyov
-
BBoris Yakobowski
Maintainers
Sources
frama-c-32.0-beta-Germanium.tar.gz
sha256=868d57ef8007fe6c0836cd151d8c294003af34aa678285eff9547662cad36aa3
doc/src/frama-c-instantiate.core/global_context.ml.html
Source file global_context.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(**************************************************************************) (* *) (* SPDX-License-Identifier LGPL-2.1 *) (* Copyright (C) *) (* CEA (Commissariat à l'énergie atomique et aux énergies alternatives) *) (* *) (**************************************************************************) module Table = Datatype.String.Hashtbl let varinfos = Table.create 13 let logic_functions = Table.create 13 let axiomatics = Table.create 13 let get_variable name make = if Table.mem varinfos name then Table.find varinfos name else begin try Globals.Vars.find_from_astinfo name Global with Not_found -> let vi = make () in Table.add varinfos name vi ; vi end let get_logic_function name make = if Table.mem logic_functions name then Table.find logic_functions name else begin match Logic_env.find_all_logic_functions name with | [] -> let li = make () in Table.add logic_functions name li ; Logic_utils.add_logic_function li ; li | [x] -> x | _ :: _ -> Options.not_yet_implemented "Logic function overloading" end let in_axiomatic_functions = Table.create 13 let get_logic_function_in_axiomatic name make = if Table.mem in_axiomatic_functions name then Table.find in_axiomatic_functions name else begin let make_then_find name = let open Cil_types in let (ax_name, ax_list), functions = make () in List.iter (fun f -> Table.add in_axiomatic_functions f.l_var_info.lv_name f ; Logic_utils.add_logic_function f) functions ; Table.add axiomatics ax_name ax_list ; Table.find in_axiomatic_functions name in try match Logic_env.find_all_logic_functions name with | [] -> make_then_find name | [x] -> x | _ :: _ -> Options.not_yet_implemented "Logic function overloading" with Not_found -> Options.fatal "Failed to build %s" name end let clear () = Table.clear varinfos let globals loc = let open Cil_types in let l = [] in let l = Table.fold (fun _ x l -> GVarDecl(x, loc) :: l) varinfos l in let annot x loc = GAnnot(x, loc) in let fun_or_pred x loc = annot (Dfun_or_pred (x, loc)) loc in let axiomatic name list loc = annot(Daxiomatic(name, list, [], loc)) loc in let l = Table.fold (fun _ x l -> fun_or_pred x loc :: l) logic_functions l in let l = Table.fold (fun n x l -> axiomatic n x loc :: l) axiomatics l in l
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>