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/mthread/mt_cil.ml.html
Source file mt_cil.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) *) (* *) (**************************************************************************) open Cil_types let is_call_to_sync stmt = match stmt.skind with | Instr (Call (_, Var vi, _, _)) when vi.vname = "Frama_C_mthread_sync" -> true (* No Local_init possible here, as Frama_C_mthread_sync returns void. *) | _ -> false (* -------------------------------------------------------------------------- *) (* --- Pretty-printing --- *) (* -------------------------------------------------------------------------- *) let kinstr_to_source = function | Kglobal -> None | Kstmt stmt -> Some (fst (Cil_datatype.Stmt.loc stmt)) let pretty_succs fmt stmt = (Pretty_utils.pp_list ~sep:" " (fun fmt s -> Format.fprintf fmt "%d" s.sid)) fmt stmt.succs (* -------------------------------------------------------------------------- *) (* --- Stacks --- *) (* -------------------------------------------------------------------------- *) type stack_elt = kernel_function * kinstr module StackElt = struct include Datatype.Pair(Kernel_function)(Cil_datatype.Kinstr) let pretty fmt (f, ki) = Format.fprintf fmt "@[<hov 2>%s%t@]" (Ast_info.Function.get_name f.fundec) (fun fmt -> match ki with | Kstmt stmt -> let loc = Cil_datatype.Stmt.loc stmt in Format.fprintf fmt " :: %a" Cil_datatype.Location.pretty loc | Kglobal -> () ) end type stack = stack_elt list module Stack = struct include Datatype.List(StackElt) let pretty = Pretty_utils.pp_list ~pre:"@[<hv>" ~sep:" <-@ " ~suf:"@]" StackElt.pretty module FunAccessVars = State_builder.Option_ref(Cil_datatype.Kf) (struct let dependencies = [Ast.self] let name = "Stack.FunAccessVars" end) let fun_access_vars () = FunAccessVars.memo (fun () -> Cil_datatype.Kf.dummy) let access_to_var stmt : stack_elt = fun_access_vars (), Kstmt stmt let is_access_to_var (kf, _) = Kernel_function.equal kf (fun_access_vars ()) end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>