1234567891011121314151617181920212223242526272829303132333435363738394041(**************************************************************************)(* *)(* SPDX-License-Identifier LGPL-2.1 *)(* Copyright (C) *)(* CEA (Commissariat à l'énergie atomique et aux énergies alternatives) *)(* *)(**************************************************************************)includePlugin.Register(structletname="obfuscator"letshortname="obfuscator"lethelp="obfuscator for confidential code"end)moduleRun=False(structletoption_name="-obfuscate"lethelp="print an obfuscated version of the input files and exit.\n\
Disable any other Frama-C analysis."end)moduleDictionary=Empty_string(structletoption_name="-obfuscator-dictionary"letarg_name="f"lethelp="generate the dictionary into file <f> (on stdout by default)"end)moduleString_literal=Empty_string(structletoption_name="-obfuscator-string-dictionary"letarg_name="f"lethelp="generate the dictionary of literal strings into file <f> \
(in the same place than the code by default)"end)letstates=[Run.self;Dictionary.self;String_literal.self]