java -ea -Xmx8000000000 -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc ../../../trunk/examples/toolchains/AutomizerCInline_WitnessPrinter.xml -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Bitvector.epf -i ../../../trunk/examples/svcomp/ldv-regression/test06_false-unreach-call_true-termination.c -------------------------------------------------------------------------------- This is Ultimate 0.1.23-61f4311 [2018-11-23 11:06:59,600 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:06:59,602 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:06:59,614 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:06:59,615 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:06:59,616 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:06:59,617 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:06:59,619 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:06:59,621 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:06:59,621 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:06:59,622 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:06:59,623 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:06:59,624 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:06:59,625 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:06:59,626 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:06:59,627 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:06:59,628 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:06:59,629 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:06:59,632 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:06:59,633 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:06:59,634 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:06:59,636 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:06:59,641 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:06:59,642 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:06:59,642 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:06:59,648 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:06:59,649 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:06:59,650 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:06:59,653 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:06:59,654 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:06:59,654 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:06:59,656 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:06:59,657 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:06:59,657 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:06:59,658 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:06:59,659 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:06:59,659 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Bitvector.epf [2018-11-23 11:06:59,679 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:06:59,679 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:06:59,680 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 11:06:59,680 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 11:06:59,681 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:06:59,682 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:06:59,682 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:06:59,682 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:06:59,682 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:06:59,682 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:06:59,683 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:06:59,683 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 11:06:59,683 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 11:06:59,683 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 11:06:59,683 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 11:06:59,684 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 11:06:59,684 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:06:59,685 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:06:59,685 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:06:59,685 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 11:06:59,685 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:06:59,685 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:06:59,686 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 11:06:59,686 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 11:06:59,686 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:06:59,686 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:06:59,686 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 11:06:59,686 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 11:06:59,687 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 11:06:59,687 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 11:06:59,688 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 11:06:59,688 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 11:06:59,688 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 11:06:59,739 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:06:59,752 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:06:59,756 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:06:59,757 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:06:59,757 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:06:59,758 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-regression/test06_false-unreach-call_true-termination.c [2018-11-23 11:06:59,824 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/99d1f886c/42fb4a79828b49d6badeebf03b417472/FLAGca34ed0d9 [2018-11-23 11:07:00,324 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:07:00,325 INFO L161 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-regression/test06_false-unreach-call_true-termination.c [2018-11-23 11:07:00,333 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/99d1f886c/42fb4a79828b49d6badeebf03b417472/FLAGca34ed0d9 [2018-11-23 11:07:00,662 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/99d1f886c/42fb4a79828b49d6badeebf03b417472 [2018-11-23 11:07:00,673 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:07:00,675 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:07:00,676 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:07:00,677 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:07:00,681 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:07:00,682 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:07:00" (1/1) ... [2018-11-23 11:07:00,686 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@b15a6cd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:00, skipping insertion in model container [2018-11-23 11:07:00,687 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:07:00" (1/1) ... [2018-11-23 11:07:00,697 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:07:00,725 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:07:00,955 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:07:00,978 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:07:01,012 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:07:01,039 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:07:01,040 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01 WrapperNode [2018-11-23 11:07:01,040 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:07:01,041 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:07:01,041 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:07:01,041 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:07:01,053 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... [2018-11-23 11:07:01,066 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... [2018-11-23 11:07:01,077 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:07:01,077 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:07:01,077 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:07:01,078 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:07:01,089 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... [2018-11-23 11:07:01,089 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... [2018-11-23 11:07:01,095 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... [2018-11-23 11:07:01,095 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... [2018-11-23 11:07:01,125 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... [2018-11-23 11:07:01,131 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... [2018-11-23 11:07:01,134 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... [2018-11-23 11:07:01,146 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:07:01,146 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:07:01,146 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:07:01,147 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:07:01,148 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:07:01,317 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 11:07:01,317 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 11:07:01,317 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 11:07:01,317 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:07:01,317 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 11:07:01,318 INFO L130 BoogieDeclarations]: Found specification of procedure f [2018-11-23 11:07:01,318 INFO L138 BoogieDeclarations]: Found implementation of procedure f [2018-11-23 11:07:01,318 INFO L130 BoogieDeclarations]: Found specification of procedure g [2018-11-23 11:07:01,318 INFO L138 BoogieDeclarations]: Found implementation of procedure g [2018-11-23 11:07:01,318 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:07:01,318 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:07:01,319 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 11:07:01,319 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 11:07:01,319 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 11:07:01,319 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 11:07:01,319 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 11:07:02,276 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:07:02,276 INFO L280 CfgBuilder]: Removed 0 assue(true) statements. [2018-11-23 11:07:02,277 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:07:02 BoogieIcfgContainer [2018-11-23 11:07:02,277 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:07:02,278 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 11:07:02,278 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 11:07:02,282 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 11:07:02,282 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 11:07:00" (1/3) ... [2018-11-23 11:07:02,283 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2da55a1c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:07:02, skipping insertion in model container [2018-11-23 11:07:02,284 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:01" (2/3) ... [2018-11-23 11:07:02,284 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2da55a1c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:07:02, skipping insertion in model container [2018-11-23 11:07:02,284 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:07:02" (3/3) ... [2018-11-23 11:07:02,286 INFO L112 eAbstractionObserver]: Analyzing ICFG test06_false-unreach-call_true-termination.c [2018-11-23 11:07:02,298 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 11:07:02,307 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 11:07:02,326 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 11:07:02,360 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:07:02,361 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 11:07:02,361 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 11:07:02,361 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 11:07:02,362 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:07:02,362 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:07:02,362 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 11:07:02,362 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:07:02,363 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 11:07:02,379 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states. [2018-11-23 11:07:02,385 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-11-23 11:07:02,386 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:02,387 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:02,389 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:02,395 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:02,396 INFO L82 PathProgramCache]: Analyzing trace with hash -1199829752, now seen corresponding path program 1 times [2018-11-23 11:07:02,401 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:02,402 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 2 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:07:02,430 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:07:02,496 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:02,529 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:02,534 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:07:03,037 INFO L256 TraceCheckUtils]: 0: Hoare triple {27#true} call ULTIMATE.init(); {27#true} is VALID [2018-11-23 11:07:03,042 INFO L273 TraceCheckUtils]: 1: Hoare triple {27#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {27#true} is VALID [2018-11-23 11:07:03,043 INFO L273 TraceCheckUtils]: 2: Hoare triple {27#true} assume true; {27#true} is VALID [2018-11-23 11:07:03,044 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {27#true} {27#true} #29#return; {27#true} is VALID [2018-11-23 11:07:03,044 INFO L256 TraceCheckUtils]: 4: Hoare triple {27#true} call #t~ret8 := main(); {27#true} is VALID [2018-11-23 11:07:03,049 INFO L273 TraceCheckUtils]: 5: Hoare triple {27#true} call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4bv32);call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4bv32);call ~#p1~0.base, ~#p1~0.offset := #Ultimate.alloc(4bv32);call ~#p2~0.base, ~#p2~0.offset := #Ultimate.alloc(4bv32);call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4bv32);call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4bv32);call write~intINTTYPE4(1bv32, ~#b~0.base, ~#b~0.offset, 4bv32);call write~intINTTYPE4(5bv32, ~#a~0.base, ~#a~0.offset, 4bv32);call #t~mem2 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32);#t~post3 := #t~mem2;call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0.base, ~#a~0.offset, 4bv32);havoc #t~post3;havoc #t~mem2;call #t~mem4 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); {47#(= (_ bv4 32) |main_#t~mem4|)} is VALID [2018-11-23 11:07:03,050 INFO L256 TraceCheckUtils]: 6: Hoare triple {47#(= (_ bv4 32) |main_#t~mem4|)} call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); {27#true} is VALID [2018-11-23 11:07:03,051 INFO L273 TraceCheckUtils]: 7: Hoare triple {27#true} ~a := #in~a;~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; {54#(= |f_#in~a| f_~a)} is VALID [2018-11-23 11:07:03,054 INFO L273 TraceCheckUtils]: 8: Hoare triple {54#(= |f_#in~a| f_~a)} assume !(4bv32 == ~a);#res := 0bv32; {58#(not (= (bvadd |f_#in~a| (_ bv4294967292 32)) (_ bv0 32)))} is VALID [2018-11-23 11:07:03,054 INFO L273 TraceCheckUtils]: 9: Hoare triple {58#(not (= (bvadd |f_#in~a| (_ bv4294967292 32)) (_ bv0 32)))} assume true; {58#(not (= (bvadd |f_#in~a| (_ bv4294967292 32)) (_ bv0 32)))} is VALID [2018-11-23 11:07:03,065 INFO L268 TraceCheckUtils]: 10: Hoare quadruple {58#(not (= (bvadd |f_#in~a| (_ bv4294967292 32)) (_ bv0 32)))} {47#(= (_ bv4 32) |main_#t~mem4|)} #33#return; {28#false} is VALID [2018-11-23 11:07:03,066 INFO L273 TraceCheckUtils]: 11: Hoare triple {28#false} call write~intINTTYPE4(#t~ret5, ~#a~0.base, ~#a~0.offset, 4bv32);havoc #t~ret5;havoc #t~mem4;call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~#p1~0.base, ~#p1~0.offset, 4bv32);call #t~mem7 := read~intINTTYPE4(#t~mem6.base, #t~mem6.offset, 4bv32); {28#false} is VALID [2018-11-23 11:07:03,066 INFO L273 TraceCheckUtils]: 12: Hoare triple {28#false} assume 0bv32 == #t~mem7;havoc #t~mem6.base, #t~mem6.offset;havoc #t~mem7; {28#false} is VALID [2018-11-23 11:07:03,067 INFO L273 TraceCheckUtils]: 13: Hoare triple {28#false} assume !false; {28#false} is VALID [2018-11-23 11:07:03,070 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:07:03,071 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:07:03,078 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:07:03,078 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-11-23 11:07:03,086 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 14 [2018-11-23 11:07:03,090 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:07:03,095 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states. [2018-11-23 11:07:03,167 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 14 edges. 14 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:03,168 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-23 11:07:03,177 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 11:07:03,177 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-11-23 11:07:03,180 INFO L87 Difference]: Start difference. First operand 24 states. Second operand 5 states. [2018-11-23 11:07:04,847 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:04,847 INFO L93 Difference]: Finished difference Result 34 states and 35 transitions. [2018-11-23 11:07:04,847 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 11:07:04,848 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 14 [2018-11-23 11:07:04,848 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:07:04,849 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-23 11:07:04,864 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 35 transitions. [2018-11-23 11:07:04,865 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-23 11:07:04,870 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 35 transitions. [2018-11-23 11:07:04,870 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 35 transitions. [2018-11-23 11:07:05,200 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 35 edges. 35 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:05,221 INFO L225 Difference]: With dead ends: 34 [2018-11-23 11:07:05,221 INFO L226 Difference]: Without dead ends: 20 [2018-11-23 11:07:05,229 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 10 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2018-11-23 11:07:05,252 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 20 states. [2018-11-23 11:07:05,318 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 20 to 20. [2018-11-23 11:07:05,319 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:07:05,320 INFO L82 GeneralOperation]: Start isEquivalent. First operand 20 states. Second operand 20 states. [2018-11-23 11:07:05,321 INFO L74 IsIncluded]: Start isIncluded. First operand 20 states. Second operand 20 states. [2018-11-23 11:07:05,321 INFO L87 Difference]: Start difference. First operand 20 states. Second operand 20 states. [2018-11-23 11:07:05,325 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:05,326 INFO L93 Difference]: Finished difference Result 20 states and 19 transitions. [2018-11-23 11:07:05,326 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 19 transitions. [2018-11-23 11:07:05,327 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:05,327 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:05,327 INFO L74 IsIncluded]: Start isIncluded. First operand 20 states. Second operand 20 states. [2018-11-23 11:07:05,327 INFO L87 Difference]: Start difference. First operand 20 states. Second operand 20 states. [2018-11-23 11:07:05,331 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:05,331 INFO L93 Difference]: Finished difference Result 20 states and 19 transitions. [2018-11-23 11:07:05,331 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 19 transitions. [2018-11-23 11:07:05,332 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:05,332 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:05,332 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:07:05,333 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:07:05,333 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 20 states. [2018-11-23 11:07:05,335 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 19 transitions. [2018-11-23 11:07:05,337 INFO L78 Accepts]: Start accepts. Automaton has 20 states and 19 transitions. Word has length 14 [2018-11-23 11:07:05,337 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:07:05,338 INFO L480 AbstractCegarLoop]: Abstraction has 20 states and 19 transitions. [2018-11-23 11:07:05,338 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-23 11:07:05,338 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 19 transitions. [2018-11-23 11:07:05,339 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2018-11-23 11:07:05,339 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:05,339 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:05,339 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:05,339 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:05,340 INFO L82 PathProgramCache]: Analyzing trace with hash -2114164890, now seen corresponding path program 1 times [2018-11-23 11:07:05,341 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:05,341 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 3 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:07:05,359 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:07:05,428 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:07:05,500 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [MP cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (3)] Exception during sending of exit command (exit): Broken pipe [2018-11-23 11:07:05,541 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv2 32), |#NULL.offset|=(_ bv3 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] RET #29#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret8 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4bv32);call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4bv32);call ~#p1~0.base, ~#p1~0.offset := #Ultimate.alloc(4bv32);call ~#p2~0.base, ~#p2~0.offset := #Ultimate.alloc(4bv32);call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4bv32);call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4bv32);call write~intINTTYPE4(1bv32, ~#b~0.base, ~#b~0.offset, 4bv32);call write~intINTTYPE4(5bv32, ~#a~0.base, ~#a~0.offset, 4bv32);call #t~mem2 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32);#t~post3 := #t~mem2;call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0.base, ~#a~0.offset, 4bv32);havoc #t~post3;havoc #t~mem2;call #t~mem4 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem4|=(_ bv4 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32)] [?] ~a := #in~a;~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32)] [?] assume 4bv32 == ~a; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32)] [?] CALL call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |g_#in~p1.base|=(_ bv15 32), |g_#in~p1.offset|=(_ bv0 32), |g_#in~p2.base|=(_ bv14 32), |g_#in~p2.offset|=(_ bv0 32)] [?] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32);~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset;havoc #t~mem0.base, #t~mem0.offset;call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32);call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4bv32);havoc #t~mem1.base, #t~mem1.offset;call write~intINTTYPE4(0bv32, ~pq~0.base, ~pq~0.offset, 4bv32); VAL [g_~p1.base=(_ bv15 32), g_~p1.offset=(_ bv0 32), g_~p2.base=(_ bv14 32), g_~p2.offset=(_ bv0 32), g_~pq~0.base=(_ bv17 32), g_~pq~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |g_#in~p1.base|=(_ bv15 32), |g_#in~p1.offset|=(_ bv0 32), |g_#in~p2.base|=(_ bv14 32), |g_#in~p2.offset|=(_ bv0 32)] [?] assume true; VAL [g_~p1.base=(_ bv15 32), g_~p1.offset=(_ bv0 32), g_~p2.base=(_ bv14 32), g_~p2.offset=(_ bv0 32), g_~pq~0.base=(_ bv17 32), g_~pq~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |g_#in~p1.base|=(_ bv15 32), |g_#in~p1.offset|=(_ bv0 32), |g_#in~p2.base|=(_ bv14 32), |g_#in~p2.offset|=(_ bv0 32)] [?] RET #27#return; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32)] [?] #res := 1bv32; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32), |f_#res|=(_ bv1 32)] [?] assume true; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32), |f_#res|=(_ bv1 32)] [?] RET #33#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem4|=(_ bv4 32), |main_#t~ret5|=(_ bv1 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(#t~ret5, ~#a~0.base, ~#a~0.offset, 4bv32);havoc #t~ret5;havoc #t~mem4;call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~#p1~0.base, ~#p1~0.offset, 4bv32);call #t~mem7 := read~intINTTYPE4(#t~mem6.base, #t~mem6.offset, 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem6.base|=(_ bv17 32), |main_#t~mem6.offset|=(_ bv0 32), |main_#t~mem7|=(_ bv0 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] assume 0bv32 == #t~mem7;havoc #t~mem6.base, #t~mem6.offset;havoc #t~mem7; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] assume !false; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=2bv32, #NULL.offset=3bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L21] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4bv32); [L21] call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4bv32); [L22] call ~#p1~0.base, ~#p1~0.offset := #Ultimate.alloc(4bv32); [L22] call ~#p2~0.base, ~#p2~0.offset := #Ultimate.alloc(4bv32); [L24] call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4bv32); [L25] call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4bv32); [L27] call write~intINTTYPE4(1bv32, ~#b~0.base, ~#b~0.offset, 4bv32); [L28] call write~intINTTYPE4(5bv32, ~#a~0.base, ~#a~0.offset, 4bv32); [L30] call #t~mem2 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); [L30] #t~post3 := #t~mem2; [L30] call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0.base, ~#a~0.offset, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] call #t~mem4 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4=4bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset; [L11-L18] ~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L12-L17] assume 4bv32 == ~a; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L13] CALL call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L4-L9] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset; [L4-L9] ~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; [L5] call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32); [L5] ~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset; [L5] havoc #t~mem0.base, #t~mem0.offset; [L7] call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32); [L7] call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4bv32); [L7] havoc #t~mem1.base, #t~mem1.offset; [L8] call write~intINTTYPE4(0bv32, ~pq~0.base, ~pq~0.offset, 4bv32); VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32, ~pq~0.base=17bv32, ~pq~0.offset=0bv32] [L4-L9] ensures true; VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32, ~pq~0.base=17bv32, ~pq~0.offset=0bv32] [L13] RET call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L11-L18] ensures true; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L32] call write~intINTTYPE4(#t~ret5, ~#a~0.base, ~#a~0.offset, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~#p1~0.base, ~#p1~0.offset, 4bv32); [L34] call #t~mem7 := read~intINTTYPE4(#t~mem6.base, #t~mem6.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=17bv32, #t~mem6.offset=0bv32, #t~mem7=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L34-L36] assume 0bv32 == #t~mem7; [L34] havoc #t~mem6.base, #t~mem6.offset; [L34] havoc #t~mem7; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L40] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=2bv32, #NULL.offset=3bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L21] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4bv32); [L21] call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4bv32); [L22] call ~#p1~0.base, ~#p1~0.offset := #Ultimate.alloc(4bv32); [L22] call ~#p2~0.base, ~#p2~0.offset := #Ultimate.alloc(4bv32); [L24] call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4bv32); [L25] call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4bv32); [L27] call write~intINTTYPE4(1bv32, ~#b~0.base, ~#b~0.offset, 4bv32); [L28] call write~intINTTYPE4(5bv32, ~#a~0.base, ~#a~0.offset, 4bv32); [L30] call #t~mem2 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); [L30] #t~post3 := #t~mem2; [L30] call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0.base, ~#a~0.offset, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] call #t~mem4 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4=4bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset; [L11-L18] ~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L12-L17] assume 4bv32 == ~a; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L13] CALL call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L4-L9] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset; [L4-L9] ~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; [L5] call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32); [L5] ~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset; [L5] havoc #t~mem0.base, #t~mem0.offset; [L7] call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32); [L7] call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4bv32); [L7] havoc #t~mem1.base, #t~mem1.offset; [L8] call write~intINTTYPE4(0bv32, ~pq~0.base, ~pq~0.offset, 4bv32); VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32, ~pq~0.base=17bv32, ~pq~0.offset=0bv32] [L4-L9] ensures true; VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32, ~pq~0.base=17bv32, ~pq~0.offset=0bv32] [L13] RET call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L11-L18] ensures true; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L32] call write~intINTTYPE4(#t~ret5, ~#a~0.base, ~#a~0.offset, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~#p1~0.base, ~#p1~0.offset, 4bv32); [L34] call #t~mem7 := read~intINTTYPE4(#t~mem6.base, #t~mem6.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=17bv32, #t~mem6.offset=0bv32, #t~mem7=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L34-L36] assume 0bv32 == #t~mem7; [L34] havoc #t~mem6.base, #t~mem6.offset; [L34] havoc #t~mem7; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L40] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L21] FCALL call ~#a~0 := #Ultimate.alloc(4bv32); [L21] FCALL call ~#b~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p1~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p2~0 := #Ultimate.alloc(4bv32); [L24] FCALL call write~$Pointer$(~#a~0, ~#p1~0, 4bv32); [L25] FCALL call write~$Pointer$(~#b~0, ~#p2~0, 4bv32); [L27] FCALL call write~intINTTYPE4(1bv32, ~#b~0, 4bv32); [L28] FCALL call write~intINTTYPE4(5bv32, ~#a~0, 4bv32); [L30] FCALL call #t~mem2 := read~intINTTYPE4(~#a~0, 4bv32); [L30] #t~post3 := #t~mem2; [L30] FCALL call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] FCALL call #t~mem4 := read~intINTTYPE4(~#a~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1 := #in~p1; [L11-L18] ~p2 := #in~p2; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L12] COND TRUE 4bv32 == ~a VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L13] CALL call g(~p1, ~p2); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L4-L9] ~p1 := #in~p1; [L4-L9] ~p2 := #in~p2; [L5] FCALL call #t~mem0 := read~$Pointer$(~p2, 4bv32); [L5] ~pq~0 := #t~mem0; [L5] havoc #t~mem0; [L7] FCALL call #t~mem1 := read~$Pointer$(~p2, 4bv32); [L7] FCALL call write~$Pointer$(#t~mem1, ~p1, 4bv32); [L7] havoc #t~mem1; [L8] FCALL call write~intINTTYPE4(0bv32, ~pq~0, 4bv32); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32, ~pq~0!base=17bv32, ~pq~0!offset=0bv32] [L13] RET call g(~p1, ~p2); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] FCALL call write~intINTTYPE4(#t~ret5, ~#a~0, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] FCALL call #t~mem6 := read~$Pointer$(~#p1~0, 4bv32); [L34] FCALL call #t~mem7 := read~intINTTYPE4(#t~mem6, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=17bv32, #t~mem6!offset=0bv32, #t~mem7=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L34] COND TRUE 0bv32 == #t~mem7 [L34] havoc #t~mem6; [L34] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L40] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L21] FCALL call ~#a~0 := #Ultimate.alloc(4bv32); [L21] FCALL call ~#b~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p1~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p2~0 := #Ultimate.alloc(4bv32); [L24] FCALL call write~$Pointer$(~#a~0, ~#p1~0, 4bv32); [L25] FCALL call write~$Pointer$(~#b~0, ~#p2~0, 4bv32); [L27] FCALL call write~intINTTYPE4(1bv32, ~#b~0, 4bv32); [L28] FCALL call write~intINTTYPE4(5bv32, ~#a~0, 4bv32); [L30] FCALL call #t~mem2 := read~intINTTYPE4(~#a~0, 4bv32); [L30] #t~post3 := #t~mem2; [L30] FCALL call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] FCALL call #t~mem4 := read~intINTTYPE4(~#a~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1 := #in~p1; [L11-L18] ~p2 := #in~p2; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L12] COND TRUE 4bv32 == ~a VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L13] CALL call g(~p1, ~p2); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L4-L9] ~p1 := #in~p1; [L4-L9] ~p2 := #in~p2; [L5] FCALL call #t~mem0 := read~$Pointer$(~p2, 4bv32); [L5] ~pq~0 := #t~mem0; [L5] havoc #t~mem0; [L7] FCALL call #t~mem1 := read~$Pointer$(~p2, 4bv32); [L7] FCALL call write~$Pointer$(#t~mem1, ~p1, 4bv32); [L7] havoc #t~mem1; [L8] FCALL call write~intINTTYPE4(0bv32, ~pq~0, 4bv32); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32, ~pq~0!base=17bv32, ~pq~0!offset=0bv32] [L13] RET call g(~p1, ~p2); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] FCALL call write~intINTTYPE4(#t~ret5, ~#a~0, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] FCALL call #t~mem6 := read~$Pointer$(~#p1~0, 4bv32); [L34] FCALL call #t~mem7 := read~intINTTYPE4(#t~mem6, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=17bv32, #t~mem6!offset=0bv32, #t~mem7=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L34] COND TRUE 0bv32 == #t~mem7 [L34] havoc #t~mem6; [L34] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L40] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L21] FCALL call ~#a~0 := #Ultimate.alloc(4bv32); [L21] FCALL call ~#b~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p1~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p2~0 := #Ultimate.alloc(4bv32); [L24] FCALL call write~$Pointer$(~#a~0, ~#p1~0, 4bv32); [L25] FCALL call write~$Pointer$(~#b~0, ~#p2~0, 4bv32); [L27] FCALL call write~intINTTYPE4(1bv32, ~#b~0, 4bv32); [L28] FCALL call write~intINTTYPE4(5bv32, ~#a~0, 4bv32); [L30] FCALL call #t~mem2 := read~intINTTYPE4(~#a~0, 4bv32); [L30] #t~post3 := #t~mem2; [L30] FCALL call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] FCALL call #t~mem4 := read~intINTTYPE4(~#a~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1 := #in~p1; [L11-L18] ~p2 := #in~p2; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L12] COND TRUE 4bv32 == ~a VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L13] CALL call g(~p1, ~p2); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L4-L9] ~p1 := #in~p1; [L4-L9] ~p2 := #in~p2; [L5] FCALL call #t~mem0 := read~$Pointer$(~p2, 4bv32); [L5] ~pq~0 := #t~mem0; [L5] havoc #t~mem0; [L7] FCALL call #t~mem1 := read~$Pointer$(~p2, 4bv32); [L7] FCALL call write~$Pointer$(#t~mem1, ~p1, 4bv32); [L7] havoc #t~mem1; [L8] FCALL call write~intINTTYPE4(0bv32, ~pq~0, 4bv32); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32, ~pq~0!base=17bv32, ~pq~0!offset=0bv32] [L13] RET call g(~p1, ~p2); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] FCALL call write~intINTTYPE4(#t~ret5, ~#a~0, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] FCALL call #t~mem6 := read~$Pointer$(~#p1~0, 4bv32); [L34] FCALL call #t~mem7 := read~intINTTYPE4(#t~mem6, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=17bv32, #t~mem6!offset=0bv32, #t~mem7=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L34] COND TRUE 0bv32 == #t~mem7 [L34] havoc #t~mem6; [L34] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L40] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L21] FCALL call ~#a~0 := #Ultimate.alloc(4bv32); [L21] FCALL call ~#b~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p1~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p2~0 := #Ultimate.alloc(4bv32); [L24] FCALL call write~$Pointer$(~#a~0, ~#p1~0, 4bv32); [L25] FCALL call write~$Pointer$(~#b~0, ~#p2~0, 4bv32); [L27] FCALL call write~intINTTYPE4(1bv32, ~#b~0, 4bv32); [L28] FCALL call write~intINTTYPE4(5bv32, ~#a~0, 4bv32); [L30] FCALL call #t~mem2 := read~intINTTYPE4(~#a~0, 4bv32); [L30] #t~post3 := #t~mem2; [L30] FCALL call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] FCALL call #t~mem4 := read~intINTTYPE4(~#a~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1 := #in~p1; [L11-L18] ~p2 := #in~p2; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L12] COND TRUE 4bv32 == ~a VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L13] CALL call g(~p1, ~p2); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L4-L9] ~p1 := #in~p1; [L4-L9] ~p2 := #in~p2; [L5] FCALL call #t~mem0 := read~$Pointer$(~p2, 4bv32); [L5] ~pq~0 := #t~mem0; [L5] havoc #t~mem0; [L7] FCALL call #t~mem1 := read~$Pointer$(~p2, 4bv32); [L7] FCALL call write~$Pointer$(#t~mem1, ~p1, 4bv32); [L7] havoc #t~mem1; [L8] FCALL call write~intINTTYPE4(0bv32, ~pq~0, 4bv32); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32, ~pq~0!base=17bv32, ~pq~0!offset=0bv32] [L13] RET call g(~p1, ~p2); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] FCALL call write~intINTTYPE4(#t~ret5, ~#a~0, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] FCALL call #t~mem6 := read~$Pointer$(~#p1~0, 4bv32); [L34] FCALL call #t~mem7 := read~intINTTYPE4(#t~mem6, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=17bv32, #t~mem6!offset=0bv32, #t~mem7=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L34] COND TRUE 0bv32 == #t~mem7 [L34] havoc #t~mem6; [L34] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L40] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L21] int a, b; [L22] int *p1, *p2; [L24] p1 = &a [L25] p2 = &b [L27] b = 1 [L28] a = 5 [L30] EXPR \read(a) [L30] a-- [L32] EXPR \read(a) VAL [\read(a)=4, a={5:0}, b={17:0}, p1={15:0}, p2={14:0}] [L32] CALL, EXPR f(a, &p1, &p2) VAL [\old(a)=4, p1={15:0}, p2={14:0}] [L12] COND TRUE a == 4 VAL [\old(a)=4, a=4, p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}] [L13] CALL g(p1, p2) VAL [p1={15:0}, p2={14:0}] [L5] EXPR \read(**p2) [L5] int *pq = *p2; [L7] EXPR \read(**p2) [L7] *p1 = *p2 [L8] *pq = 0 VAL [p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}, pq={17:0}] [L13] RET g(p1, p2) VAL [\old(a)=4, a=4, p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}] [L14] return 1; VAL [\old(a)=4, \result=1, a=4, p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}] [L32] RET, EXPR f(a, &p1, &p2) VAL [\read(a)=4, a={5:0}, b={17:0}, f(a, &p1, &p2)=1, p1={15:0}, p2={14:0}] [L32] a = f(a, &p1, &p2) [L34] EXPR \read(*p1) VAL [\read(*p1)={17:0}, \read(*p1)=0, a={5:0}, b={17:0}, p1={15:0}, p2={14:0}] [L34] COND TRUE *p1 == 0 [L40] __VERIFIER_error() VAL [a={5:0}, b={17:0}, p1={15:0}, p2={14:0}] ----- [2018-11-23 11:07:05,710 WARN L170 areAnnotationChecker]: ULTIMATE.initENTRY has no Hoare annotation [2018-11-23 11:07:05,713 WARN L170 areAnnotationChecker]: fENTRY has no Hoare annotation [2018-11-23 11:07:05,713 WARN L170 areAnnotationChecker]: gENTRY has no Hoare annotation [2018-11-23 11:07:05,713 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:07:05,713 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:07:05,713 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:07:05,714 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2018-11-23 11:07:05,714 WARN L170 areAnnotationChecker]: L12 has no Hoare annotation [2018-11-23 11:07:05,714 WARN L170 areAnnotationChecker]: L12 has no Hoare annotation [2018-11-23 11:07:05,714 WARN L170 areAnnotationChecker]: gFINAL has no Hoare annotation [2018-11-23 11:07:05,714 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:07:05,714 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:07:05,715 WARN L170 areAnnotationChecker]: L32 has no Hoare annotation [2018-11-23 11:07:05,715 WARN L170 areAnnotationChecker]: L32 has no Hoare annotation [2018-11-23 11:07:05,715 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2018-11-23 11:07:05,715 WARN L170 areAnnotationChecker]: L13 has no Hoare annotation [2018-11-23 11:07:05,715 WARN L170 areAnnotationChecker]: L13 has no Hoare annotation [2018-11-23 11:07:05,715 WARN L170 areAnnotationChecker]: fFINAL has no Hoare annotation [2018-11-23 11:07:05,715 WARN L170 areAnnotationChecker]: gEXIT has no Hoare annotation [2018-11-23 11:07:05,719 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2018-11-23 11:07:05,719 WARN L170 areAnnotationChecker]: L32-1 has no Hoare annotation [2018-11-23 11:07:05,719 WARN L170 areAnnotationChecker]: L13-1 has no Hoare annotation [2018-11-23 11:07:05,719 WARN L170 areAnnotationChecker]: fEXIT has no Hoare annotation [2018-11-23 11:07:05,720 WARN L170 areAnnotationChecker]: L34 has no Hoare annotation [2018-11-23 11:07:05,720 WARN L170 areAnnotationChecker]: L34 has no Hoare annotation [2018-11-23 11:07:05,720 WARN L170 areAnnotationChecker]: L35 has no Hoare annotation [2018-11-23 11:07:05,720 WARN L170 areAnnotationChecker]: L35 has no Hoare annotation [2018-11-23 11:07:05,720 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2018-11-23 11:07:05,720 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2018-11-23 11:07:05,720 INFO L163 areAnnotationChecker]: CFG has 0 edges. 0 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. 0 times interpolants missing. [2018-11-23 11:07:05,727 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 11:07:05 BoogieIcfgContainer [2018-11-23 11:07:05,727 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 11:07:05,728 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:07:05,728 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:07:05,728 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:07:05,729 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:07:02" (3/4) ... [2018-11-23 11:07:05,738 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv2 32), |#NULL.offset|=(_ bv3 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv2 32), |old(#NULL.offset)|=(_ bv3 32)] [?] RET #29#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret8 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4bv32);call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4bv32);call ~#p1~0.base, ~#p1~0.offset := #Ultimate.alloc(4bv32);call ~#p2~0.base, ~#p2~0.offset := #Ultimate.alloc(4bv32);call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4bv32);call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4bv32);call write~intINTTYPE4(1bv32, ~#b~0.base, ~#b~0.offset, 4bv32);call write~intINTTYPE4(5bv32, ~#a~0.base, ~#a~0.offset, 4bv32);call #t~mem2 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32);#t~post3 := #t~mem2;call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0.base, ~#a~0.offset, 4bv32);havoc #t~post3;havoc #t~mem2;call #t~mem4 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem4|=(_ bv4 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32)] [?] ~a := #in~a;~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32)] [?] assume 4bv32 == ~a; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32)] [?] CALL call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |g_#in~p1.base|=(_ bv15 32), |g_#in~p1.offset|=(_ bv0 32), |g_#in~p2.base|=(_ bv14 32), |g_#in~p2.offset|=(_ bv0 32)] [?] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32);~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset;havoc #t~mem0.base, #t~mem0.offset;call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32);call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4bv32);havoc #t~mem1.base, #t~mem1.offset;call write~intINTTYPE4(0bv32, ~pq~0.base, ~pq~0.offset, 4bv32); VAL [g_~p1.base=(_ bv15 32), g_~p1.offset=(_ bv0 32), g_~p2.base=(_ bv14 32), g_~p2.offset=(_ bv0 32), g_~pq~0.base=(_ bv17 32), g_~pq~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |g_#in~p1.base|=(_ bv15 32), |g_#in~p1.offset|=(_ bv0 32), |g_#in~p2.base|=(_ bv14 32), |g_#in~p2.offset|=(_ bv0 32)] [?] assume true; VAL [g_~p1.base=(_ bv15 32), g_~p1.offset=(_ bv0 32), g_~p2.base=(_ bv14 32), g_~p2.offset=(_ bv0 32), g_~pq~0.base=(_ bv17 32), g_~pq~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |g_#in~p1.base|=(_ bv15 32), |g_#in~p1.offset|=(_ bv0 32), |g_#in~p2.base|=(_ bv14 32), |g_#in~p2.offset|=(_ bv0 32)] [?] RET #27#return; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32)] [?] #res := 1bv32; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32), |f_#res|=(_ bv1 32)] [?] assume true; VAL [f_~a=(_ bv4 32), f_~p1.base=(_ bv15 32), f_~p1.offset=(_ bv0 32), f_~p2.base=(_ bv14 32), f_~p2.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |f_#in~a|=(_ bv4 32), |f_#in~p1.base|=(_ bv15 32), |f_#in~p1.offset|=(_ bv0 32), |f_#in~p2.base|=(_ bv14 32), |f_#in~p2.offset|=(_ bv0 32), |f_#res|=(_ bv1 32)] [?] RET #33#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem4|=(_ bv4 32), |main_#t~ret5|=(_ bv1 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(#t~ret5, ~#a~0.base, ~#a~0.offset, 4bv32);havoc #t~ret5;havoc #t~mem4;call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~#p1~0.base, ~#p1~0.offset, 4bv32);call #t~mem7 := read~intINTTYPE4(#t~mem6.base, #t~mem6.offset, 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem6.base|=(_ bv17 32), |main_#t~mem6.offset|=(_ bv0 32), |main_#t~mem7|=(_ bv0 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] assume 0bv32 == #t~mem7;havoc #t~mem6.base, #t~mem6.offset;havoc #t~mem7; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] assume !false; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv5 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#b~0.base|=(_ bv17 32), |main_~#b~0.offset|=(_ bv0 32), |main_~#p1~0.base|=(_ bv15 32), |main_~#p1~0.offset|=(_ bv0 32), |main_~#p2~0.base|=(_ bv14 32), |main_~#p2~0.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=2bv32, #NULL.offset=3bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L21] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4bv32); [L21] call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4bv32); [L22] call ~#p1~0.base, ~#p1~0.offset := #Ultimate.alloc(4bv32); [L22] call ~#p2~0.base, ~#p2~0.offset := #Ultimate.alloc(4bv32); [L24] call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4bv32); [L25] call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4bv32); [L27] call write~intINTTYPE4(1bv32, ~#b~0.base, ~#b~0.offset, 4bv32); [L28] call write~intINTTYPE4(5bv32, ~#a~0.base, ~#a~0.offset, 4bv32); [L30] call #t~mem2 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); [L30] #t~post3 := #t~mem2; [L30] call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0.base, ~#a~0.offset, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] call #t~mem4 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4=4bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset; [L11-L18] ~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L12-L17] assume 4bv32 == ~a; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L13] CALL call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L4-L9] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset; [L4-L9] ~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; [L5] call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32); [L5] ~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset; [L5] havoc #t~mem0.base, #t~mem0.offset; [L7] call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32); [L7] call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4bv32); [L7] havoc #t~mem1.base, #t~mem1.offset; [L8] call write~intINTTYPE4(0bv32, ~pq~0.base, ~pq~0.offset, 4bv32); VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32, ~pq~0.base=17bv32, ~pq~0.offset=0bv32] [L4-L9] ensures true; VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32, ~pq~0.base=17bv32, ~pq~0.offset=0bv32] [L13] RET call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L11-L18] ensures true; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L32] call write~intINTTYPE4(#t~ret5, ~#a~0.base, ~#a~0.offset, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~#p1~0.base, ~#p1~0.offset, 4bv32); [L34] call #t~mem7 := read~intINTTYPE4(#t~mem6.base, #t~mem6.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=17bv32, #t~mem6.offset=0bv32, #t~mem7=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L34-L36] assume 0bv32 == #t~mem7; [L34] havoc #t~mem6.base, #t~mem6.offset; [L34] havoc #t~mem7; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L40] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=2bv32, #NULL.offset=3bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=2bv32, old(#NULL.offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L21] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4bv32); [L21] call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4bv32); [L22] call ~#p1~0.base, ~#p1~0.offset := #Ultimate.alloc(4bv32); [L22] call ~#p2~0.base, ~#p2~0.offset := #Ultimate.alloc(4bv32); [L24] call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4bv32); [L25] call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4bv32); [L27] call write~intINTTYPE4(1bv32, ~#b~0.base, ~#b~0.offset, 4bv32); [L28] call write~intINTTYPE4(5bv32, ~#a~0.base, ~#a~0.offset, 4bv32); [L30] call #t~mem2 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); [L30] #t~post3 := #t~mem2; [L30] call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0.base, ~#a~0.offset, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] call #t~mem4 := read~intINTTYPE4(~#a~0.base, ~#a~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4=4bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset; [L11-L18] ~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L12-L17] assume 4bv32 == ~a; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L13] CALL call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L4-L9] ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset; [L4-L9] ~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; [L5] call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32); [L5] ~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset; [L5] havoc #t~mem0.base, #t~mem0.offset; [L7] call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4bv32); [L7] call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4bv32); [L7] havoc #t~mem1.base, #t~mem1.offset; [L8] call write~intINTTYPE4(0bv32, ~pq~0.base, ~pq~0.offset, 4bv32); VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32, ~pq~0.base=17bv32, ~pq~0.offset=0bv32] [L4-L9] ensures true; VAL [#in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32, ~pq~0.base=17bv32, ~pq~0.offset=0bv32] [L13] RET call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L11-L18] ensures true; VAL [#in~a=4bv32, #in~p1.base=15bv32, #in~p1.offset=0bv32, #in~p2.base=14bv32, #in~p2.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~a=4bv32, ~p1.base=15bv32, ~p1.offset=0bv32, ~p2.base=14bv32, ~p2.offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L32] call write~intINTTYPE4(#t~ret5, ~#a~0.base, ~#a~0.offset, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~#p1~0.base, ~#p1~0.offset, 4bv32); [L34] call #t~mem7 := read~intINTTYPE4(#t~mem6.base, #t~mem6.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=17bv32, #t~mem6.offset=0bv32, #t~mem7=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L34-L36] assume 0bv32 == #t~mem7; [L34] havoc #t~mem6.base, #t~mem6.offset; [L34] havoc #t~mem7; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [L40] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=5bv32, ~#a~0.offset=0bv32, ~#b~0.base=17bv32, ~#b~0.offset=0bv32, ~#p1~0.base=15bv32, ~#p1~0.offset=0bv32, ~#p2~0.base=14bv32, ~#p2~0.offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L21] FCALL call ~#a~0 := #Ultimate.alloc(4bv32); [L21] FCALL call ~#b~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p1~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p2~0 := #Ultimate.alloc(4bv32); [L24] FCALL call write~$Pointer$(~#a~0, ~#p1~0, 4bv32); [L25] FCALL call write~$Pointer$(~#b~0, ~#p2~0, 4bv32); [L27] FCALL call write~intINTTYPE4(1bv32, ~#b~0, 4bv32); [L28] FCALL call write~intINTTYPE4(5bv32, ~#a~0, 4bv32); [L30] FCALL call #t~mem2 := read~intINTTYPE4(~#a~0, 4bv32); [L30] #t~post3 := #t~mem2; [L30] FCALL call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] FCALL call #t~mem4 := read~intINTTYPE4(~#a~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1 := #in~p1; [L11-L18] ~p2 := #in~p2; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L12] COND TRUE 4bv32 == ~a VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L13] CALL call g(~p1, ~p2); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L4-L9] ~p1 := #in~p1; [L4-L9] ~p2 := #in~p2; [L5] FCALL call #t~mem0 := read~$Pointer$(~p2, 4bv32); [L5] ~pq~0 := #t~mem0; [L5] havoc #t~mem0; [L7] FCALL call #t~mem1 := read~$Pointer$(~p2, 4bv32); [L7] FCALL call write~$Pointer$(#t~mem1, ~p1, 4bv32); [L7] havoc #t~mem1; [L8] FCALL call write~intINTTYPE4(0bv32, ~pq~0, 4bv32); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32, ~pq~0!base=17bv32, ~pq~0!offset=0bv32] [L13] RET call g(~p1, ~p2); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] FCALL call write~intINTTYPE4(#t~ret5, ~#a~0, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] FCALL call #t~mem6 := read~$Pointer$(~#p1~0, 4bv32); [L34] FCALL call #t~mem7 := read~intINTTYPE4(#t~mem6, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=17bv32, #t~mem6!offset=0bv32, #t~mem7=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L34] COND TRUE 0bv32 == #t~mem7 [L34] havoc #t~mem6; [L34] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L40] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L21] FCALL call ~#a~0 := #Ultimate.alloc(4bv32); [L21] FCALL call ~#b~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p1~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p2~0 := #Ultimate.alloc(4bv32); [L24] FCALL call write~$Pointer$(~#a~0, ~#p1~0, 4bv32); [L25] FCALL call write~$Pointer$(~#b~0, ~#p2~0, 4bv32); [L27] FCALL call write~intINTTYPE4(1bv32, ~#b~0, 4bv32); [L28] FCALL call write~intINTTYPE4(5bv32, ~#a~0, 4bv32); [L30] FCALL call #t~mem2 := read~intINTTYPE4(~#a~0, 4bv32); [L30] #t~post3 := #t~mem2; [L30] FCALL call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] FCALL call #t~mem4 := read~intINTTYPE4(~#a~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1 := #in~p1; [L11-L18] ~p2 := #in~p2; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L12] COND TRUE 4bv32 == ~a VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L13] CALL call g(~p1, ~p2); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L4-L9] ~p1 := #in~p1; [L4-L9] ~p2 := #in~p2; [L5] FCALL call #t~mem0 := read~$Pointer$(~p2, 4bv32); [L5] ~pq~0 := #t~mem0; [L5] havoc #t~mem0; [L7] FCALL call #t~mem1 := read~$Pointer$(~p2, 4bv32); [L7] FCALL call write~$Pointer$(#t~mem1, ~p1, 4bv32); [L7] havoc #t~mem1; [L8] FCALL call write~intINTTYPE4(0bv32, ~pq~0, 4bv32); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32, ~pq~0!base=17bv32, ~pq~0!offset=0bv32] [L13] RET call g(~p1, ~p2); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] FCALL call write~intINTTYPE4(#t~ret5, ~#a~0, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] FCALL call #t~mem6 := read~$Pointer$(~#p1~0, 4bv32); [L34] FCALL call #t~mem7 := read~intINTTYPE4(#t~mem6, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=17bv32, #t~mem6!offset=0bv32, #t~mem7=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L34] COND TRUE 0bv32 == #t~mem7 [L34] havoc #t~mem6; [L34] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L40] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L21] FCALL call ~#a~0 := #Ultimate.alloc(4bv32); [L21] FCALL call ~#b~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p1~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p2~0 := #Ultimate.alloc(4bv32); [L24] FCALL call write~$Pointer$(~#a~0, ~#p1~0, 4bv32); [L25] FCALL call write~$Pointer$(~#b~0, ~#p2~0, 4bv32); [L27] FCALL call write~intINTTYPE4(1bv32, ~#b~0, 4bv32); [L28] FCALL call write~intINTTYPE4(5bv32, ~#a~0, 4bv32); [L30] FCALL call #t~mem2 := read~intINTTYPE4(~#a~0, 4bv32); [L30] #t~post3 := #t~mem2; [L30] FCALL call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] FCALL call #t~mem4 := read~intINTTYPE4(~#a~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1 := #in~p1; [L11-L18] ~p2 := #in~p2; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L12] COND TRUE 4bv32 == ~a VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L13] CALL call g(~p1, ~p2); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L4-L9] ~p1 := #in~p1; [L4-L9] ~p2 := #in~p2; [L5] FCALL call #t~mem0 := read~$Pointer$(~p2, 4bv32); [L5] ~pq~0 := #t~mem0; [L5] havoc #t~mem0; [L7] FCALL call #t~mem1 := read~$Pointer$(~p2, 4bv32); [L7] FCALL call write~$Pointer$(#t~mem1, ~p1, 4bv32); [L7] havoc #t~mem1; [L8] FCALL call write~intINTTYPE4(0bv32, ~pq~0, 4bv32); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32, ~pq~0!base=17bv32, ~pq~0!offset=0bv32] [L13] RET call g(~p1, ~p2); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] FCALL call write~intINTTYPE4(#t~ret5, ~#a~0, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] FCALL call #t~mem6 := read~$Pointer$(~#p1~0, 4bv32); [L34] FCALL call #t~mem7 := read~intINTTYPE4(#t~mem6, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=17bv32, #t~mem6!offset=0bv32, #t~mem7=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L34] COND TRUE 0bv32 == #t~mem7 [L34] havoc #t~mem6; [L34] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L40] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=2bv32, #NULL!offset=3bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=2bv32, old(#NULL!offset)=3bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret8 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L21] FCALL call ~#a~0 := #Ultimate.alloc(4bv32); [L21] FCALL call ~#b~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p1~0 := #Ultimate.alloc(4bv32); [L22] FCALL call ~#p2~0 := #Ultimate.alloc(4bv32); [L24] FCALL call write~$Pointer$(~#a~0, ~#p1~0, 4bv32); [L25] FCALL call write~$Pointer$(~#b~0, ~#p2~0, 4bv32); [L27] FCALL call write~intINTTYPE4(1bv32, ~#b~0, 4bv32); [L28] FCALL call write~intINTTYPE4(5bv32, ~#a~0, 4bv32); [L30] FCALL call #t~mem2 := read~intINTTYPE4(~#a~0, 4bv32); [L30] #t~post3 := #t~mem2; [L30] FCALL call write~intINTTYPE4(~bvsub32(#t~post3, 1bv32), ~#a~0, 4bv32); [L30] havoc #t~post3; [L30] havoc #t~mem2; [L32] FCALL call #t~mem4 := read~intINTTYPE4(~#a~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] CALL call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L11-L18] ~a := #in~a; [L11-L18] ~p1 := #in~p1; [L11-L18] ~p2 := #in~p2; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L12] COND TRUE 4bv32 == ~a VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L13] CALL call g(~p1, ~p2); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L4-L9] ~p1 := #in~p1; [L4-L9] ~p2 := #in~p2; [L5] FCALL call #t~mem0 := read~$Pointer$(~p2, 4bv32); [L5] ~pq~0 := #t~mem0; [L5] havoc #t~mem0; [L7] FCALL call #t~mem1 := read~$Pointer$(~p2, 4bv32); [L7] FCALL call write~$Pointer$(#t~mem1, ~p1, 4bv32); [L7] havoc #t~mem1; [L8] FCALL call write~intINTTYPE4(0bv32, ~pq~0, 4bv32); VAL [#in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32, ~pq~0!base=17bv32, ~pq~0!offset=0bv32] [L13] RET call g(~p1, ~p2); VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L14] #res := 1bv32; VAL [#in~a=4bv32, #in~p1!base=15bv32, #in~p1!offset=0bv32, #in~p2!base=14bv32, #in~p2!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~a=4bv32, ~p1!base=15bv32, ~p1!offset=0bv32, ~p2!base=14bv32, ~p2!offset=0bv32] [L32] RET call #t~ret5 := f(#t~mem4, ~#p1~0, ~#p2~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4=4bv32, #t~ret5=1bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L32] FCALL call write~intINTTYPE4(#t~ret5, ~#a~0, 4bv32); [L32] havoc #t~ret5; [L32] havoc #t~mem4; [L34] FCALL call #t~mem6 := read~$Pointer$(~#p1~0, 4bv32); [L34] FCALL call #t~mem7 := read~intINTTYPE4(#t~mem6, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=17bv32, #t~mem6!offset=0bv32, #t~mem7=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L34] COND TRUE 0bv32 == #t~mem7 [L34] havoc #t~mem6; [L34] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L40] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=5bv32, ~#a~0!offset=0bv32, ~#b~0!base=17bv32, ~#b~0!offset=0bv32, ~#p1~0!base=15bv32, ~#p1~0!offset=0bv32, ~#p2~0!base=14bv32, ~#p2~0!offset=0bv32] [L21] int a, b; [L22] int *p1, *p2; [L24] p1 = &a [L25] p2 = &b [L27] b = 1 [L28] a = 5 [L30] EXPR \read(a) [L30] a-- [L32] EXPR \read(a) VAL [\read(a)=4, a={5:0}, b={17:0}, p1={15:0}, p2={14:0}] [L32] CALL, EXPR f(a, &p1, &p2) VAL [\old(a)=4, p1={15:0}, p2={14:0}] [L12] COND TRUE a == 4 VAL [\old(a)=4, a=4, p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}] [L13] CALL g(p1, p2) VAL [p1={15:0}, p2={14:0}] [L5] EXPR \read(**p2) [L5] int *pq = *p2; [L7] EXPR \read(**p2) [L7] *p1 = *p2 [L8] *pq = 0 VAL [p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}, pq={17:0}] [L13] RET g(p1, p2) VAL [\old(a)=4, a=4, p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}] [L14] return 1; VAL [\old(a)=4, \result=1, a=4, p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}] [L32] RET, EXPR f(a, &p1, &p2) VAL [\read(a)=4, a={5:0}, b={17:0}, f(a, &p1, &p2)=1, p1={15:0}, p2={14:0}] [L32] a = f(a, &p1, &p2) [L34] EXPR \read(*p1) VAL [\read(*p1)={17:0}, \read(*p1)=0, a={5:0}, b={17:0}, p1={15:0}, p2={14:0}] [L34] COND TRUE *p1 == 0 [L40] __VERIFIER_error() VAL [a={5:0}, b={17:0}, p1={15:0}, p2={14:0}] ----- [2018-11-23 11:07:05,867 INFO L145 WitnessManager]: Wrote witness to /storage/repos/svcomp/c/ldv-regression/test06_false-unreach-call_true-termination.c-witness.graphml [2018-11-23 11:07:05,867 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:07:05,869 INFO L168 Benchmark]: Toolchain (without parser) took 5195.61 ms. Allocated memory was 1.5 GB in the beginning and 2.2 GB in the end (delta: 728.8 MB). Free memory was 1.4 GB in the beginning and 2.0 GB in the end (delta: -632.9 MB). Peak memory consumption was 95.9 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:05,871 INFO L168 Benchmark]: CDTParser took 0.21 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:07:05,872 INFO L168 Benchmark]: CACSL2BoogieTranslator took 364.00 ms. Allocated memory is still 1.5 GB. Free memory was 1.4 GB in the beginning and 1.4 GB in the end (delta: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:05,878 INFO L168 Benchmark]: Boogie Procedure Inliner took 36.01 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:07:05,878 INFO L168 Benchmark]: Boogie Preprocessor took 68.62 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:07:05,879 INFO L168 Benchmark]: RCFGBuilder took 1131.13 ms. Allocated memory was 1.5 GB in the beginning and 2.2 GB in the end (delta: 728.8 MB). Free memory was 1.4 GB in the beginning and 2.1 GB in the end (delta: -759.5 MB). Peak memory consumption was 15.0 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:05,880 INFO L168 Benchmark]: TraceAbstraction took 3449.14 ms. Allocated memory is still 2.2 GB. Free memory was 2.1 GB in the beginning and 2.0 GB in the end (delta: 102.4 MB). Peak memory consumption was 102.4 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:05,881 INFO L168 Benchmark]: Witness Printer took 139.76 ms. Allocated memory is still 2.2 GB. Free memory was 2.0 GB in the beginning and 2.0 GB in the end (delta: 13.7 MB). Peak memory consumption was 13.7 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:05,890 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - GenericResult: Assertions are enabled Assertions are enabled - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.21 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 364.00 ms. Allocated memory is still 1.5 GB. Free memory was 1.4 GB in the beginning and 1.4 GB in the end (delta: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 36.01 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. * Boogie Preprocessor took 68.62 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. * RCFGBuilder took 1131.13 ms. Allocated memory was 1.5 GB in the beginning and 2.2 GB in the end (delta: 728.8 MB). Free memory was 1.4 GB in the beginning and 2.1 GB in the end (delta: -759.5 MB). Peak memory consumption was 15.0 MB. Max. memory is 7.1 GB. * TraceAbstraction took 3449.14 ms. Allocated memory is still 2.2 GB. Free memory was 2.1 GB in the beginning and 2.0 GB in the end (delta: 102.4 MB). Peak memory consumption was 102.4 MB. Max. memory is 7.1 GB. * Witness Printer took 139.76 ms. Allocated memory is still 2.2 GB. Free memory was 2.0 GB in the beginning and 2.0 GB in the end (delta: 13.7 MB). Peak memory consumption was 13.7 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 40]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L21] int a, b; [L22] int *p1, *p2; [L24] p1 = &a [L25] p2 = &b [L27] b = 1 [L28] a = 5 [L30] EXPR \read(a) [L30] a-- [L32] EXPR \read(a) VAL [\read(a)=4, a={5:0}, b={17:0}, p1={15:0}, p2={14:0}] [L32] CALL, EXPR f(a, &p1, &p2) VAL [\old(a)=4, p1={15:0}, p2={14:0}] [L12] COND TRUE a == 4 VAL [\old(a)=4, a=4, p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}] [L13] CALL g(p1, p2) VAL [p1={15:0}, p2={14:0}] [L5] EXPR \read(**p2) [L5] int *pq = *p2; [L7] EXPR \read(**p2) [L7] *p1 = *p2 [L8] *pq = 0 VAL [p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}, pq={17:0}] [L13] RET g(p1, p2) VAL [\old(a)=4, a=4, p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}] [L14] return 1; VAL [\old(a)=4, \result=1, a=4, p1={15:0}, p1={15:0}, p2={14:0}, p2={14:0}] [L32] RET, EXPR f(a, &p1, &p2) VAL [\read(a)=4, a={5:0}, b={17:0}, f(a, &p1, &p2)=1, p1={15:0}, p2={14:0}] [L32] a = f(a, &p1, &p2) [L34] EXPR \read(*p1) VAL [\read(*p1)={17:0}, \read(*p1)=0, a={5:0}, b={17:0}, p1={15:0}, p2={14:0}] [L34] COND TRUE *p1 == 0 [L40] __VERIFIER_error() VAL [a={5:0}, b={17:0}, p1={15:0}, p2={14:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 24 locations, 1 error locations. UNSAFE Result, 3.3s OverallTime, 2 OverallIterations, 1 TraceHistogramMax, 2.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 21 SDtfs, 5 SDslu, 53 SDs, 0 SdLazy, 13 SolverSat, 0 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 14 GetRequests, 10 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=24occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 33 NumberOfCodeBlocks, 33 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 13 ConstructedInterpolants, 0 QuantifiedInterpolants, 351 SizeOfPredicates, 6 NumberOfNonLiveVariables, 77 ConjunctsInSsa, 5 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...