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/test27_false-unreach-call_true-termination.c -------------------------------------------------------------------------------- This is Ultimate 0.1.23-61f4311 [2018-11-23 11:07:07,474 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:07:07,478 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:07:07,491 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:07:07,492 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:07:07,493 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:07:07,494 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:07:07,496 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:07:07,498 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:07:07,498 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:07:07,499 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:07:07,500 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:07:07,501 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:07:07,502 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:07:07,503 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:07:07,503 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:07:07,504 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:07:07,506 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:07:07,508 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:07:07,510 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:07:07,511 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:07:07,512 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:07:07,514 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:07:07,515 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:07:07,515 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:07:07,516 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:07:07,517 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:07:07,518 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:07:07,518 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:07:07,520 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:07:07,520 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:07:07,521 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:07:07,521 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:07:07,521 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:07:07,522 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:07:07,523 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:07:07,523 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:07:07,545 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:07:07,545 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:07:07,546 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 11:07:07,547 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 11:07:07,548 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:07:07,548 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:07:07,548 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:07:07,549 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:07:07,549 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:07:07,549 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:07:07,549 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:07:07,550 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 11:07:07,550 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 11:07:07,550 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 11:07:07,550 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 11:07:07,550 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 11:07:07,551 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:07:07,551 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:07:07,551 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:07:07,551 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 11:07:07,551 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:07:07,551 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:07:07,552 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 11:07:07,552 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 11:07:07,552 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:07:07,552 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:07:07,552 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 11:07:07,554 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 11:07:07,554 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 11:07:07,554 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 11:07:07,555 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 11:07:07,555 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 11:07:07,555 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 11:07:07,604 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:07:07,621 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:07:07,625 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:07:07,626 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:07:07,627 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:07:07,627 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-regression/test27_false-unreach-call_true-termination.c [2018-11-23 11:07:07,688 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/aac760dc4/6929a94c351040738dfbcc0d18a5fe8c/FLAG676a4120b [2018-11-23 11:07:08,126 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:07:08,127 INFO L161 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-regression/test27_false-unreach-call_true-termination.c [2018-11-23 11:07:08,134 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/aac760dc4/6929a94c351040738dfbcc0d18a5fe8c/FLAG676a4120b [2018-11-23 11:07:08,496 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/aac760dc4/6929a94c351040738dfbcc0d18a5fe8c [2018-11-23 11:07:08,509 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:07:08,511 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:07:08,512 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:07:08,513 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:07:08,517 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:07:08,518 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:07:08" (1/1) ... [2018-11-23 11:07:08,521 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4c635aa5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:08, skipping insertion in model container [2018-11-23 11:07:08,522 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:07:08" (1/1) ... [2018-11-23 11:07:08,532 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:07:08,562 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:07:08,833 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:07:08,858 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:07:08,899 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:07:08,926 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:07:08,926 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:08 WrapperNode [2018-11-23 11:07:08,927 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:07:08,928 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:07:08,928 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:07:08,928 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:07:08,939 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:08" (1/1) ... [2018-11-23 11:07:08,954 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:08" (1/1) ... [2018-11-23 11:07:08,962 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:07:08,962 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:07:08,962 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:07:08,962 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:07:08,971 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:08" (1/1) ... [2018-11-23 11:07:08,971 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:08" (1/1) ... [2018-11-23 11:07:08,976 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:08" (1/1) ... [2018-11-23 11:07:08,976 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:08" (1/1) ... [2018-11-23 11:07:09,004 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:08" (1/1) ... [2018-11-23 11:07:09,011 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:08" (1/1) ... [2018-11-23 11:07:09,013 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:08" (1/1) ... [2018-11-23 11:07:09,017 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:07:09,017 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:07:09,017 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:07:09,018 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:07:09,019 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:08" (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:09,153 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 11:07:09,154 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 11:07:09,154 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 11:07:09,154 INFO L130 BoogieDeclarations]: Found specification of procedure check [2018-11-23 11:07:09,154 INFO L138 BoogieDeclarations]: Found implementation of procedure check [2018-11-23 11:07:09,154 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 11:07:09,155 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 11:07:09,155 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 11:07:09,155 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:07:09,155 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 11:07:09,155 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:07:09,156 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:07:09,156 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 11:07:09,156 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 11:07:10,465 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:07:10,465 INFO L280 CfgBuilder]: Removed 2 assue(true) statements. [2018-11-23 11:07:10,466 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:07:10 BoogieIcfgContainer [2018-11-23 11:07:10,466 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:07:10,467 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 11:07:10,467 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 11:07:10,470 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 11:07:10,471 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 11:07:08" (1/3) ... [2018-11-23 11:07:10,472 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@24b55606 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:07:10, skipping insertion in model container [2018-11-23 11:07:10,472 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:08" (2/3) ... [2018-11-23 11:07:10,473 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@24b55606 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:07:10, skipping insertion in model container [2018-11-23 11:07:10,473 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:07:10" (3/3) ... [2018-11-23 11:07:10,475 INFO L112 eAbstractionObserver]: Analyzing ICFG test27_false-unreach-call_true-termination.c [2018-11-23 11:07:10,484 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 11:07:10,493 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 11:07:10,512 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 11:07:10,542 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:07:10,543 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 11:07:10,543 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 11:07:10,543 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 11:07:10,544 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:07:10,544 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:07:10,544 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 11:07:10,544 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:07:10,545 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 11:07:10,561 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states. [2018-11-23 11:07:10,568 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2018-11-23 11:07:10,568 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:10,569 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:10,571 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:10,577 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:10,578 INFO L82 PathProgramCache]: Analyzing trace with hash 1170433446, now seen corresponding path program 1 times [2018-11-23 11:07:10,583 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:10,584 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:10,602 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:07:10,664 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:10,685 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:10,689 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:07:10,754 INFO L256 TraceCheckUtils]: 0: Hoare triple {27#true} call ULTIMATE.init(); {27#true} is VALID [2018-11-23 11:07:10,758 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:10,759 INFO L273 TraceCheckUtils]: 2: Hoare triple {27#true} assume true; {27#true} is VALID [2018-11-23 11:07:10,759 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {27#true} {27#true} #57#return; {27#true} is VALID [2018-11-23 11:07:10,759 INFO L256 TraceCheckUtils]: 4: Hoare triple {27#true} call #t~ret18 := main(); {27#true} is VALID [2018-11-23 11:07:10,760 INFO L273 TraceCheckUtils]: 5: Hoare triple {27#true} call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32);call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32);call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32);call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32);havoc ~i~0;havoc ~pa~0.base, ~pa~0.offset;~i~0 := #t~nondet4;havoc #t~nondet4;~j~0 := 0bv32; {27#true} is VALID [2018-11-23 11:07:10,761 INFO L273 TraceCheckUtils]: 6: Hoare triple {27#true} assume !true; {28#false} is VALID [2018-11-23 11:07:10,762 INFO L273 TraceCheckUtils]: 7: Hoare triple {28#false} assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32);call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32);call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32);~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0));havoc #t~mem8.base, #t~mem8.offset;havoc #t~mem10.base, #t~mem10.offset;havoc #t~mem9.base, #t~mem9.offset;call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); {28#false} is VALID [2018-11-23 11:07:10,762 INFO L273 TraceCheckUtils]: 8: Hoare triple {28#false} assume ~bvsgt32(#t~mem11, 0bv32);havoc #t~mem11;call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32);call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);~i~0 := ~bvsub32(#t~mem14, 10bv32);havoc #t~mem12.base, #t~mem12.offset;havoc #t~mem13.base, #t~mem13.offset;havoc #t~mem14; {28#false} is VALID [2018-11-23 11:07:10,762 INFO L273 TraceCheckUtils]: 9: Hoare triple {28#false} assume !true; {28#false} is VALID [2018-11-23 11:07:10,763 INFO L256 TraceCheckUtils]: 10: Hoare triple {28#false} call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); {28#false} is VALID [2018-11-23 11:07:10,763 INFO L273 TraceCheckUtils]: 11: Hoare triple {28#false} ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset;~i := #in~i;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32);call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32);call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32);call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32);#res := (if #t~mem3 == ~i then 1bv32 else 0bv32);havoc #t~mem0.base, #t~mem0.offset;havoc #t~mem1.base, #t~mem1.offset;havoc #t~mem3;havoc #t~mem2.base, #t~mem2.offset; {28#false} is VALID [2018-11-23 11:07:10,763 INFO L273 TraceCheckUtils]: 12: Hoare triple {28#false} assume true; {28#false} is VALID [2018-11-23 11:07:10,764 INFO L268 TraceCheckUtils]: 13: Hoare quadruple {28#false} {28#false} #61#return; {28#false} is VALID [2018-11-23 11:07:10,764 INFO L273 TraceCheckUtils]: 14: Hoare triple {28#false} assume 0bv32 == #t~ret17;havoc #t~ret17; {28#false} is VALID [2018-11-23 11:07:10,764 INFO L273 TraceCheckUtils]: 15: Hoare triple {28#false} assume !false; {28#false} is VALID [2018-11-23 11:07:10,768 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:10,768 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:07:10,775 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:07:10,775 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 11:07:10,780 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 16 [2018-11-23 11:07:10,787 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:07:10,793 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 2 states. [2018-11-23 11:07:10,928 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 16 edges. 16 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:10,928 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 11:07:10,936 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 11:07:10,936 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 11:07:10,939 INFO L87 Difference]: Start difference. First operand 24 states. Second operand 2 states. [2018-11-23 11:07:11,240 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:11,241 INFO L93 Difference]: Finished difference Result 40 states and 50 transitions. [2018-11-23 11:07:11,241 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 11:07:11,241 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 16 [2018-11-23 11:07:11,242 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:07:11,243 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2018-11-23 11:07:11,257 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 50 transitions. [2018-11-23 11:07:11,257 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2018-11-23 11:07:11,262 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 50 transitions. [2018-11-23 11:07:11,262 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 2 states and 50 transitions. [2018-11-23 11:07:11,833 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 50 edges. 50 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:11,844 INFO L225 Difference]: With dead ends: 40 [2018-11-23 11:07:11,844 INFO L226 Difference]: Without dead ends: 19 [2018-11-23 11:07:11,848 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 15 GetRequests, 15 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 11:07:11,866 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 19 states. [2018-11-23 11:07:11,887 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 19 to 19. [2018-11-23 11:07:11,888 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:07:11,888 INFO L82 GeneralOperation]: Start isEquivalent. First operand 19 states. Second operand 19 states. [2018-11-23 11:07:11,889 INFO L74 IsIncluded]: Start isIncluded. First operand 19 states. Second operand 19 states. [2018-11-23 11:07:11,889 INFO L87 Difference]: Start difference. First operand 19 states. Second operand 19 states. [2018-11-23 11:07:11,893 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:11,893 INFO L93 Difference]: Finished difference Result 19 states and 20 transitions. [2018-11-23 11:07:11,893 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 20 transitions. [2018-11-23 11:07:11,894 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:11,894 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:11,894 INFO L74 IsIncluded]: Start isIncluded. First operand 19 states. Second operand 19 states. [2018-11-23 11:07:11,894 INFO L87 Difference]: Start difference. First operand 19 states. Second operand 19 states. [2018-11-23 11:07:11,898 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:11,898 INFO L93 Difference]: Finished difference Result 19 states and 20 transitions. [2018-11-23 11:07:11,899 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 20 transitions. [2018-11-23 11:07:11,899 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:11,899 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:11,899 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:07:11,900 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:07:11,900 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 19 states. [2018-11-23 11:07:11,902 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 20 transitions. [2018-11-23 11:07:11,904 INFO L78 Accepts]: Start accepts. Automaton has 19 states and 20 transitions. Word has length 16 [2018-11-23 11:07:11,904 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:07:11,904 INFO L480 AbstractCegarLoop]: Abstraction has 19 states and 20 transitions. [2018-11-23 11:07:11,904 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 11:07:11,905 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 20 transitions. [2018-11-23 11:07:11,905 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-11-23 11:07:11,906 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:11,906 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:11,906 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:11,906 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:11,906 INFO L82 PathProgramCache]: Analyzing trace with hash 1596126575, now seen corresponding path program 1 times [2018-11-23 11:07:11,907 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:11,909 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:11,931 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:07:11,987 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:12,023 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:12,024 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:07:12,372 INFO L256 TraceCheckUtils]: 0: Hoare triple {195#true} call ULTIMATE.init(); {195#true} is VALID [2018-11-23 11:07:12,372 INFO L273 TraceCheckUtils]: 1: Hoare triple {195#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {195#true} is VALID [2018-11-23 11:07:12,372 INFO L273 TraceCheckUtils]: 2: Hoare triple {195#true} assume true; {195#true} is VALID [2018-11-23 11:07:12,373 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {195#true} {195#true} #57#return; {195#true} is VALID [2018-11-23 11:07:12,373 INFO L256 TraceCheckUtils]: 4: Hoare triple {195#true} call #t~ret18 := main(); {195#true} is VALID [2018-11-23 11:07:12,374 INFO L273 TraceCheckUtils]: 5: Hoare triple {195#true} call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32);call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32);call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32);call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32);havoc ~i~0;havoc ~pa~0.base, ~pa~0.offset;~i~0 := #t~nondet4;havoc #t~nondet4;~j~0 := 0bv32; {215#(= main_~j~0 (_ bv0 32))} is VALID [2018-11-23 11:07:12,376 INFO L273 TraceCheckUtils]: 6: Hoare triple {215#(= main_~j~0 (_ bv0 32))} assume !~bvslt32(~j~0, 10bv32); {196#false} is VALID [2018-11-23 11:07:12,376 INFO L273 TraceCheckUtils]: 7: Hoare triple {196#false} assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32);call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32);call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32);~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0));havoc #t~mem8.base, #t~mem8.offset;havoc #t~mem10.base, #t~mem10.offset;havoc #t~mem9.base, #t~mem9.offset;call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); {196#false} is VALID [2018-11-23 11:07:12,376 INFO L273 TraceCheckUtils]: 8: Hoare triple {196#false} assume ~bvsgt32(#t~mem11, 0bv32);havoc #t~mem11;call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32);call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);~i~0 := ~bvsub32(#t~mem14, 10bv32);havoc #t~mem12.base, #t~mem12.offset;havoc #t~mem13.base, #t~mem13.offset;havoc #t~mem14; {196#false} is VALID [2018-11-23 11:07:12,376 INFO L273 TraceCheckUtils]: 9: Hoare triple {196#false} call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); {196#false} is VALID [2018-11-23 11:07:12,377 INFO L273 TraceCheckUtils]: 10: Hoare triple {196#false} assume !~bvslt32(~i~0, #t~mem15);havoc #t~mem15; {196#false} is VALID [2018-11-23 11:07:12,377 INFO L256 TraceCheckUtils]: 11: Hoare triple {196#false} call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); {196#false} is VALID [2018-11-23 11:07:12,377 INFO L273 TraceCheckUtils]: 12: Hoare triple {196#false} ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset;~i := #in~i;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32);call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32);call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32);call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32);#res := (if #t~mem3 == ~i then 1bv32 else 0bv32);havoc #t~mem0.base, #t~mem0.offset;havoc #t~mem1.base, #t~mem1.offset;havoc #t~mem3;havoc #t~mem2.base, #t~mem2.offset; {196#false} is VALID [2018-11-23 11:07:12,378 INFO L273 TraceCheckUtils]: 13: Hoare triple {196#false} assume true; {196#false} is VALID [2018-11-23 11:07:12,378 INFO L268 TraceCheckUtils]: 14: Hoare quadruple {196#false} {196#false} #61#return; {196#false} is VALID [2018-11-23 11:07:12,378 INFO L273 TraceCheckUtils]: 15: Hoare triple {196#false} assume 0bv32 == #t~ret17;havoc #t~ret17; {196#false} is VALID [2018-11-23 11:07:12,378 INFO L273 TraceCheckUtils]: 16: Hoare triple {196#false} assume !false; {196#false} is VALID [2018-11-23 11:07:12,380 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:12,380 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [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:12,387 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:07:12,387 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 11:07:12,388 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 17 [2018-11-23 11:07:12,389 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:07:12,389 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2018-11-23 11:07:12,470 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 17 edges. 17 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:12,470 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 11:07:12,470 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 11:07:12,470 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 11:07:12,471 INFO L87 Difference]: Start difference. First operand 19 states and 20 transitions. Second operand 3 states. [2018-11-23 11:07:14,902 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:14,903 INFO L93 Difference]: Finished difference Result 32 states and 34 transitions. [2018-11-23 11:07:14,903 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 11:07:14,903 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 17 [2018-11-23 11:07:14,904 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:07:14,904 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 11:07:14,907 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 34 transitions. [2018-11-23 11:07:14,907 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 11:07:14,909 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 34 transitions. [2018-11-23 11:07:14,910 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 34 transitions. [2018-11-23 11:07:15,024 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 34 edges. 34 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:15,025 INFO L225 Difference]: With dead ends: 32 [2018-11-23 11:07:15,025 INFO L226 Difference]: Without dead ends: 21 [2018-11-23 11:07:15,026 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 16 GetRequests, 15 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 11:07:15,027 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 21 states. [2018-11-23 11:07:15,038 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 21 to 20. [2018-11-23 11:07:15,038 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:07:15,038 INFO L82 GeneralOperation]: Start isEquivalent. First operand 21 states. Second operand 20 states. [2018-11-23 11:07:15,038 INFO L74 IsIncluded]: Start isIncluded. First operand 21 states. Second operand 20 states. [2018-11-23 11:07:15,039 INFO L87 Difference]: Start difference. First operand 21 states. Second operand 20 states. [2018-11-23 11:07:15,041 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:15,042 INFO L93 Difference]: Finished difference Result 21 states and 22 transitions. [2018-11-23 11:07:15,042 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 22 transitions. [2018-11-23 11:07:15,042 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:15,043 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:15,043 INFO L74 IsIncluded]: Start isIncluded. First operand 20 states. Second operand 21 states. [2018-11-23 11:07:15,043 INFO L87 Difference]: Start difference. First operand 20 states. Second operand 21 states. [2018-11-23 11:07:15,045 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:15,045 INFO L93 Difference]: Finished difference Result 21 states and 22 transitions. [2018-11-23 11:07:15,045 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 22 transitions. [2018-11-23 11:07:15,046 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:15,046 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:15,046 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:07:15,047 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:07:15,047 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 20 states. [2018-11-23 11:07:15,048 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 21 transitions. [2018-11-23 11:07:15,049 INFO L78 Accepts]: Start accepts. Automaton has 20 states and 21 transitions. Word has length 17 [2018-11-23 11:07:15,049 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:07:15,049 INFO L480 AbstractCegarLoop]: Abstraction has 20 states and 21 transitions. [2018-11-23 11:07:15,049 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 11:07:15,049 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 21 transitions. [2018-11-23 11:07:15,051 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2018-11-23 11:07:15,051 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:15,051 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:15,052 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:15,052 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:15,052 INFO L82 PathProgramCache]: Analyzing trace with hash -450230899, now seen corresponding path program 1 times [2018-11-23 11:07:15,053 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:15,053 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 4 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 4 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:07:15,069 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:07:15,127 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:15,158 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:15,159 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:07:15,258 INFO L256 TraceCheckUtils]: 0: Hoare triple {366#true} call ULTIMATE.init(); {366#true} is VALID [2018-11-23 11:07:15,258 INFO L273 TraceCheckUtils]: 1: Hoare triple {366#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {366#true} is VALID [2018-11-23 11:07:15,259 INFO L273 TraceCheckUtils]: 2: Hoare triple {366#true} assume true; {366#true} is VALID [2018-11-23 11:07:15,259 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {366#true} {366#true} #57#return; {366#true} is VALID [2018-11-23 11:07:15,259 INFO L256 TraceCheckUtils]: 4: Hoare triple {366#true} call #t~ret18 := main(); {366#true} is VALID [2018-11-23 11:07:15,264 INFO L273 TraceCheckUtils]: 5: Hoare triple {366#true} call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32);call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32);call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32);call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32);havoc ~i~0;havoc ~pa~0.base, ~pa~0.offset;~i~0 := #t~nondet4;havoc #t~nondet4;~j~0 := 0bv32; {386#(= main_~j~0 (_ bv0 32))} is VALID [2018-11-23 11:07:15,265 INFO L273 TraceCheckUtils]: 6: Hoare triple {386#(= main_~j~0 (_ bv0 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {386#(= main_~j~0 (_ bv0 32))} is VALID [2018-11-23 11:07:15,269 INFO L273 TraceCheckUtils]: 7: Hoare triple {386#(= main_~j~0 (_ bv0 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {393#(= (bvadd main_~j~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:07:15,271 INFO L273 TraceCheckUtils]: 8: Hoare triple {393#(= (bvadd main_~j~0 (_ bv4294967295 32)) (_ bv0 32))} assume !~bvslt32(~j~0, 10bv32); {367#false} is VALID [2018-11-23 11:07:15,271 INFO L273 TraceCheckUtils]: 9: Hoare triple {367#false} assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32);call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32);call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32);~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0));havoc #t~mem8.base, #t~mem8.offset;havoc #t~mem10.base, #t~mem10.offset;havoc #t~mem9.base, #t~mem9.offset;call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); {367#false} is VALID [2018-11-23 11:07:15,271 INFO L273 TraceCheckUtils]: 10: Hoare triple {367#false} assume ~bvsgt32(#t~mem11, 0bv32);havoc #t~mem11;call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32);call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);~i~0 := ~bvsub32(#t~mem14, 10bv32);havoc #t~mem12.base, #t~mem12.offset;havoc #t~mem13.base, #t~mem13.offset;havoc #t~mem14; {367#false} is VALID [2018-11-23 11:07:15,272 INFO L273 TraceCheckUtils]: 11: Hoare triple {367#false} call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); {367#false} is VALID [2018-11-23 11:07:15,272 INFO L273 TraceCheckUtils]: 12: Hoare triple {367#false} assume !~bvslt32(~i~0, #t~mem15);havoc #t~mem15; {367#false} is VALID [2018-11-23 11:07:15,272 INFO L256 TraceCheckUtils]: 13: Hoare triple {367#false} call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); {367#false} is VALID [2018-11-23 11:07:15,273 INFO L273 TraceCheckUtils]: 14: Hoare triple {367#false} ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset;~i := #in~i;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32);call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32);call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32);call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32);#res := (if #t~mem3 == ~i then 1bv32 else 0bv32);havoc #t~mem0.base, #t~mem0.offset;havoc #t~mem1.base, #t~mem1.offset;havoc #t~mem3;havoc #t~mem2.base, #t~mem2.offset; {367#false} is VALID [2018-11-23 11:07:15,273 INFO L273 TraceCheckUtils]: 15: Hoare triple {367#false} assume true; {367#false} is VALID [2018-11-23 11:07:15,273 INFO L268 TraceCheckUtils]: 16: Hoare quadruple {367#false} {367#false} #61#return; {367#false} is VALID [2018-11-23 11:07:15,274 INFO L273 TraceCheckUtils]: 17: Hoare triple {367#false} assume 0bv32 == #t~ret17;havoc #t~ret17; {367#false} is VALID [2018-11-23 11:07:15,274 INFO L273 TraceCheckUtils]: 18: Hoare triple {367#false} assume !false; {367#false} is VALID [2018-11-23 11:07:15,275 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:07:15,275 INFO L316 TraceCheckSpWp]: Computing backward predicates... [2018-11-23 11:07:15,445 INFO L273 TraceCheckUtils]: 18: Hoare triple {367#false} assume !false; {367#false} is VALID [2018-11-23 11:07:15,446 INFO L273 TraceCheckUtils]: 17: Hoare triple {367#false} assume 0bv32 == #t~ret17;havoc #t~ret17; {367#false} is VALID [2018-11-23 11:07:15,446 INFO L268 TraceCheckUtils]: 16: Hoare quadruple {366#true} {367#false} #61#return; {367#false} is VALID [2018-11-23 11:07:15,447 INFO L273 TraceCheckUtils]: 15: Hoare triple {366#true} assume true; {366#true} is VALID [2018-11-23 11:07:15,447 INFO L273 TraceCheckUtils]: 14: Hoare triple {366#true} ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset;~i := #in~i;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32);call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32);call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32);call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32);#res := (if #t~mem3 == ~i then 1bv32 else 0bv32);havoc #t~mem0.base, #t~mem0.offset;havoc #t~mem1.base, #t~mem1.offset;havoc #t~mem3;havoc #t~mem2.base, #t~mem2.offset; {366#true} is VALID [2018-11-23 11:07:15,448 INFO L256 TraceCheckUtils]: 13: Hoare triple {367#false} call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); {366#true} is VALID [2018-11-23 11:07:15,448 INFO L273 TraceCheckUtils]: 12: Hoare triple {367#false} assume !~bvslt32(~i~0, #t~mem15);havoc #t~mem15; {367#false} is VALID [2018-11-23 11:07:15,448 INFO L273 TraceCheckUtils]: 11: Hoare triple {367#false} call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); {367#false} is VALID [2018-11-23 11:07:15,448 INFO L273 TraceCheckUtils]: 10: Hoare triple {367#false} assume ~bvsgt32(#t~mem11, 0bv32);havoc #t~mem11;call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32);call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);~i~0 := ~bvsub32(#t~mem14, 10bv32);havoc #t~mem12.base, #t~mem12.offset;havoc #t~mem13.base, #t~mem13.offset;havoc #t~mem14; {367#false} is VALID [2018-11-23 11:07:15,449 INFO L273 TraceCheckUtils]: 9: Hoare triple {367#false} assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32);call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32);call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32);~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0));havoc #t~mem8.base, #t~mem8.offset;havoc #t~mem10.base, #t~mem10.offset;havoc #t~mem9.base, #t~mem9.offset;call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); {367#false} is VALID [2018-11-23 11:07:15,451 INFO L273 TraceCheckUtils]: 8: Hoare triple {457#(bvslt main_~j~0 (_ bv10 32))} assume !~bvslt32(~j~0, 10bv32); {367#false} is VALID [2018-11-23 11:07:15,452 INFO L273 TraceCheckUtils]: 7: Hoare triple {461#(bvslt (bvadd main_~j~0 (_ bv1 32)) (_ bv10 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {457#(bvslt main_~j~0 (_ bv10 32))} is VALID [2018-11-23 11:07:15,455 INFO L273 TraceCheckUtils]: 6: Hoare triple {461#(bvslt (bvadd main_~j~0 (_ bv1 32)) (_ bv10 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {461#(bvslt (bvadd main_~j~0 (_ bv1 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:15,456 INFO L273 TraceCheckUtils]: 5: Hoare triple {366#true} call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32);call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32);call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32);call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32);havoc ~i~0;havoc ~pa~0.base, ~pa~0.offset;~i~0 := #t~nondet4;havoc #t~nondet4;~j~0 := 0bv32; {461#(bvslt (bvadd main_~j~0 (_ bv1 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:15,456 INFO L256 TraceCheckUtils]: 4: Hoare triple {366#true} call #t~ret18 := main(); {366#true} is VALID [2018-11-23 11:07:15,456 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {366#true} {366#true} #57#return; {366#true} is VALID [2018-11-23 11:07:15,457 INFO L273 TraceCheckUtils]: 2: Hoare triple {366#true} assume true; {366#true} is VALID [2018-11-23 11:07:15,457 INFO L273 TraceCheckUtils]: 1: Hoare triple {366#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {366#true} is VALID [2018-11-23 11:07:15,457 INFO L256 TraceCheckUtils]: 0: Hoare triple {366#true} call ULTIMATE.init(); {366#true} is VALID [2018-11-23 11:07:15,459 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:07:15,463 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 11:07:15,464 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4] total 6 [2018-11-23 11:07:15,464 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 19 [2018-11-23 11:07:15,465 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:07:15,465 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states. [2018-11-23 11:07:15,538 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 27 edges. 27 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:15,538 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-11-23 11:07:15,538 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-23 11:07:15,538 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=17, Unknown=0, NotChecked=0, Total=30 [2018-11-23 11:07:15,539 INFO L87 Difference]: Start difference. First operand 20 states and 21 transitions. Second operand 6 states. [2018-11-23 11:07:17,738 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:17,739 INFO L93 Difference]: Finished difference Result 37 states and 41 transitions. [2018-11-23 11:07:17,739 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-11-23 11:07:17,739 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 19 [2018-11-23 11:07:17,739 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:07:17,739 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2018-11-23 11:07:17,742 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 41 transitions. [2018-11-23 11:07:17,742 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2018-11-23 11:07:17,745 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 41 transitions. [2018-11-23 11:07:17,745 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states and 41 transitions. [2018-11-23 11:07:17,881 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 41 edges. 41 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:17,883 INFO L225 Difference]: With dead ends: 37 [2018-11-23 11:07:17,883 INFO L226 Difference]: Without dead ends: 26 [2018-11-23 11:07:17,884 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 38 GetRequests, 33 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=19, Invalid=23, Unknown=0, NotChecked=0, Total=42 [2018-11-23 11:07:17,884 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2018-11-23 11:07:17,898 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 26. [2018-11-23 11:07:17,898 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:07:17,899 INFO L82 GeneralOperation]: Start isEquivalent. First operand 26 states. Second operand 26 states. [2018-11-23 11:07:17,899 INFO L74 IsIncluded]: Start isIncluded. First operand 26 states. Second operand 26 states. [2018-11-23 11:07:17,899 INFO L87 Difference]: Start difference. First operand 26 states. Second operand 26 states. [2018-11-23 11:07:17,901 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:17,901 INFO L93 Difference]: Finished difference Result 26 states and 27 transitions. [2018-11-23 11:07:17,902 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 27 transitions. [2018-11-23 11:07:17,902 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:17,902 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:17,903 INFO L74 IsIncluded]: Start isIncluded. First operand 26 states. Second operand 26 states. [2018-11-23 11:07:17,903 INFO L87 Difference]: Start difference. First operand 26 states. Second operand 26 states. [2018-11-23 11:07:17,905 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:17,906 INFO L93 Difference]: Finished difference Result 26 states and 27 transitions. [2018-11-23 11:07:17,906 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 27 transitions. [2018-11-23 11:07:17,906 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:17,907 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:17,907 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:07:17,907 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:07:17,907 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 26 states. [2018-11-23 11:07:17,909 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 27 transitions. [2018-11-23 11:07:17,909 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 27 transitions. Word has length 19 [2018-11-23 11:07:17,909 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:07:17,909 INFO L480 AbstractCegarLoop]: Abstraction has 26 states and 27 transitions. [2018-11-23 11:07:17,909 INFO L481 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-11-23 11:07:17,909 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 27 transitions. [2018-11-23 11:07:17,910 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 11:07:17,910 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:17,910 INFO L402 BasicCegarLoop]: trace histogram [4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:17,911 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:17,911 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:17,911 INFO L82 PathProgramCache]: Analyzing trace with hash 1321818343, now seen corresponding path program 2 times [2018-11-23 11:07:17,911 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:17,912 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 5 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 5 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:07:17,927 INFO L101 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2018-11-23 11:07:18,151 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-11-23 11:07:18,151 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 11:07:18,186 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:18,188 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:07:18,298 INFO L256 TraceCheckUtils]: 0: Hoare triple {632#true} call ULTIMATE.init(); {632#true} is VALID [2018-11-23 11:07:18,298 INFO L273 TraceCheckUtils]: 1: Hoare triple {632#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {632#true} is VALID [2018-11-23 11:07:18,298 INFO L273 TraceCheckUtils]: 2: Hoare triple {632#true} assume true; {632#true} is VALID [2018-11-23 11:07:18,299 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {632#true} {632#true} #57#return; {632#true} is VALID [2018-11-23 11:07:18,299 INFO L256 TraceCheckUtils]: 4: Hoare triple {632#true} call #t~ret18 := main(); {632#true} is VALID [2018-11-23 11:07:18,300 INFO L273 TraceCheckUtils]: 5: Hoare triple {632#true} call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32);call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32);call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32);call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32);havoc ~i~0;havoc ~pa~0.base, ~pa~0.offset;~i~0 := #t~nondet4;havoc #t~nondet4;~j~0 := 0bv32; {652#(= main_~j~0 (_ bv0 32))} is VALID [2018-11-23 11:07:18,311 INFO L273 TraceCheckUtils]: 6: Hoare triple {652#(= main_~j~0 (_ bv0 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {652#(= main_~j~0 (_ bv0 32))} is VALID [2018-11-23 11:07:18,312 INFO L273 TraceCheckUtils]: 7: Hoare triple {652#(= main_~j~0 (_ bv0 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {659#(= (bvadd main_~j~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:07:18,312 INFO L273 TraceCheckUtils]: 8: Hoare triple {659#(= (bvadd main_~j~0 (_ bv4294967295 32)) (_ bv0 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {659#(= (bvadd main_~j~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:07:18,313 INFO L273 TraceCheckUtils]: 9: Hoare triple {659#(= (bvadd main_~j~0 (_ bv4294967295 32)) (_ bv0 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {666#(= (bvadd main_~j~0 (_ bv4294967294 32)) (_ bv0 32))} is VALID [2018-11-23 11:07:18,314 INFO L273 TraceCheckUtils]: 10: Hoare triple {666#(= (bvadd main_~j~0 (_ bv4294967294 32)) (_ bv0 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {666#(= (bvadd main_~j~0 (_ bv4294967294 32)) (_ bv0 32))} is VALID [2018-11-23 11:07:18,315 INFO L273 TraceCheckUtils]: 11: Hoare triple {666#(= (bvadd main_~j~0 (_ bv4294967294 32)) (_ bv0 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {673#(= (bvadd main_~j~0 (_ bv4294967293 32)) (_ bv0 32))} is VALID [2018-11-23 11:07:18,316 INFO L273 TraceCheckUtils]: 12: Hoare triple {673#(= (bvadd main_~j~0 (_ bv4294967293 32)) (_ bv0 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {673#(= (bvadd main_~j~0 (_ bv4294967293 32)) (_ bv0 32))} is VALID [2018-11-23 11:07:18,317 INFO L273 TraceCheckUtils]: 13: Hoare triple {673#(= (bvadd main_~j~0 (_ bv4294967293 32)) (_ bv0 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {680#(= (bvadd main_~j~0 (_ bv4294967292 32)) (_ bv0 32))} is VALID [2018-11-23 11:07:18,317 INFO L273 TraceCheckUtils]: 14: Hoare triple {680#(= (bvadd main_~j~0 (_ bv4294967292 32)) (_ bv0 32))} assume !~bvslt32(~j~0, 10bv32); {633#false} is VALID [2018-11-23 11:07:18,317 INFO L273 TraceCheckUtils]: 15: Hoare triple {633#false} assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32);call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32);call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32);~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0));havoc #t~mem8.base, #t~mem8.offset;havoc #t~mem10.base, #t~mem10.offset;havoc #t~mem9.base, #t~mem9.offset;call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); {633#false} is VALID [2018-11-23 11:07:18,318 INFO L273 TraceCheckUtils]: 16: Hoare triple {633#false} assume ~bvsgt32(#t~mem11, 0bv32);havoc #t~mem11;call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32);call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);~i~0 := ~bvsub32(#t~mem14, 10bv32);havoc #t~mem12.base, #t~mem12.offset;havoc #t~mem13.base, #t~mem13.offset;havoc #t~mem14; {633#false} is VALID [2018-11-23 11:07:18,318 INFO L273 TraceCheckUtils]: 17: Hoare triple {633#false} call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); {633#false} is VALID [2018-11-23 11:07:18,318 INFO L273 TraceCheckUtils]: 18: Hoare triple {633#false} assume !~bvslt32(~i~0, #t~mem15);havoc #t~mem15; {633#false} is VALID [2018-11-23 11:07:18,319 INFO L256 TraceCheckUtils]: 19: Hoare triple {633#false} call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); {633#false} is VALID [2018-11-23 11:07:18,319 INFO L273 TraceCheckUtils]: 20: Hoare triple {633#false} ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset;~i := #in~i;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32);call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32);call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32);call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32);#res := (if #t~mem3 == ~i then 1bv32 else 0bv32);havoc #t~mem0.base, #t~mem0.offset;havoc #t~mem1.base, #t~mem1.offset;havoc #t~mem3;havoc #t~mem2.base, #t~mem2.offset; {633#false} is VALID [2018-11-23 11:07:18,319 INFO L273 TraceCheckUtils]: 21: Hoare triple {633#false} assume true; {633#false} is VALID [2018-11-23 11:07:18,320 INFO L268 TraceCheckUtils]: 22: Hoare quadruple {633#false} {633#false} #61#return; {633#false} is VALID [2018-11-23 11:07:18,320 INFO L273 TraceCheckUtils]: 23: Hoare triple {633#false} assume 0bv32 == #t~ret17;havoc #t~ret17; {633#false} is VALID [2018-11-23 11:07:18,320 INFO L273 TraceCheckUtils]: 24: Hoare triple {633#false} assume !false; {633#false} is VALID [2018-11-23 11:07:18,322 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 0 proven. 16 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:07:18,322 INFO L316 TraceCheckSpWp]: Computing backward predicates... [2018-11-23 11:07:18,563 INFO L273 TraceCheckUtils]: 24: Hoare triple {633#false} assume !false; {633#false} is VALID [2018-11-23 11:07:18,564 INFO L273 TraceCheckUtils]: 23: Hoare triple {633#false} assume 0bv32 == #t~ret17;havoc #t~ret17; {633#false} is VALID [2018-11-23 11:07:18,564 INFO L268 TraceCheckUtils]: 22: Hoare quadruple {632#true} {633#false} #61#return; {633#false} is VALID [2018-11-23 11:07:18,564 INFO L273 TraceCheckUtils]: 21: Hoare triple {632#true} assume true; {632#true} is VALID [2018-11-23 11:07:18,565 INFO L273 TraceCheckUtils]: 20: Hoare triple {632#true} ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset;~i := #in~i;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32);call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32);call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32);call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32);#res := (if #t~mem3 == ~i then 1bv32 else 0bv32);havoc #t~mem0.base, #t~mem0.offset;havoc #t~mem1.base, #t~mem1.offset;havoc #t~mem3;havoc #t~mem2.base, #t~mem2.offset; {632#true} is VALID [2018-11-23 11:07:18,565 INFO L256 TraceCheckUtils]: 19: Hoare triple {633#false} call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); {632#true} is VALID [2018-11-23 11:07:18,565 INFO L273 TraceCheckUtils]: 18: Hoare triple {633#false} assume !~bvslt32(~i~0, #t~mem15);havoc #t~mem15; {633#false} is VALID [2018-11-23 11:07:18,565 INFO L273 TraceCheckUtils]: 17: Hoare triple {633#false} call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); {633#false} is VALID [2018-11-23 11:07:18,566 INFO L273 TraceCheckUtils]: 16: Hoare triple {633#false} assume ~bvsgt32(#t~mem11, 0bv32);havoc #t~mem11;call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32);call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);~i~0 := ~bvsub32(#t~mem14, 10bv32);havoc #t~mem12.base, #t~mem12.offset;havoc #t~mem13.base, #t~mem13.offset;havoc #t~mem14; {633#false} is VALID [2018-11-23 11:07:18,566 INFO L273 TraceCheckUtils]: 15: Hoare triple {633#false} assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32);call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32);call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32);~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0));havoc #t~mem8.base, #t~mem8.offset;havoc #t~mem10.base, #t~mem10.offset;havoc #t~mem9.base, #t~mem9.offset;call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); {633#false} is VALID [2018-11-23 11:07:18,571 INFO L273 TraceCheckUtils]: 14: Hoare triple {744#(bvslt main_~j~0 (_ bv10 32))} assume !~bvslt32(~j~0, 10bv32); {633#false} is VALID [2018-11-23 11:07:18,573 INFO L273 TraceCheckUtils]: 13: Hoare triple {748#(bvslt (bvadd main_~j~0 (_ bv1 32)) (_ bv10 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {744#(bvslt main_~j~0 (_ bv10 32))} is VALID [2018-11-23 11:07:18,573 INFO L273 TraceCheckUtils]: 12: Hoare triple {748#(bvslt (bvadd main_~j~0 (_ bv1 32)) (_ bv10 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {748#(bvslt (bvadd main_~j~0 (_ bv1 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:18,578 INFO L273 TraceCheckUtils]: 11: Hoare triple {755#(bvslt (bvadd main_~j~0 (_ bv2 32)) (_ bv10 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {748#(bvslt (bvadd main_~j~0 (_ bv1 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:18,579 INFO L273 TraceCheckUtils]: 10: Hoare triple {755#(bvslt (bvadd main_~j~0 (_ bv2 32)) (_ bv10 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {755#(bvslt (bvadd main_~j~0 (_ bv2 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:18,584 INFO L273 TraceCheckUtils]: 9: Hoare triple {762#(bvslt (bvadd main_~j~0 (_ bv3 32)) (_ bv10 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {755#(bvslt (bvadd main_~j~0 (_ bv2 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:18,585 INFO L273 TraceCheckUtils]: 8: Hoare triple {762#(bvslt (bvadd main_~j~0 (_ bv3 32)) (_ bv10 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {762#(bvslt (bvadd main_~j~0 (_ bv3 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:18,591 INFO L273 TraceCheckUtils]: 7: Hoare triple {769#(bvslt (bvadd main_~j~0 (_ bv4 32)) (_ bv10 32))} #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; {762#(bvslt (bvadd main_~j~0 (_ bv3 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:18,592 INFO L273 TraceCheckUtils]: 6: Hoare triple {769#(bvslt (bvadd main_~j~0 (_ bv4 32)) (_ bv10 32))} assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; {769#(bvslt (bvadd main_~j~0 (_ bv4 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:18,593 INFO L273 TraceCheckUtils]: 5: Hoare triple {632#true} call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32);call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32);call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32);call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32);havoc ~i~0;havoc ~pa~0.base, ~pa~0.offset;~i~0 := #t~nondet4;havoc #t~nondet4;~j~0 := 0bv32; {769#(bvslt (bvadd main_~j~0 (_ bv4 32)) (_ bv10 32))} is VALID [2018-11-23 11:07:18,593 INFO L256 TraceCheckUtils]: 4: Hoare triple {632#true} call #t~ret18 := main(); {632#true} is VALID [2018-11-23 11:07:18,593 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {632#true} {632#true} #57#return; {632#true} is VALID [2018-11-23 11:07:18,594 INFO L273 TraceCheckUtils]: 2: Hoare triple {632#true} assume true; {632#true} is VALID [2018-11-23 11:07:18,594 INFO L273 TraceCheckUtils]: 1: Hoare triple {632#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {632#true} is VALID [2018-11-23 11:07:18,594 INFO L256 TraceCheckUtils]: 0: Hoare triple {632#true} call ULTIMATE.init(); {632#true} is VALID [2018-11-23 11:07:18,597 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 0 proven. 16 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:07:18,599 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 11:07:18,599 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7] total 12 [2018-11-23 11:07:18,600 INFO L78 Accepts]: Start accepts. Automaton has 12 states. Word has length 25 [2018-11-23 11:07:18,601 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:07:18,601 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 12 states. [2018-11-23 11:07:18,804 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 39 edges. 39 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:18,804 INFO L459 AbstractCegarLoop]: Interpolant automaton has 12 states [2018-11-23 11:07:18,805 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 12 interpolants. [2018-11-23 11:07:18,805 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=46, Invalid=86, Unknown=0, NotChecked=0, Total=132 [2018-11-23 11:07:18,805 INFO L87 Difference]: Start difference. First operand 26 states and 27 transitions. Second operand 12 states. [2018-11-23 11:07:26,174 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:26,175 INFO L93 Difference]: Finished difference Result 49 states and 56 transitions. [2018-11-23 11:07:26,175 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 12 states. [2018-11-23 11:07:26,175 INFO L78 Accepts]: Start accepts. Automaton has 12 states. Word has length 25 [2018-11-23 11:07:26,176 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:07:26,176 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2018-11-23 11:07:26,181 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 56 transitions. [2018-11-23 11:07:26,182 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2018-11-23 11:07:26,184 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 56 transitions. [2018-11-23 11:07:26,187 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 12 states and 56 transitions. [2018-11-23 11:07:26,337 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 56 edges. 56 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:26,339 INFO L225 Difference]: With dead ends: 49 [2018-11-23 11:07:26,340 INFO L226 Difference]: Without dead ends: 38 [2018-11-23 11:07:26,341 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 53 GetRequests, 39 SyntacticMatches, 0 SemanticMatches, 14 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6 ImplicationChecksByTransitivity, 0.4s TimeCoverageRelationStatistics Valid=94, Invalid=146, Unknown=0, NotChecked=0, Total=240 [2018-11-23 11:07:26,341 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 38 states. [2018-11-23 11:07:26,358 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 38 to 38. [2018-11-23 11:07:26,358 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:07:26,358 INFO L82 GeneralOperation]: Start isEquivalent. First operand 38 states. Second operand 38 states. [2018-11-23 11:07:26,359 INFO L74 IsIncluded]: Start isIncluded. First operand 38 states. Second operand 38 states. [2018-11-23 11:07:26,359 INFO L87 Difference]: Start difference. First operand 38 states. Second operand 38 states. [2018-11-23 11:07:26,361 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:26,361 INFO L93 Difference]: Finished difference Result 38 states and 39 transitions. [2018-11-23 11:07:26,362 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 39 transitions. [2018-11-23 11:07:26,362 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:26,362 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:26,363 INFO L74 IsIncluded]: Start isIncluded. First operand 38 states. Second operand 38 states. [2018-11-23 11:07:26,363 INFO L87 Difference]: Start difference. First operand 38 states. Second operand 38 states. [2018-11-23 11:07:26,365 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:26,366 INFO L93 Difference]: Finished difference Result 38 states and 39 transitions. [2018-11-23 11:07:26,366 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 39 transitions. [2018-11-23 11:07:26,367 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:26,367 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:26,367 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:07:26,367 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:07:26,367 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 38 states. [2018-11-23 11:07:26,369 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 38 states and 39 transitions. [2018-11-23 11:07:26,370 INFO L78 Accepts]: Start accepts. Automaton has 38 states and 39 transitions. Word has length 25 [2018-11-23 11:07:26,370 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:07:26,370 INFO L480 AbstractCegarLoop]: Abstraction has 38 states and 39 transitions. [2018-11-23 11:07:26,370 INFO L481 AbstractCegarLoop]: Interpolant automaton has 12 states. [2018-11-23 11:07:26,370 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 39 transitions. [2018-11-23 11:07:26,371 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 38 [2018-11-23 11:07:26,372 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:26,372 INFO L402 BasicCegarLoop]: trace histogram [10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:26,372 INFO L423 AbstractCegarLoop]: === Iteration 5 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:26,372 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:26,373 INFO L82 PathProgramCache]: Analyzing trace with hash 1268407579, now seen corresponding path program 3 times [2018-11-23 11:07:26,373 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:26,373 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 6 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 6 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:07:26,392 INFO L101 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2018-11-23 11:07:33,906 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 11 check-sat command(s) [2018-11-23 11:07:33,907 INFO L250 tOrderPrioritization]: Conjunction of SSA is sat [2018-11-23 11:07:37,219 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:07:37,892 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] RET #57#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret18 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32);call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32);call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32);call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32);havoc ~i~0;havoc ~pa~0.base, ~pa~0.offset;~i~0 := #t~nondet4;havoc #t~nondet4;~j~0 := 0bv32; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv2 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv2 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv3 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv3 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv5 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv5 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv6 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv6 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv7 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv7 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv8 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv8 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv9 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv9 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv10 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !~bvslt32(~j~0, 10bv32); VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv10 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32);call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32);call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32);~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0));havoc #t~mem8.base, #t~mem8.offset;havoc #t~mem10.base, #t~mem10.offset;havoc #t~mem9.base, #t~mem9.offset;call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem11|=(_ bv7 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume ~bvsgt32(#t~mem11, 0bv32);havoc #t~mem11;call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32);call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);~i~0 := ~bvsub32(#t~mem14, 10bv32);havoc #t~mem12.base, #t~mem12.offset;havoc #t~mem13.base, #t~mem13.offset;havoc #t~mem14; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem15|=(_ bv872415232 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !~bvslt32(~i~0, #t~mem15);havoc #t~mem15; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] CALL call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv1073741832 32), |check_#in~pc.base|=(_ bv8589329 32), |check_#in~pc.offset|=(_ bv0 32)] [?] ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset;~i := #in~i;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32);call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32);call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32);call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32);#res := (if #t~mem3 == ~i then 1bv32 else 0bv32);havoc #t~mem0.base, #t~mem0.offset;havoc #t~mem1.base, #t~mem1.offset;havoc #t~mem3;havoc #t~mem2.base, #t~mem2.offset; VAL [check_~i=(_ bv1073741832 32), check_~pc.base=(_ bv8589329 32), check_~pc.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv1073741832 32), |check_#in~pc.base|=(_ bv8589329 32), |check_#in~pc.offset|=(_ bv0 32), |check_#res|=(_ bv0 32)] [?] assume true; VAL [check_~i=(_ bv1073741832 32), check_~pc.base=(_ bv8589329 32), check_~pc.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv1073741832 32), |check_#in~pc.base|=(_ bv8589329 32), |check_#in~pc.offset|=(_ bv0 32), |check_#res|=(_ bv0 32)] [?] RET #61#return; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret17|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume 0bv32 == #t~ret17;havoc #t~ret17; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !false; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L22] call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32); [L23] call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32); [L24] call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32); [L25] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0.base, ~pa~0.offset; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] assume !~bvslt32(~j~0, 10bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32-L47] assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32); [L33] call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L34] call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32); [L35] call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32); [L36] call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32); [L37] call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32); [L37] call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L37] call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32); [L37] ~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0)); [L37] havoc #t~mem8.base, #t~mem8.offset; [L37] havoc #t~mem10.base, #t~mem10.offset; [L37] havoc #t~mem9.base, #t~mem9.offset; [L38] call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem11=7bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L38-L46] assume ~bvsgt32(#t~mem11, 0bv32); [L38] havoc #t~mem11; [L39] call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32); [L39] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32); [L39] call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12.base, #t~mem12.offset; [L39] havoc #t~mem13.base, #t~mem13.offset; [L39] havoc #t~mem14; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L40] call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem15=872415232bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L40-L42] assume !~bvslt32(~i~0, #t~mem15); [L40] havoc #t~mem15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L15-L18] ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset; [L15-L18] ~i := #in~i; [L17] call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32); [L17] call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32); [L17] call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32); [L17] call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0.base, #t~mem0.offset; [L17] havoc #t~mem1.base, #t~mem1.offset; [L17] havoc #t~mem3; [L17] havoc #t~mem2.base, #t~mem2.offset; VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc.base=8589329bv32, ~pc.offset=0bv32] [L15-L18] ensures true; VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc.base=8589329bv32, ~pc.offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret17=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L43-L45] assume 0bv32 == #t~ret17; [L43] havoc #t~ret17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L51] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L22] call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32); [L23] call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32); [L24] call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32); [L25] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0.base, ~pa~0.offset; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] assume !~bvslt32(~j~0, 10bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32-L47] assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32); [L33] call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L34] call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32); [L35] call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32); [L36] call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32); [L37] call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32); [L37] call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L37] call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32); [L37] ~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0)); [L37] havoc #t~mem8.base, #t~mem8.offset; [L37] havoc #t~mem10.base, #t~mem10.offset; [L37] havoc #t~mem9.base, #t~mem9.offset; [L38] call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem11=7bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L38-L46] assume ~bvsgt32(#t~mem11, 0bv32); [L38] havoc #t~mem11; [L39] call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32); [L39] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32); [L39] call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12.base, #t~mem12.offset; [L39] havoc #t~mem13.base, #t~mem13.offset; [L39] havoc #t~mem14; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L40] call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem15=872415232bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L40-L42] assume !~bvslt32(~i~0, #t~mem15); [L40] havoc #t~mem15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L15-L18] ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset; [L15-L18] ~i := #in~i; [L17] call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32); [L17] call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32); [L17] call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32); [L17] call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0.base, #t~mem0.offset; [L17] havoc #t~mem1.base, #t~mem1.offset; [L17] havoc #t~mem3; [L17] havoc #t~mem2.base, #t~mem2.offset; VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc.base=8589329bv32, ~pc.offset=0bv32] [L15-L18] ensures true; VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc.base=8589329bv32, ~pc.offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret17=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L43-L45] assume 0bv32 == #t~ret17; [L43] havoc #t~ret17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L51] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L22] FCALL call ~#cont~0 := #Ultimate.alloc(4bv32); [L23] FCALL call ~#dummy~0 := #Ultimate.alloc(4bv32); [L24] FCALL call ~#dummies~0 := #Ultimate.alloc(40bv32); [L25] FCALL call ~#a~0 := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] COND TRUE !~bvslt32(~j~0, 10bv32) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32] COND TRUE ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32) [L33] FCALL call write~intINTTYPE4(~i~0, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L34] FCALL call write~$Pointer$({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, { base: ~#dummy~0!base, offset: ~#dummy~0!offset }, 4bv32); [L35] FCALL call write~$Pointer$(~#dummy~0, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L36] FCALL call write~$Pointer$({ base: ~#dummies~0!base, offset: ~#dummies~0!offset }, { base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem8 := read~$Pointer$({ base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem9 := read~$Pointer$({ base: #t~mem8!base, offset: ~bvadd32(#t~mem8!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L37] FCALL call #t~mem10 := read~$Pointer$({ base: #t~mem9!base, offset: #t~mem9!offset }, 4bv32); [L37] ~pa~0 := { base: #t~mem10!base, offset: ~bvadd32(#t~mem10!offset, ~bvmul32(4bv32, ~i~0)) }; [L37] havoc #t~mem8; [L37] havoc #t~mem10; [L37] havoc #t~mem9; [L38] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=7bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L38] COND TRUE ~bvsgt32(#t~mem11, 0bv32) [L38] havoc #t~mem11; [L39] FCALL call #t~mem12 := read~$Pointer$({ base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L39] FCALL call #t~mem13 := read~$Pointer$({ base: #t~mem12!base, offset: #t~mem12!offset }, 4bv32); [L39] FCALL call #t~mem14 := read~intINTTYPE4({ base: #t~mem13!base, offset: ~bvadd32(#t~mem13!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12; [L39] havoc #t~mem13; [L39] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40] FCALL call #t~mem15 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem15=872415232bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40-L42] COND TRUE !~bvslt32(~i~0, #t~mem15) [L40] havoc #t~mem15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0, ~i~0); VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L15-L18] ~pc := #in~pc; [L15-L18] ~i := #in~i; [L17] FCALL call #t~mem0 := read~$Pointer$({ base: ~pc!base, offset: ~pc!offset }, 4bv32); [L17] FCALL call #t~mem1 := read~$Pointer$({ base: #t~mem0!base, offset: ~bvadd32(#t~mem0!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] FCALL call #t~mem2 := read~$Pointer$({ base: #t~mem1!base, offset: #t~mem1!offset }, 4bv32); [L17] FCALL call #t~mem3 := read~intINTTYPE4({ base: #t~mem2!base, offset: ~bvadd32(#t~mem2!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0; [L17] havoc #t~mem1; [L17] havoc #t~mem3; [L17] havoc #t~mem2; VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc!base=8589329bv32, ~pc!offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] COND TRUE 0bv32 == #t~ret17 [L43] havoc #t~ret17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L51] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L22] FCALL call ~#cont~0 := #Ultimate.alloc(4bv32); [L23] FCALL call ~#dummy~0 := #Ultimate.alloc(4bv32); [L24] FCALL call ~#dummies~0 := #Ultimate.alloc(40bv32); [L25] FCALL call ~#a~0 := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] COND TRUE !~bvslt32(~j~0, 10bv32) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32] COND TRUE ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32) [L33] FCALL call write~intINTTYPE4(~i~0, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L34] FCALL call write~$Pointer$({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, { base: ~#dummy~0!base, offset: ~#dummy~0!offset }, 4bv32); [L35] FCALL call write~$Pointer$(~#dummy~0, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L36] FCALL call write~$Pointer$({ base: ~#dummies~0!base, offset: ~#dummies~0!offset }, { base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem8 := read~$Pointer$({ base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem9 := read~$Pointer$({ base: #t~mem8!base, offset: ~bvadd32(#t~mem8!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L37] FCALL call #t~mem10 := read~$Pointer$({ base: #t~mem9!base, offset: #t~mem9!offset }, 4bv32); [L37] ~pa~0 := { base: #t~mem10!base, offset: ~bvadd32(#t~mem10!offset, ~bvmul32(4bv32, ~i~0)) }; [L37] havoc #t~mem8; [L37] havoc #t~mem10; [L37] havoc #t~mem9; [L38] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=7bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L38] COND TRUE ~bvsgt32(#t~mem11, 0bv32) [L38] havoc #t~mem11; [L39] FCALL call #t~mem12 := read~$Pointer$({ base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L39] FCALL call #t~mem13 := read~$Pointer$({ base: #t~mem12!base, offset: #t~mem12!offset }, 4bv32); [L39] FCALL call #t~mem14 := read~intINTTYPE4({ base: #t~mem13!base, offset: ~bvadd32(#t~mem13!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12; [L39] havoc #t~mem13; [L39] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40] FCALL call #t~mem15 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem15=872415232bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40-L42] COND TRUE !~bvslt32(~i~0, #t~mem15) [L40] havoc #t~mem15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0, ~i~0); VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L15-L18] ~pc := #in~pc; [L15-L18] ~i := #in~i; [L17] FCALL call #t~mem0 := read~$Pointer$({ base: ~pc!base, offset: ~pc!offset }, 4bv32); [L17] FCALL call #t~mem1 := read~$Pointer$({ base: #t~mem0!base, offset: ~bvadd32(#t~mem0!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] FCALL call #t~mem2 := read~$Pointer$({ base: #t~mem1!base, offset: #t~mem1!offset }, 4bv32); [L17] FCALL call #t~mem3 := read~intINTTYPE4({ base: #t~mem2!base, offset: ~bvadd32(#t~mem2!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0; [L17] havoc #t~mem1; [L17] havoc #t~mem3; [L17] havoc #t~mem2; VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc!base=8589329bv32, ~pc!offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] COND TRUE 0bv32 == #t~ret17 [L43] havoc #t~ret17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L51] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L22] FCALL call ~#cont~0 := #Ultimate.alloc(4bv32); [L23] FCALL call ~#dummy~0 := #Ultimate.alloc(4bv32); [L24] FCALL call ~#dummies~0 := #Ultimate.alloc(40bv32); [L25] FCALL call ~#a~0 := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] COND TRUE !~bvslt32(~j~0, 10bv32) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32] COND TRUE ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32) [L33] FCALL call write~intINTTYPE4(~i~0, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L34] FCALL call write~$Pointer$({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, { base: ~#dummy~0!base, offset: ~#dummy~0!offset }, 4bv32); [L35] FCALL call write~$Pointer$(~#dummy~0, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L36] FCALL call write~$Pointer$({ base: ~#dummies~0!base, offset: ~#dummies~0!offset }, { base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem8 := read~$Pointer$({ base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem9 := read~$Pointer$({ base: #t~mem8!base, offset: ~bvadd32(#t~mem8!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L37] FCALL call #t~mem10 := read~$Pointer$({ base: #t~mem9!base, offset: #t~mem9!offset }, 4bv32); [L37] ~pa~0 := { base: #t~mem10!base, offset: ~bvadd32(#t~mem10!offset, ~bvmul32(4bv32, ~i~0)) }; [L37] havoc #t~mem8; [L37] havoc #t~mem10; [L37] havoc #t~mem9; [L38] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=7bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L38] COND TRUE ~bvsgt32(#t~mem11, 0bv32) [L38] havoc #t~mem11; [L39] FCALL call #t~mem12 := read~$Pointer$({ base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L39] FCALL call #t~mem13 := read~$Pointer$({ base: #t~mem12!base, offset: #t~mem12!offset }, 4bv32); [L39] FCALL call #t~mem14 := read~intINTTYPE4({ base: #t~mem13!base, offset: ~bvadd32(#t~mem13!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12; [L39] havoc #t~mem13; [L39] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40] FCALL call #t~mem15 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem15=872415232bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40-L42] COND TRUE !~bvslt32(~i~0, #t~mem15) [L40] havoc #t~mem15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0, ~i~0); VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L15-L18] ~pc := #in~pc; [L15-L18] ~i := #in~i; [L17] FCALL call #t~mem0 := read~$Pointer$({ base: ~pc!base, offset: ~pc!offset }, 4bv32); [L17] FCALL call #t~mem1 := read~$Pointer$({ base: #t~mem0!base, offset: ~bvadd32(#t~mem0!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] FCALL call #t~mem2 := read~$Pointer$({ base: #t~mem1!base, offset: #t~mem1!offset }, 4bv32); [L17] FCALL call #t~mem3 := read~intINTTYPE4({ base: #t~mem2!base, offset: ~bvadd32(#t~mem2!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0; [L17] havoc #t~mem1; [L17] havoc #t~mem3; [L17] havoc #t~mem2; VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc!base=8589329bv32, ~pc!offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] COND TRUE 0bv32 == #t~ret17 [L43] havoc #t~ret17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L51] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L22] FCALL call ~#cont~0 := #Ultimate.alloc(4bv32); [L23] FCALL call ~#dummy~0 := #Ultimate.alloc(4bv32); [L24] FCALL call ~#dummies~0 := #Ultimate.alloc(40bv32); [L25] FCALL call ~#a~0 := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] COND TRUE !~bvslt32(~j~0, 10bv32) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32] COND TRUE ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32) [L33] FCALL call write~intINTTYPE4(~i~0, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L34] FCALL call write~$Pointer$({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, { base: ~#dummy~0!base, offset: ~#dummy~0!offset }, 4bv32); [L35] FCALL call write~$Pointer$(~#dummy~0, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L36] FCALL call write~$Pointer$({ base: ~#dummies~0!base, offset: ~#dummies~0!offset }, { base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem8 := read~$Pointer$({ base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem9 := read~$Pointer$({ base: #t~mem8!base, offset: ~bvadd32(#t~mem8!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L37] FCALL call #t~mem10 := read~$Pointer$({ base: #t~mem9!base, offset: #t~mem9!offset }, 4bv32); [L37] ~pa~0 := { base: #t~mem10!base, offset: ~bvadd32(#t~mem10!offset, ~bvmul32(4bv32, ~i~0)) }; [L37] havoc #t~mem8; [L37] havoc #t~mem10; [L37] havoc #t~mem9; [L38] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=7bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L38] COND TRUE ~bvsgt32(#t~mem11, 0bv32) [L38] havoc #t~mem11; [L39] FCALL call #t~mem12 := read~$Pointer$({ base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L39] FCALL call #t~mem13 := read~$Pointer$({ base: #t~mem12!base, offset: #t~mem12!offset }, 4bv32); [L39] FCALL call #t~mem14 := read~intINTTYPE4({ base: #t~mem13!base, offset: ~bvadd32(#t~mem13!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12; [L39] havoc #t~mem13; [L39] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40] FCALL call #t~mem15 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem15=872415232bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40-L42] COND TRUE !~bvslt32(~i~0, #t~mem15) [L40] havoc #t~mem15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0, ~i~0); VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L15-L18] ~pc := #in~pc; [L15-L18] ~i := #in~i; [L17] FCALL call #t~mem0 := read~$Pointer$({ base: ~pc!base, offset: ~pc!offset }, 4bv32); [L17] FCALL call #t~mem1 := read~$Pointer$({ base: #t~mem0!base, offset: ~bvadd32(#t~mem0!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] FCALL call #t~mem2 := read~$Pointer$({ base: #t~mem1!base, offset: #t~mem1!offset }, 4bv32); [L17] FCALL call #t~mem3 := read~intINTTYPE4({ base: #t~mem2!base, offset: ~bvadd32(#t~mem2!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0; [L17] havoc #t~mem1; [L17] havoc #t~mem3; [L17] havoc #t~mem2; VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc!base=8589329bv32, ~pc!offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] COND TRUE 0bv32 == #t~ret17 [L43] havoc #t~ret17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L51] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L22] struct cont cont; [L23] struct dummy dummy; [L24] struct dummy *dummies[10]; [L25] int a[10]; [L26] int i, *pa; [L27] i = __VERIFIER_nondet_int() [L28] int j = 0; VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=0] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=1] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=2] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=3] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=4] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=5] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=6] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=7] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=8] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=9] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=10] [L28] COND FALSE !(j < 10) VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=10] [L32] COND TRUE i >= 0 && i < 9 [L33] a[i] = i [L34] dummy.array = &a[i] [L35] dummies[i + 1] = &dummy [L36] cont.array = &dummies[0] [L37] EXPR cont.array [L37] EXPR cont.array[i] [L37] EXPR cont.array[i]->array [L37] pa = &cont.array[i]->array[i] [L38] EXPR a[i] VAL [a={-276959249:0}, a[i]=7, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=10, pa={8589331:28}] [L38] COND TRUE a[i] > 0 [L39] EXPR dummies[i + 1] [L39] EXPR dummies[i + 1]->array [L39] EXPR dummies[i + 1]->array[i] [L39] i = dummies[i + 1]->array[i] - 10 [L40] EXPR \read(*pa) VAL [\read(*pa)=872415232, a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=1073741832, j=10, pa={8589331:28}] [L40] COND FALSE !(i < *pa) [L43] CALL, EXPR check(&cont, i) VAL [\old(i)=1073741832, pc={8589329:0}] [L17] EXPR pc->array [L17] EXPR pc->array[i] [L17] EXPR pc->array[i]->array [L17] EXPR pc->array[i]->array[i] [L17] return pc->array[i]->array[i] == i; [L43] RET, EXPR check(&cont, i) VAL [a={-276959249:0}, check(&cont, i)=0, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=1073741832, j=10, pa={8589331:28}] [L43] COND TRUE !check(&cont, i) [L51] __VERIFIER_error() VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=1073741832, j=10, pa={8589331:28}] ----- [2018-11-23 11:07:38,009 WARN L170 areAnnotationChecker]: ULTIMATE.initENTRY has no Hoare annotation [2018-11-23 11:07:38,009 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:07:38,009 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:07:38,009 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:07:38,010 WARN L170 areAnnotationChecker]: checkENTRY has no Hoare annotation [2018-11-23 11:07:38,010 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2018-11-23 11:07:38,010 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:07:38,010 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:07:38,010 WARN L170 areAnnotationChecker]: L28-3 has no Hoare annotation [2018-11-23 11:07:38,010 WARN L170 areAnnotationChecker]: L28-3 has no Hoare annotation [2018-11-23 11:07:38,010 WARN L170 areAnnotationChecker]: L28-3 has no Hoare annotation [2018-11-23 11:07:38,011 WARN L170 areAnnotationChecker]: checkFINAL has no Hoare annotation [2018-11-23 11:07:38,011 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2018-11-23 11:07:38,011 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2018-11-23 11:07:38,011 WARN L170 areAnnotationChecker]: L28-4 has no Hoare annotation [2018-11-23 11:07:38,011 WARN L170 areAnnotationChecker]: L28-4 has no Hoare annotation [2018-11-23 11:07:38,011 WARN L170 areAnnotationChecker]: L28-2 has no Hoare annotation [2018-11-23 11:07:38,011 WARN L170 areAnnotationChecker]: checkEXIT has no Hoare annotation [2018-11-23 11:07:38,012 WARN L170 areAnnotationChecker]: L38 has no Hoare annotation [2018-11-23 11:07:38,012 WARN L170 areAnnotationChecker]: L38 has no Hoare annotation [2018-11-23 11:07:38,012 WARN L170 areAnnotationChecker]: L32 has no Hoare annotation [2018-11-23 11:07:38,012 WARN L170 areAnnotationChecker]: L43 has no Hoare annotation [2018-11-23 11:07:38,012 WARN L170 areAnnotationChecker]: L43 has no Hoare annotation [2018-11-23 11:07:38,012 WARN L170 areAnnotationChecker]: L40-3 has no Hoare annotation [2018-11-23 11:07:38,012 WARN L170 areAnnotationChecker]: L40-3 has no Hoare annotation [2018-11-23 11:07:38,013 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2018-11-23 11:07:38,013 WARN L170 areAnnotationChecker]: L44 has no Hoare annotation [2018-11-23 11:07:38,013 WARN L170 areAnnotationChecker]: L44 has no Hoare annotation [2018-11-23 11:07:38,013 WARN L170 areAnnotationChecker]: L40-4 has no Hoare annotation [2018-11-23 11:07:38,013 WARN L170 areAnnotationChecker]: L40-4 has no Hoare annotation [2018-11-23 11:07:38,013 WARN L170 areAnnotationChecker]: L40-1 has no Hoare annotation [2018-11-23 11:07:38,013 WARN L170 areAnnotationChecker]: L40-1 has no Hoare annotation [2018-11-23 11:07:38,014 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2018-11-23 11:07:38,014 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:38,016 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 11:07:38 BoogieIcfgContainer [2018-11-23 11:07:38,017 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 11:07:38,017 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:07:38,017 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:07:38,017 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:07:38,018 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:10" (3/4) ... [2018-11-23 11:07:38,021 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|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] RET #57#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret18 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32);call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32);call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32);call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32);havoc ~i~0;havoc ~pa~0.base, ~pa~0.offset;~i~0 := #t~nondet4;havoc #t~nondet4;~j~0 := 0bv32; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv2 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv2 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv3 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv3 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv5 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv5 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv6 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv6 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv7 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv7 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv8 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv8 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv9 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !!~bvslt32(~j~0, 10bv32);call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet6;call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32);havoc #t~nondet7.base, #t~nondet7.offset; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv9 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] #t~post5 := ~j~0;~j~0 := ~bvadd32(1bv32, #t~post5);havoc #t~post5; VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv10 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !~bvslt32(~j~0, 10bv32); VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv10 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32);call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32);call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32);call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32);~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0));havoc #t~mem8.base, #t~mem8.offset;havoc #t~mem10.base, #t~mem10.offset;havoc #t~mem9.base, #t~mem9.offset;call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); VAL [main_~i~0=(_ bv7 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem11|=(_ bv7 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume ~bvsgt32(#t~mem11, 0bv32);havoc #t~mem11;call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32);call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32);call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32);~i~0 := ~bvsub32(#t~mem14, 10bv32);havoc #t~mem12.base, #t~mem12.offset;havoc #t~mem13.base, #t~mem13.offset;havoc #t~mem14; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem15|=(_ bv872415232 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !~bvslt32(~i~0, #t~mem15);havoc #t~mem15; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] CALL call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv1073741832 32), |check_#in~pc.base|=(_ bv8589329 32), |check_#in~pc.offset|=(_ bv0 32)] [?] ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset;~i := #in~i;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32);call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32);call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32);call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32);#res := (if #t~mem3 == ~i then 1bv32 else 0bv32);havoc #t~mem0.base, #t~mem0.offset;havoc #t~mem1.base, #t~mem1.offset;havoc #t~mem3;havoc #t~mem2.base, #t~mem2.offset; VAL [check_~i=(_ bv1073741832 32), check_~pc.base=(_ bv8589329 32), check_~pc.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv1073741832 32), |check_#in~pc.base|=(_ bv8589329 32), |check_#in~pc.offset|=(_ bv0 32), |check_#res|=(_ bv0 32)] [?] assume true; VAL [check_~i=(_ bv1073741832 32), check_~pc.base=(_ bv8589329 32), check_~pc.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv1073741832 32), |check_#in~pc.base|=(_ bv8589329 32), |check_#in~pc.offset|=(_ bv0 32), |check_#res|=(_ bv0 32)] [?] RET #61#return; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret17|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume 0bv32 == #t~ret17;havoc #t~ret17; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] assume !false; VAL [main_~i~0=(_ bv1073741832 32), main_~j~0=(_ bv10 32), main_~pa~0.base=(_ bv8589331 32), main_~pa~0.offset=(_ bv28 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#a~0.base|=(_ bv4018008047 32), |main_~#a~0.offset|=(_ bv0 32), |main_~#cont~0.base|=(_ bv8589329 32), |main_~#cont~0.offset|=(_ bv0 32), |main_~#dummies~0.base|=(_ bv8523792 32), |main_~#dummies~0.offset|=(_ bv0 32), |main_~#dummy~0.base|=(_ bv8589331 32), |main_~#dummy~0.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L22] call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32); [L23] call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32); [L24] call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32); [L25] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0.base, ~pa~0.offset; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] assume !~bvslt32(~j~0, 10bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32-L47] assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32); [L33] call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L34] call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32); [L35] call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32); [L36] call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32); [L37] call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32); [L37] call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L37] call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32); [L37] ~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0)); [L37] havoc #t~mem8.base, #t~mem8.offset; [L37] havoc #t~mem10.base, #t~mem10.offset; [L37] havoc #t~mem9.base, #t~mem9.offset; [L38] call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem11=7bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L38-L46] assume ~bvsgt32(#t~mem11, 0bv32); [L38] havoc #t~mem11; [L39] call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32); [L39] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32); [L39] call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12.base, #t~mem12.offset; [L39] havoc #t~mem13.base, #t~mem13.offset; [L39] havoc #t~mem14; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L40] call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem15=872415232bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L40-L42] assume !~bvslt32(~i~0, #t~mem15); [L40] havoc #t~mem15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L15-L18] ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset; [L15-L18] ~i := #in~i; [L17] call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32); [L17] call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32); [L17] call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32); [L17] call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0.base, #t~mem0.offset; [L17] havoc #t~mem1.base, #t~mem1.offset; [L17] havoc #t~mem3; [L17] havoc #t~mem2.base, #t~mem2.offset; VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc.base=8589329bv32, ~pc.offset=0bv32] [L15-L18] ensures true; VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc.base=8589329bv32, ~pc.offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret17=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L43-L45] assume 0bv32 == #t~ret17; [L43] havoc #t~ret17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L51] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L22] call ~#cont~0.base, ~#cont~0.offset := #Ultimate.alloc(4bv32); [L23] call ~#dummy~0.base, ~#dummy~0.offset := #Ultimate.alloc(4bv32); [L24] call ~#dummies~0.base, ~#dummies~0.offset := #Ultimate.alloc(40bv32); [L25] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0.base, ~pa~0.offset; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] assume !!~bvslt32(~j~0, 10bv32); [L29] call write~intINTTYPE4(#t~nondet6, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L29] havoc #t~nondet6; [L30] call write~$Pointer$(#t~nondet7.base, #t~nondet7.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~j~0)), 4bv32); [L30] havoc #t~nondet7.base, #t~nondet7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] assume !~bvslt32(~j~0, 10bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32-L47] assume ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32); [L33] call write~intINTTYPE4(~i~0, ~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L34] call write~$Pointer$(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), ~#dummy~0.base, ~#dummy~0.offset, 4bv32); [L35] call write~$Pointer$(~#dummy~0.base, ~#dummy~0.offset, ~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32); [L36] call write~$Pointer$(~#dummies~0.base, ~#dummies~0.offset, ~#cont~0.base, ~#cont~0.offset, 4bv32); [L37] call #t~mem8.base, #t~mem8.offset := read~$Pointer$(~#cont~0.base, ~#cont~0.offset, 4bv32); [L37] call #t~mem9.base, #t~mem9.offset := read~$Pointer$(#t~mem8.base, ~bvadd32(#t~mem8.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L37] call #t~mem10.base, #t~mem10.offset := read~$Pointer$(#t~mem9.base, #t~mem9.offset, 4bv32); [L37] ~pa~0.base, ~pa~0.offset := #t~mem10.base, ~bvadd32(#t~mem10.offset, ~bvmul32(4bv32, ~i~0)); [L37] havoc #t~mem8.base, #t~mem8.offset; [L37] havoc #t~mem10.base, #t~mem10.offset; [L37] havoc #t~mem9.base, #t~mem9.offset; [L38] call #t~mem11 := read~intINTTYPE4(~#a~0.base, ~bvadd32(~#a~0.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem11=7bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L38-L46] assume ~bvsgt32(#t~mem11, 0bv32); [L38] havoc #t~mem11; [L39] call #t~mem12.base, #t~mem12.offset := read~$Pointer$(~#dummies~0.base, ~bvadd32(~#dummies~0.offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))), 4bv32); [L39] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(#t~mem12.base, #t~mem12.offset, 4bv32); [L39] call #t~mem14 := read~intINTTYPE4(#t~mem13.base, ~bvadd32(#t~mem13.offset, ~bvmul32(4bv32, ~i~0)), 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12.base, #t~mem12.offset; [L39] havoc #t~mem13.base, #t~mem13.offset; [L39] havoc #t~mem14; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L40] call #t~mem15 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem15=872415232bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L40-L42] assume !~bvslt32(~i~0, #t~mem15); [L40] havoc #t~mem15; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32] [L15-L18] ~pc.base, ~pc.offset := #in~pc.base, #in~pc.offset; [L15-L18] ~i := #in~i; [L17] call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~pc.base, ~pc.offset, 4bv32); [L17] call #t~mem1.base, #t~mem1.offset := read~$Pointer$(#t~mem0.base, ~bvadd32(#t~mem0.offset, ~bvmul32(4bv32, ~i)), 4bv32); [L17] call #t~mem2.base, #t~mem2.offset := read~$Pointer$(#t~mem1.base, #t~mem1.offset, 4bv32); [L17] call #t~mem3 := read~intINTTYPE4(#t~mem2.base, ~bvadd32(#t~mem2.offset, ~bvmul32(4bv32, ~i)), 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0.base, #t~mem0.offset; [L17] havoc #t~mem1.base, #t~mem1.offset; [L17] havoc #t~mem3; [L17] havoc #t~mem2.base, #t~mem2.offset; VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc.base=8589329bv32, ~pc.offset=0bv32] [L15-L18] ensures true; VAL [#in~i=1073741832bv32, #in~pc.base=8589329bv32, #in~pc.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc.base=8589329bv32, ~pc.offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0.base, ~#cont~0.offset, ~i~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret17=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L43-L45] assume 0bv32 == #t~ret17; [L43] havoc #t~ret17; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [L51] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#a~0.base=4018008047bv32, ~#a~0.offset=0bv32, ~#cont~0.base=8589329bv32, ~#cont~0.offset=0bv32, ~#dummies~0.base=8523792bv32, ~#dummies~0.offset=0bv32, ~#dummy~0.base=8589331bv32, ~#dummy~0.offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0.base=8589331bv32, ~pa~0.offset=28bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L22] FCALL call ~#cont~0 := #Ultimate.alloc(4bv32); [L23] FCALL call ~#dummy~0 := #Ultimate.alloc(4bv32); [L24] FCALL call ~#dummies~0 := #Ultimate.alloc(40bv32); [L25] FCALL call ~#a~0 := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] COND TRUE !~bvslt32(~j~0, 10bv32) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32] COND TRUE ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32) [L33] FCALL call write~intINTTYPE4(~i~0, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L34] FCALL call write~$Pointer$({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, { base: ~#dummy~0!base, offset: ~#dummy~0!offset }, 4bv32); [L35] FCALL call write~$Pointer$(~#dummy~0, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L36] FCALL call write~$Pointer$({ base: ~#dummies~0!base, offset: ~#dummies~0!offset }, { base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem8 := read~$Pointer$({ base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem9 := read~$Pointer$({ base: #t~mem8!base, offset: ~bvadd32(#t~mem8!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L37] FCALL call #t~mem10 := read~$Pointer$({ base: #t~mem9!base, offset: #t~mem9!offset }, 4bv32); [L37] ~pa~0 := { base: #t~mem10!base, offset: ~bvadd32(#t~mem10!offset, ~bvmul32(4bv32, ~i~0)) }; [L37] havoc #t~mem8; [L37] havoc #t~mem10; [L37] havoc #t~mem9; [L38] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=7bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L38] COND TRUE ~bvsgt32(#t~mem11, 0bv32) [L38] havoc #t~mem11; [L39] FCALL call #t~mem12 := read~$Pointer$({ base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L39] FCALL call #t~mem13 := read~$Pointer$({ base: #t~mem12!base, offset: #t~mem12!offset }, 4bv32); [L39] FCALL call #t~mem14 := read~intINTTYPE4({ base: #t~mem13!base, offset: ~bvadd32(#t~mem13!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12; [L39] havoc #t~mem13; [L39] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40] FCALL call #t~mem15 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem15=872415232bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40-L42] COND TRUE !~bvslt32(~i~0, #t~mem15) [L40] havoc #t~mem15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0, ~i~0); VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L15-L18] ~pc := #in~pc; [L15-L18] ~i := #in~i; [L17] FCALL call #t~mem0 := read~$Pointer$({ base: ~pc!base, offset: ~pc!offset }, 4bv32); [L17] FCALL call #t~mem1 := read~$Pointer$({ base: #t~mem0!base, offset: ~bvadd32(#t~mem0!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] FCALL call #t~mem2 := read~$Pointer$({ base: #t~mem1!base, offset: #t~mem1!offset }, 4bv32); [L17] FCALL call #t~mem3 := read~intINTTYPE4({ base: #t~mem2!base, offset: ~bvadd32(#t~mem2!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0; [L17] havoc #t~mem1; [L17] havoc #t~mem3; [L17] havoc #t~mem2; VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc!base=8589329bv32, ~pc!offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] COND TRUE 0bv32 == #t~ret17 [L43] havoc #t~ret17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L51] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L22] FCALL call ~#cont~0 := #Ultimate.alloc(4bv32); [L23] FCALL call ~#dummy~0 := #Ultimate.alloc(4bv32); [L24] FCALL call ~#dummies~0 := #Ultimate.alloc(40bv32); [L25] FCALL call ~#a~0 := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] COND TRUE !~bvslt32(~j~0, 10bv32) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32] COND TRUE ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32) [L33] FCALL call write~intINTTYPE4(~i~0, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L34] FCALL call write~$Pointer$({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, { base: ~#dummy~0!base, offset: ~#dummy~0!offset }, 4bv32); [L35] FCALL call write~$Pointer$(~#dummy~0, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L36] FCALL call write~$Pointer$({ base: ~#dummies~0!base, offset: ~#dummies~0!offset }, { base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem8 := read~$Pointer$({ base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem9 := read~$Pointer$({ base: #t~mem8!base, offset: ~bvadd32(#t~mem8!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L37] FCALL call #t~mem10 := read~$Pointer$({ base: #t~mem9!base, offset: #t~mem9!offset }, 4bv32); [L37] ~pa~0 := { base: #t~mem10!base, offset: ~bvadd32(#t~mem10!offset, ~bvmul32(4bv32, ~i~0)) }; [L37] havoc #t~mem8; [L37] havoc #t~mem10; [L37] havoc #t~mem9; [L38] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=7bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L38] COND TRUE ~bvsgt32(#t~mem11, 0bv32) [L38] havoc #t~mem11; [L39] FCALL call #t~mem12 := read~$Pointer$({ base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L39] FCALL call #t~mem13 := read~$Pointer$({ base: #t~mem12!base, offset: #t~mem12!offset }, 4bv32); [L39] FCALL call #t~mem14 := read~intINTTYPE4({ base: #t~mem13!base, offset: ~bvadd32(#t~mem13!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12; [L39] havoc #t~mem13; [L39] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40] FCALL call #t~mem15 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem15=872415232bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40-L42] COND TRUE !~bvslt32(~i~0, #t~mem15) [L40] havoc #t~mem15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0, ~i~0); VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L15-L18] ~pc := #in~pc; [L15-L18] ~i := #in~i; [L17] FCALL call #t~mem0 := read~$Pointer$({ base: ~pc!base, offset: ~pc!offset }, 4bv32); [L17] FCALL call #t~mem1 := read~$Pointer$({ base: #t~mem0!base, offset: ~bvadd32(#t~mem0!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] FCALL call #t~mem2 := read~$Pointer$({ base: #t~mem1!base, offset: #t~mem1!offset }, 4bv32); [L17] FCALL call #t~mem3 := read~intINTTYPE4({ base: #t~mem2!base, offset: ~bvadd32(#t~mem2!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0; [L17] havoc #t~mem1; [L17] havoc #t~mem3; [L17] havoc #t~mem2; VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc!base=8589329bv32, ~pc!offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] COND TRUE 0bv32 == #t~ret17 [L43] havoc #t~ret17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L51] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L22] FCALL call ~#cont~0 := #Ultimate.alloc(4bv32); [L23] FCALL call ~#dummy~0 := #Ultimate.alloc(4bv32); [L24] FCALL call ~#dummies~0 := #Ultimate.alloc(40bv32); [L25] FCALL call ~#a~0 := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] COND TRUE !~bvslt32(~j~0, 10bv32) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32] COND TRUE ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32) [L33] FCALL call write~intINTTYPE4(~i~0, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L34] FCALL call write~$Pointer$({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, { base: ~#dummy~0!base, offset: ~#dummy~0!offset }, 4bv32); [L35] FCALL call write~$Pointer$(~#dummy~0, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L36] FCALL call write~$Pointer$({ base: ~#dummies~0!base, offset: ~#dummies~0!offset }, { base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem8 := read~$Pointer$({ base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem9 := read~$Pointer$({ base: #t~mem8!base, offset: ~bvadd32(#t~mem8!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L37] FCALL call #t~mem10 := read~$Pointer$({ base: #t~mem9!base, offset: #t~mem9!offset }, 4bv32); [L37] ~pa~0 := { base: #t~mem10!base, offset: ~bvadd32(#t~mem10!offset, ~bvmul32(4bv32, ~i~0)) }; [L37] havoc #t~mem8; [L37] havoc #t~mem10; [L37] havoc #t~mem9; [L38] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=7bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L38] COND TRUE ~bvsgt32(#t~mem11, 0bv32) [L38] havoc #t~mem11; [L39] FCALL call #t~mem12 := read~$Pointer$({ base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L39] FCALL call #t~mem13 := read~$Pointer$({ base: #t~mem12!base, offset: #t~mem12!offset }, 4bv32); [L39] FCALL call #t~mem14 := read~intINTTYPE4({ base: #t~mem13!base, offset: ~bvadd32(#t~mem13!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12; [L39] havoc #t~mem13; [L39] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40] FCALL call #t~mem15 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem15=872415232bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40-L42] COND TRUE !~bvslt32(~i~0, #t~mem15) [L40] havoc #t~mem15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0, ~i~0); VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L15-L18] ~pc := #in~pc; [L15-L18] ~i := #in~i; [L17] FCALL call #t~mem0 := read~$Pointer$({ base: ~pc!base, offset: ~pc!offset }, 4bv32); [L17] FCALL call #t~mem1 := read~$Pointer$({ base: #t~mem0!base, offset: ~bvadd32(#t~mem0!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] FCALL call #t~mem2 := read~$Pointer$({ base: #t~mem1!base, offset: #t~mem1!offset }, 4bv32); [L17] FCALL call #t~mem3 := read~intINTTYPE4({ base: #t~mem2!base, offset: ~bvadd32(#t~mem2!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0; [L17] havoc #t~mem1; [L17] havoc #t~mem3; [L17] havoc #t~mem2; VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc!base=8589329bv32, ~pc!offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] COND TRUE 0bv32 == #t~ret17 [L43] havoc #t~ret17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L51] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret18 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L22] FCALL call ~#cont~0 := #Ultimate.alloc(4bv32); [L23] FCALL call ~#dummy~0 := #Ultimate.alloc(4bv32); [L24] FCALL call ~#dummies~0 := #Ultimate.alloc(40bv32); [L25] FCALL call ~#a~0 := #Ultimate.alloc(40bv32); [L26] havoc ~i~0; [L26] havoc ~pa~0; [L27] ~i~0 := #t~nondet4; [L27] havoc #t~nondet4; [L28] ~j~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=0bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=1bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=2bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=3bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=4bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=5bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=6bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=7bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=8bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28-L31] COND FALSE !(!~bvslt32(~j~0, 10bv32)) [L29] FCALL call write~intINTTYPE4(#t~nondet6, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L29] havoc #t~nondet6; [L30] FCALL call write~$Pointer$(#t~nondet7, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~j~0)) }, 4bv32); [L30] havoc #t~nondet7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=9bv32] [L28] #t~post5 := ~j~0; [L28] ~j~0 := ~bvadd32(1bv32, #t~post5); [L28] havoc #t~post5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L28-L31] COND TRUE !~bvslt32(~j~0, 10bv32) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32] [L32] COND TRUE ~bvsge32(~i~0, 0bv32) && ~bvslt32(~i~0, 9bv32) [L33] FCALL call write~intINTTYPE4(~i~0, { base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L34] FCALL call write~$Pointer$({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, { base: ~#dummy~0!base, offset: ~#dummy~0!offset }, 4bv32); [L35] FCALL call write~$Pointer$(~#dummy~0, { base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L36] FCALL call write~$Pointer$({ base: ~#dummies~0!base, offset: ~#dummies~0!offset }, { base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem8 := read~$Pointer$({ base: ~#cont~0!base, offset: ~#cont~0!offset }, 4bv32); [L37] FCALL call #t~mem9 := read~$Pointer$({ base: #t~mem8!base, offset: ~bvadd32(#t~mem8!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L37] FCALL call #t~mem10 := read~$Pointer$({ base: #t~mem9!base, offset: #t~mem9!offset }, 4bv32); [L37] ~pa~0 := { base: #t~mem10!base, offset: ~bvadd32(#t~mem10!offset, ~bvmul32(4bv32, ~i~0)) }; [L37] havoc #t~mem8; [L37] havoc #t~mem10; [L37] havoc #t~mem9; [L38] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~#a~0!base, offset: ~bvadd32(~#a~0!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=7bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=7bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L38] COND TRUE ~bvsgt32(#t~mem11, 0bv32) [L38] havoc #t~mem11; [L39] FCALL call #t~mem12 := read~$Pointer$({ base: ~#dummies~0!base, offset: ~bvadd32(~#dummies~0!offset, ~bvmul32(4bv32, ~bvadd32(1bv32, ~i~0))) }, 4bv32); [L39] FCALL call #t~mem13 := read~$Pointer$({ base: #t~mem12!base, offset: #t~mem12!offset }, 4bv32); [L39] FCALL call #t~mem14 := read~intINTTYPE4({ base: #t~mem13!base, offset: ~bvadd32(#t~mem13!offset, ~bvmul32(4bv32, ~i~0)) }, 4bv32); [L39] ~i~0 := ~bvsub32(#t~mem14, 10bv32); [L39] havoc #t~mem12; [L39] havoc #t~mem13; [L39] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40] FCALL call #t~mem15 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem15=872415232bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L40-L42] COND TRUE !~bvslt32(~i~0, #t~mem15) [L40] havoc #t~mem15; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] CALL call #t~ret17 := check(~#cont~0, ~i~0); VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32] [L15-L18] ~pc := #in~pc; [L15-L18] ~i := #in~i; [L17] FCALL call #t~mem0 := read~$Pointer$({ base: ~pc!base, offset: ~pc!offset }, 4bv32); [L17] FCALL call #t~mem1 := read~$Pointer$({ base: #t~mem0!base, offset: ~bvadd32(#t~mem0!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] FCALL call #t~mem2 := read~$Pointer$({ base: #t~mem1!base, offset: #t~mem1!offset }, 4bv32); [L17] FCALL call #t~mem3 := read~intINTTYPE4({ base: #t~mem2!base, offset: ~bvadd32(#t~mem2!offset, ~bvmul32(4bv32, ~i)) }, 4bv32); [L17] #res := (if #t~mem3 == ~i then 1bv32 else 0bv32); [L17] havoc #t~mem0; [L17] havoc #t~mem1; [L17] havoc #t~mem3; [L17] havoc #t~mem2; VAL [#in~i=1073741832bv32, #in~pc!base=8589329bv32, #in~pc!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~i=1073741832bv32, ~pc!base=8589329bv32, ~pc!offset=0bv32] [L43] RET call #t~ret17 := check(~#cont~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L43] COND TRUE 0bv32 == #t~ret17 [L43] havoc #t~ret17; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L51] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#a~0!base=4018008047bv32, ~#a~0!offset=0bv32, ~#cont~0!base=8589329bv32, ~#cont~0!offset=0bv32, ~#dummies~0!base=8523792bv32, ~#dummies~0!offset=0bv32, ~#dummy~0!base=8589331bv32, ~#dummy~0!offset=0bv32, ~i~0=1073741832bv32, ~j~0=10bv32, ~pa~0!base=8589331bv32, ~pa~0!offset=28bv32] [L22] struct cont cont; [L23] struct dummy dummy; [L24] struct dummy *dummies[10]; [L25] int a[10]; [L26] int i, *pa; [L27] i = __VERIFIER_nondet_int() [L28] int j = 0; VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=0] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=1] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=2] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=3] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=4] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=5] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=6] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=7] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=8] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=9] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=10] [L28] COND FALSE !(j < 10) VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=10] [L32] COND TRUE i >= 0 && i < 9 [L33] a[i] = i [L34] dummy.array = &a[i] [L35] dummies[i + 1] = &dummy [L36] cont.array = &dummies[0] [L37] EXPR cont.array [L37] EXPR cont.array[i] [L37] EXPR cont.array[i]->array [L37] pa = &cont.array[i]->array[i] [L38] EXPR a[i] VAL [a={-276959249:0}, a[i]=7, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=10, pa={8589331:28}] [L38] COND TRUE a[i] > 0 [L39] EXPR dummies[i + 1] [L39] EXPR dummies[i + 1]->array [L39] EXPR dummies[i + 1]->array[i] [L39] i = dummies[i + 1]->array[i] - 10 [L40] EXPR \read(*pa) VAL [\read(*pa)=872415232, a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=1073741832, j=10, pa={8589331:28}] [L40] COND FALSE !(i < *pa) [L43] CALL, EXPR check(&cont, i) VAL [\old(i)=1073741832, pc={8589329:0}] [L17] EXPR pc->array [L17] EXPR pc->array[i] [L17] EXPR pc->array[i]->array [L17] EXPR pc->array[i]->array[i] [L17] return pc->array[i]->array[i] == i; [L43] RET, EXPR check(&cont, i) VAL [a={-276959249:0}, check(&cont, i)=0, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=1073741832, j=10, pa={8589331:28}] [L43] COND TRUE !check(&cont, i) [L51] __VERIFIER_error() VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=1073741832, j=10, pa={8589331:28}] ----- [2018-11-23 11:07:38,139 INFO L145 WitnessManager]: Wrote witness to /storage/repos/svcomp/c/ldv-regression/test27_false-unreach-call_true-termination.c-witness.graphml [2018-11-23 11:07:38,140 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:07:38,141 INFO L168 Benchmark]: Toolchain (without parser) took 29631.42 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 728.8 MB). Free memory was 1.4 GB in the beginning and 1.8 GB in the end (delta: -337.2 MB). Peak memory consumption was 391.5 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:38,143 INFO L168 Benchmark]: CDTParser took 0.17 ms. Allocated memory is still 1.5 GB. Free memory is still 1.5 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:07:38,143 INFO L168 Benchmark]: CACSL2BoogieTranslator took 414.57 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:38,144 INFO L168 Benchmark]: Boogie Procedure Inliner took 34.27 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:38,145 INFO L168 Benchmark]: Boogie Preprocessor took 54.93 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:38,145 INFO L168 Benchmark]: RCFGBuilder took 1448.65 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 728.8 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -759.6 MB). Peak memory consumption was 15.4 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:38,146 INFO L168 Benchmark]: TraceAbstraction took 27549.71 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 1.8 GB in the end (delta: 388.0 MB). Peak memory consumption was 388.0 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:38,147 INFO L168 Benchmark]: Witness Printer took 122.69 ms. Allocated memory is still 2.3 GB. Free memory was 1.8 GB in the beginning and 1.8 GB in the end (delta: 13.2 MB). Peak memory consumption was 13.2 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:38,154 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.17 ms. Allocated memory is still 1.5 GB. Free memory is still 1.5 GB. There was no memory consumed. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 414.57 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 34.27 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 54.93 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. * RCFGBuilder took 1448.65 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 728.8 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -759.6 MB). Peak memory consumption was 15.4 MB. Max. memory is 7.1 GB. * TraceAbstraction took 27549.71 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 1.8 GB in the end (delta: 388.0 MB). Peak memory consumption was 388.0 MB. Max. memory is 7.1 GB. * Witness Printer took 122.69 ms. Allocated memory is still 2.3 GB. Free memory was 1.8 GB in the beginning and 1.8 GB in the end (delta: 13.2 MB). Peak memory consumption was 13.2 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 51]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L22] struct cont cont; [L23] struct dummy dummy; [L24] struct dummy *dummies[10]; [L25] int a[10]; [L26] int i, *pa; [L27] i = __VERIFIER_nondet_int() [L28] int j = 0; VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=0] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=1] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=2] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=3] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=4] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=5] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=6] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=7] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=8] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=9] [L28] COND TRUE j < 10 [L29] a[j] = __VERIFIER_nondet_int() [L30] dummies[j] = __VERIFIER_nondet_pointer() [L28] j++ VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=10] [L28] COND FALSE !(j < 10) VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=10] [L32] COND TRUE i >= 0 && i < 9 [L33] a[i] = i [L34] dummy.array = &a[i] [L35] dummies[i + 1] = &dummy [L36] cont.array = &dummies[0] [L37] EXPR cont.array [L37] EXPR cont.array[i] [L37] EXPR cont.array[i]->array [L37] pa = &cont.array[i]->array[i] [L38] EXPR a[i] VAL [a={-276959249:0}, a[i]=7, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=7, j=10, pa={8589331:28}] [L38] COND TRUE a[i] > 0 [L39] EXPR dummies[i + 1] [L39] EXPR dummies[i + 1]->array [L39] EXPR dummies[i + 1]->array[i] [L39] i = dummies[i + 1]->array[i] - 10 [L40] EXPR \read(*pa) VAL [\read(*pa)=872415232, a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=1073741832, j=10, pa={8589331:28}] [L40] COND FALSE !(i < *pa) [L43] CALL, EXPR check(&cont, i) VAL [\old(i)=1073741832, pc={8589329:0}] [L17] EXPR pc->array [L17] EXPR pc->array[i] [L17] EXPR pc->array[i]->array [L17] EXPR pc->array[i]->array[i] [L17] return pc->array[i]->array[i] == i; [L43] RET, EXPR check(&cont, i) VAL [a={-276959249:0}, check(&cont, i)=0, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=1073741832, j=10, pa={8589331:28}] [L43] COND TRUE !check(&cont, i) [L51] __VERIFIER_error() VAL [a={-276959249:0}, cont={8589329:0}, dummies={8523792:0}, dummy={8589331:0}, i=1073741832, j=10, pa={8589331:28}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 24 locations, 1 error locations. UNSAFE Result, 27.4s OverallTime, 5 OverallIterations, 10 TraceHistogramMax, 13.3s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 81 SDtfs, 15 SDslu, 176 SDs, 0 SdLazy, 92 SolverSat, 14 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.7s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 122 GetRequests, 102 SyntacticMatches, 0 SemanticMatches, 20 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6 ImplicationChecksByTransitivity, 0.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=38occurred in iteration=4, 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.1s AutomataMinimizationTime, 4 MinimizatonAttempts, 1 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 7.8s SatisfiabilityAnalysisTime, 1.2s InterpolantComputationTime, 114 NumberOfCodeBlocks, 114 NumberOfCodeBlocksAsserted, 16 NumberOfCheckSat, 115 ConstructedInterpolants, 0 QuantifiedInterpolants, 4221 SizeOfPredicates, 3 NumberOfNonLiveVariables, 318 ConjunctsInSsa, 12 ConjunctsInUnsatCore, 6 InterpolantComputations, 2 PerfectInterpolantSequences, 0/34 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...