12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182(**************************************************************************)(* *)(* This file is part of Frama-C. *)(* *)(* Copyright (C) 2007-2023 *)(* 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)modulePragma=Kernel_function_set(structletoption_name="-impact-pragma"letarg_name="f1, ..., fn"lethelp="use the impact pragmas in the code of functions f1,...,fn"end)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(Pragma.is_empty())(*
Local Variables:
compile-command: "make -C ../../.."
End:
*)