123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384(****************************************************************************)(****************************************************************************)(* *)(* This file is part of MOPSA, a Modular Open Platform for Static Analysis. *)(* *)(* Copyright (C) 2017-2019 The MOPSA Project. *)(* *)(* This program is free software: 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, either version 3 of the License, or *)(* (at your option) any later version. *)(* *)(* This program 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. *)(* *)(* You should have received a copy of the GNU Lesser General Public License *)(* along with this program. If not, see <http://www.gnu.org/licenses/>. *)(* *)(****************************************************************************)(** Extended domains signatures used by combiners *)openCore.AllopenAbstraction.StatelessmoduletypeSTATELESS_COMBINER=sigincludeSTATELESSvaldomains:DomainSet.tvalsemantics:SemanticSet.tvalrouting_table:routing_tablevalexec:DomainSet.toption->stmt->('a,unit)man->'aflow->'apostoptionvaleval:DomainSet.toption->expr->('a,unit)man->'aflow->'aevaloptionvalask:DomainSet.toption->('a,'r)query->('a,unit)man->'aflow->('a,'r)casesoptionvalprint_expr:DomainSet.toption->('a,unit)man->'aflow->printer->expr->unitendmoduleStatelessToCombiner(D:STATELESS):STATELESS_COMBINER=structincludeDletdomains=DomainSet.singletonD.nameletsemantics=SemanticSet.emptyletrouting_table=empty_routing_tableletexectargets=D.execletevaltargets=D.evalletasktargets=D.askletprint_exprtargets=D.print_exprendmoduleCombinerToStateless(T:STATELESS_COMBINER):STATELESS=structincludeTletexecstmtmanflow=T.execNonestmtmanflowletevalexpmanflow=T.evalNoneexpmanflowletaskquerymanflow=T.askNonequerymanflowletprint_exprmanflowprintere=T.print_exprNonemanflowprintereendmoduleStatelessToDomain(S:STATELESS_COMBINER):Domain.DOMAIN_COMBINERwithtypet=unit=structincludeStypet=unitletbottom=()lettop=()letis_bottom()=falseletmerge___=()letprint__=()letsubset____=trueletjoin____=()letmeet____=()letwiden____=()letprint_state__()=()end