12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879(**************************************************************************)(* *)(* 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). *)(* *)(**************************************************************************)(* -------------------------------------------------------------------------- *)(* --- Plugin Registration --- *)(* -------------------------------------------------------------------------- *)includePlugin.Register(structletname="Alias Analysis"lethelp="Lightweight May-Alias Analysis (experimental)"letshortname="alias"end)moduleEnabled=False(structletoption_name="-alias"lethelp="Enable May-Alias Analyzer"end)moduleShowFunctionTable=False(structletoption_name="-alias-show-function-table"lethelp="display summary for each function at the end of the analysis"end)moduleShowStmtTable=False(structletoption_name="-alias-show-stmt-table"lethelp="display abstract state for each function at the end of the analysis"end)moduleDebugTable=False(structletoption_name="-alias-debug-table"lethelp="switch to debug mode when printing statement or function tables (with options -alias-show-stmt-table and -alias-show-function-table)"end)moduleDot_output=Empty_string(structletoption_name="-alias-dot-output"letarg_name="f"lethelp="output final abstract state as dot file <f>"end)moduleWarn=structletno_return_stmt=register_warn_category"no-return"letundefined_function=register_warn_category"undefined:fn"letunsupported_address=register_warn_category"unsupported:addr"letunsupported_asm=register_warn_category"unsupported:asm"letunsupported_function=register_warn_category"unsupported:fn"letunsafe_cast=register_warn_category"unsafe-cast"endmoduleDebugKeys=structletlvals=register_category"lvals"end