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-wp.core/RegionAnalysis.ml.html
Source file RegionAnalysis.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(**************************************************************************) (* *) (* SPDX-License-Identifier LGPL-2.1 *) (* Copyright (C) *) (* CEA (Commissariat à l'énergie atomique et aux énergies alternatives) *) (* *) (**************************************************************************) (* -------------------------------------------------------------------------- *) (* --- Proxy to Region Analysis for Region Model --- *) (* -------------------------------------------------------------------------- *) type region = Region.node let get_map () = match WpContext.get_scope () with | Kf kf -> Region.map kf | Global -> Wp_parameters.not_yet_implemented "[region] logic context" let id = Region.id let of_id k = try Some (Region.of_id (get_map ()) k) with Invalid_argument _ -> None let pretty = Region.pretty let compare = Region.compare module R = struct type t = region let compare = compare let pretty = pretty end (* Keeping track of the decision to apply which memory model to each region *) module Kind = WpContext.Generator(R) (struct open MemRegion let name = "Wp.RegionAnalysis.Kind" type key = region type data = kind let kind r p = if Region.singleton r then Single p else Many p let compile r = match Region.typed r with | Some ty -> begin match Ctypes.object_of ty with | C_int i -> kind r (Int i) | C_float f -> kind r (Float f) | C_pointer _ -> kind r Ptr | _ -> Garbled end | None -> Garbled end) module Name = WpContext.Generator(R) (struct let name = "Wp.RegionAnalysis.Name" type key = region type data = string option let compile r = match Region.labels r with | label::_ -> Some label | [] -> match Region.cvars r with | v::_ -> Some v.vorig_name | _ -> None end) let kind = Kind.get let name = Name.get let points_to region = Region.points_to region let separated r1 r2 = Region.separated r1 r2 let included r1 r2 = Region.included r1 r2 let cvar var = try Some (Region.cvar (get_map ()) var) with Not_found -> None let field r fd = try Some (Region.field r fd) with Not_found -> None let shift r obj = try Some (Region.index r (Ctypes.object_to obj)) with Not_found -> None let literal ~eid _ = ignore eid ; None let footprint r = Region.footprint r
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>