1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283(**************************************************************************)(* *)(* 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). *)(* *)(**************************************************************************)includePlugin.Register(structletname="impact"letshortname="impact"lethelp="impact analysis"end)moduleAnnot=Kernel_function_set(structletoption_name="-impact-annot"letarg_name="f1, ..., fn"lethelp="use the impact annotations in the code of functions f1,...,fn"end)let()=Annot.add_aliases~visible:false~deprecated:true["-impact-pragma"]modulePrint=False(structletoption_name="-impact-print"lethelp="print the impacted stmt"end)moduleReason=False(structletoption_name="-impact-graph"lethelp="build a graph that explains why a statement is in the set \
of impacted nodes"end)moduleSlicing=False(structletoption_name="-impact-slicing"lethelp="slice from the impacted stmt"end)moduleSkip=String_set(structletarg_name="v1,...,vn"lethelp="consider that those variables are not impacted"letoption_name="-impact-skip"end)let()=Parameter_customize.set_negative_option_name"-impact-not-in-callers"moduleUpward=True(structletoption_name="-impact-in-callers"lethelp="compute compute impact in callers as well as in callees"end)letis_on()=not(Annot.is_empty())(*
Local Variables:
compile-command: "make -C ../../.."
End:
*)