123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475(**************************************************************************)(* This file is part of BINSEC. *)(* *)(* Copyright (C) 2016-2026 *)(* 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). *)(* *)(**************************************************************************)includeBinsec_baseincludeBinsec_kernelincludeBinsec_unixincludeBinsec_climoduleKernel_core=Kernel_coremoduleKernel_functions=Kernel_functionsmoduleKernel_options=Kernel_optionsmoduleFormula_options=Formula_optionsmoduleFormula_transformation=structincludeBinsec_smtlib.Formula.Transformationletoptimize_from_options?(keep=Smtlib.Formula.VarSet.empty)?is_controlledfm=letopenFormula_optionsinletcst=OptimAll.get()||OptimCst.get()inletitv=OptimAll.get()||OptimItv.get()inletprn=OptimAll.get()||OptimPrn.get()inletrbs=OptimAll.get()||OptimRbs.get()inletrow=OptimAll.get()||OptimRow.get()inletssa=OptimAll.get()||OptimSsa.get()inletlst=leti=OptimLst.get()inifi=0thenNoneelseSomeiinoptimize~keep?lst~cst~itv~prn~rbs~row~ssa?is_controlledfmendmoduleSmt_options=Smt_optionsmoduleSmtlib_to_formula=Smtlib_to_formulamoduleDba_options=Cli.Options_from_logger(Dba_logger)(structletname="DBA"letshortname="dba"end)moduleLoader_options=Cli.Options_from_logger(Loader_logger)(structletname="Loader"letshortname="loader"end)moduleIsa_options=Cli.Options_from_logger(Isa_logger)(structletname="ISA"letshortname="isa"end)