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/test22_false-unreach-call.c -------------------------------------------------------------------------------- This is Ultimate 0.1.23-61f4311 [2018-11-23 11:07:03,472 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:07:03,475 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:07:03,493 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:07:03,494 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:07:03,495 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:07:03,497 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:07:03,500 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:07:03,503 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:07:03,505 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:07:03,506 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:07:03,506 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:07:03,509 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:07:03,510 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:07:03,511 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:07:03,519 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:07:03,520 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:07:03,523 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:07:03,528 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:07:03,531 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:07:03,533 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:07:03,535 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:07:03,539 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:07:03,539 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:07:03,539 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:07:03,540 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:07:03,541 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:07:03,542 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:07:03,544 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:07:03,546 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:07:03,546 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:07:03,547 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:07:03,547 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:07:03,547 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:07:03,548 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:07:03,549 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:07:03,549 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:03,564 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:07:03,564 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:07:03,565 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 11:07:03,565 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 11:07:03,566 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:07:03,566 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:07:03,566 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:07:03,567 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:07:03,567 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:07:03,567 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:07:03,567 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:07:03,567 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 11:07:03,568 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 11:07:03,568 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 11:07:03,568 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 11:07:03,568 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 11:07:03,568 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:07:03,569 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:07:03,569 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:07:03,569 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 11:07:03,569 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:07:03,570 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:07:03,570 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 11:07:03,570 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 11:07:03,570 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:07:03,570 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:07:03,571 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 11:07:03,571 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 11:07:03,571 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 11:07:03,571 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 11:07:03,571 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 11:07:03,572 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 11:07:03,572 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 11:07:03,629 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:07:03,643 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:07:03,649 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:07:03,651 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:07:03,652 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:07:03,653 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-regression/test22_false-unreach-call.c [2018-11-23 11:07:03,726 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/21c620ae4/b1e7cd902bd5456aaacba3516651f7d8/FLAG1c84761a0 [2018-11-23 11:07:04,192 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:07:04,193 INFO L161 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-regression/test22_false-unreach-call.c [2018-11-23 11:07:04,200 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/21c620ae4/b1e7cd902bd5456aaacba3516651f7d8/FLAG1c84761a0 [2018-11-23 11:07:04,526 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/21c620ae4/b1e7cd902bd5456aaacba3516651f7d8 [2018-11-23 11:07:04,536 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:07:04,538 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:07:04,539 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:07:04,539 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:07:04,543 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:07:04,546 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:07:04" (1/1) ... [2018-11-23 11:07:04,549 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3aa6eae and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:04, skipping insertion in model container [2018-11-23 11:07:04,549 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:07:04" (1/1) ... [2018-11-23 11:07:04,560 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:07:04,594 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:07:04,859 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:07:04,881 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:07:04,907 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:07:04,930 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:07:04,930 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:04 WrapperNode [2018-11-23 11:07:04,931 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:07:04,931 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:07:04,931 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:07:04,931 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:07:04,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:04" (1/1) ... [2018-11-23 11:07:04,951 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:04" (1/1) ... [2018-11-23 11:07:04,960 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:07:04,960 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:07:04,961 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:07:04,961 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:07:04,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:04" (1/1) ... [2018-11-23 11:07:04,972 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:04" (1/1) ... [2018-11-23 11:07:04,975 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:04" (1/1) ... [2018-11-23 11:07:04,975 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:04" (1/1) ... [2018-11-23 11:07:04,991 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:04" (1/1) ... [2018-11-23 11:07:04,997 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:04" (1/1) ... [2018-11-23 11:07:04,999 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:04" (1/1) ... [2018-11-23 11:07:05,002 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:07:05,003 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:07:05,003 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:07:05,003 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:07:05,004 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:04" (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:05,146 INFO L130 BoogieDeclarations]: Found specification of procedure init [2018-11-23 11:07:05,146 INFO L138 BoogieDeclarations]: Found implementation of procedure init [2018-11-23 11:07:05,146 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 11:07:05,146 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 11:07:05,146 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2018-11-23 11:07:05,147 INFO L130 BoogieDeclarations]: Found specification of procedure check [2018-11-23 11:07:05,147 INFO L138 BoogieDeclarations]: Found implementation of procedure check [2018-11-23 11:07:05,147 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 11:07:05,147 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 11:07:05,147 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:07:05,147 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 11:07:05,148 INFO L130 BoogieDeclarations]: Found specification of procedure get_dummy [2018-11-23 11:07:05,148 INFO L138 BoogieDeclarations]: Found implementation of procedure get_dummy [2018-11-23 11:07:05,148 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:07:05,148 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:07:05,148 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 11:07:05,925 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:07:05,925 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-11-23 11:07:05,926 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:07:05 BoogieIcfgContainer [2018-11-23 11:07:05,926 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:07:05,927 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 11:07:05,927 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 11:07:05,931 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 11:07:05,931 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 11:07:04" (1/3) ... [2018-11-23 11:07:05,932 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3e205879 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:07:05, skipping insertion in model container [2018-11-23 11:07:05,932 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:07:04" (2/3) ... [2018-11-23 11:07:05,933 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3e205879 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:07:05, skipping insertion in model container [2018-11-23 11:07:05,933 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:07:05" (3/3) ... [2018-11-23 11:07:05,935 INFO L112 eAbstractionObserver]: Analyzing ICFG test22_false-unreach-call.c [2018-11-23 11:07:05,945 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 11:07:05,953 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 11:07:05,972 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 11:07:06,004 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:07:06,005 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 11:07:06,005 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 11:07:06,005 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 11:07:06,007 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:07:06,007 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:07:06,007 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 11:07:06,008 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:07:06,008 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 11:07:06,026 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states. [2018-11-23 11:07:06,035 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 37 [2018-11-23 11:07:06,035 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:06,036 INFO L402 BasicCegarLoop]: trace histogram [3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:06,039 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:06,044 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:06,044 INFO L82 PathProgramCache]: Analyzing trace with hash 80965718, now seen corresponding path program 1 times [2018-11-23 11:07:06,049 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:06,049 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:06,072 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:07:06,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:06,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:06,200 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:07:06,472 INFO L256 TraceCheckUtils]: 0: Hoare triple {38#true} call ULTIMATE.init(); {38#true} is VALID [2018-11-23 11:07:06,476 INFO L273 TraceCheckUtils]: 1: Hoare triple {38#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~#d1~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~#d2~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); {38#true} is VALID [2018-11-23 11:07:06,477 INFO L273 TraceCheckUtils]: 2: Hoare triple {38#true} assume true; {38#true} is VALID [2018-11-23 11:07:06,478 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {38#true} {38#true} #60#return; {38#true} is VALID [2018-11-23 11:07:06,478 INFO L256 TraceCheckUtils]: 4: Hoare triple {38#true} call #t~ret17 := main(); {38#true} is VALID [2018-11-23 11:07:06,479 INFO L256 TraceCheckUtils]: 5: Hoare triple {38#true} call init(); {38#true} is VALID [2018-11-23 11:07:06,479 INFO L273 TraceCheckUtils]: 6: Hoare triple {38#true} call write~intINTTYPE4(#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4bv32);havoc #t~nondet0;call write~intINTTYPE4(#t~nondet1, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);havoc #t~nondet1;call write~intINTTYPE4(#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4bv32);havoc #t~nondet2;call write~intINTTYPE4(#t~nondet3, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32);havoc #t~nondet3; {38#true} is VALID [2018-11-23 11:07:06,479 INFO L273 TraceCheckUtils]: 7: Hoare triple {38#true} assume true; {38#true} is VALID [2018-11-23 11:07:06,480 INFO L268 TraceCheckUtils]: 8: Hoare quadruple {38#true} {38#true} #64#return; {38#true} is VALID [2018-11-23 11:07:06,480 INFO L256 TraceCheckUtils]: 9: Hoare triple {38#true} call #t~ret7.base, #t~ret7.offset := get_dummy(); {38#true} is VALID [2018-11-23 11:07:06,480 INFO L273 TraceCheckUtils]: 10: Hoare triple {38#true} assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; {38#true} is VALID [2018-11-23 11:07:06,481 INFO L273 TraceCheckUtils]: 11: Hoare triple {38#true} #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; {38#true} is VALID [2018-11-23 11:07:06,481 INFO L273 TraceCheckUtils]: 12: Hoare triple {38#true} assume true; {38#true} is VALID [2018-11-23 11:07:06,482 INFO L268 TraceCheckUtils]: 13: Hoare quadruple {38#true} {38#true} #66#return; {38#true} is VALID [2018-11-23 11:07:06,482 INFO L273 TraceCheckUtils]: 14: Hoare triple {38#true} ~pd1~0.base, ~pd1~0.offset := #t~ret7.base, #t~ret7.offset;havoc #t~ret7.base, #t~ret7.offset; {38#true} is VALID [2018-11-23 11:07:06,482 INFO L256 TraceCheckUtils]: 15: Hoare triple {38#true} call #t~ret8.base, #t~ret8.offset := get_dummy(); {38#true} is VALID [2018-11-23 11:07:06,483 INFO L273 TraceCheckUtils]: 16: Hoare triple {38#true} assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; {38#true} is VALID [2018-11-23 11:07:06,483 INFO L273 TraceCheckUtils]: 17: Hoare triple {38#true} #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; {38#true} is VALID [2018-11-23 11:07:06,483 INFO L273 TraceCheckUtils]: 18: Hoare triple {38#true} assume true; {38#true} is VALID [2018-11-23 11:07:06,484 INFO L268 TraceCheckUtils]: 19: Hoare quadruple {38#true} {38#true} #68#return; {38#true} is VALID [2018-11-23 11:07:06,484 INFO L273 TraceCheckUtils]: 20: Hoare triple {38#true} ~pd2~0.base, ~pd2~0.offset := #t~ret8.base, #t~ret8.offset;havoc #t~ret8.base, #t~ret8.offset; {38#true} is VALID [2018-11-23 11:07:06,484 INFO L256 TraceCheckUtils]: 21: Hoare triple {38#true} call #t~ret9.base, #t~ret9.offset := get_dummy(); {38#true} is VALID [2018-11-23 11:07:06,485 INFO L273 TraceCheckUtils]: 22: Hoare triple {38#true} assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; {38#true} is VALID [2018-11-23 11:07:06,485 INFO L273 TraceCheckUtils]: 23: Hoare triple {38#true} #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; {38#true} is VALID [2018-11-23 11:07:06,485 INFO L273 TraceCheckUtils]: 24: Hoare triple {38#true} assume true; {38#true} is VALID [2018-11-23 11:07:06,485 INFO L268 TraceCheckUtils]: 25: Hoare quadruple {38#true} {38#true} #70#return; {38#true} is VALID [2018-11-23 11:07:06,486 INFO L273 TraceCheckUtils]: 26: Hoare triple {38#true} ~pd3~0.base, ~pd3~0.offset := #t~ret9.base, #t~ret9.offset;havoc #t~ret9.base, #t~ret9.offset;~i~0 := #t~nondet10;havoc #t~nondet10;#t~short12 := (~pd1~0.base != 0bv32 || ~pd1~0.offset != 0bv32) && ~pd1~0.base == ~pd2~0.base && ~pd1~0.offset == ~pd2~0.offset; {38#true} is VALID [2018-11-23 11:07:06,486 INFO L273 TraceCheckUtils]: 27: Hoare triple {38#true} assume #t~short12;call #t~mem11 := read~intINTTYPE4(~pd2~0.base, ~pd2~0.offset, 4bv32);#t~short12 := ~bvsgt32(#t~mem11, 0bv32); {38#true} is VALID [2018-11-23 11:07:06,486 INFO L273 TraceCheckUtils]: 28: Hoare triple {38#true} assume #t~short12;havoc #t~mem11;havoc #t~short12;~pa~0.base, ~pa~0.offset := ~pd1~0.base, ~pd1~0.offset;call #t~mem13 := read~intINTTYPE4(~pd3~0.base, ~pd3~0.offset, 4bv32);~i~0 := ~bvsub32(#t~mem13, 10bv32);havoc #t~mem13; {38#true} is VALID [2018-11-23 11:07:06,487 INFO L273 TraceCheckUtils]: 29: Hoare triple {38#true} assume !true; {39#false} is VALID [2018-11-23 11:07:06,488 INFO L256 TraceCheckUtils]: 30: Hoare triple {39#false} call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); {39#false} is VALID [2018-11-23 11:07:06,488 INFO L273 TraceCheckUtils]: 31: Hoare triple {39#false} ~s1.base, ~s1.offset := #in~s1.base, #in~s1.offset;~i := #in~i;call #t~mem6 := read~intINTTYPE4(~s1.base, ~s1.offset, 4bv32);#res := (if #t~mem6 == ~i then 1bv32 else 0bv32);havoc #t~mem6; {39#false} is VALID [2018-11-23 11:07:06,488 INFO L273 TraceCheckUtils]: 32: Hoare triple {39#false} assume true; {39#false} is VALID [2018-11-23 11:07:06,489 INFO L268 TraceCheckUtils]: 33: Hoare quadruple {39#false} {39#false} #72#return; {39#false} is VALID [2018-11-23 11:07:06,489 INFO L273 TraceCheckUtils]: 34: Hoare triple {39#false} assume 0bv32 == #t~ret16;havoc #t~ret16; {39#false} is VALID [2018-11-23 11:07:06,489 INFO L273 TraceCheckUtils]: 35: Hoare triple {39#false} assume !false; {39#false} is VALID [2018-11-23 11:07:06,499 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 12 trivial. 0 not checked. [2018-11-23 11:07:06,500 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 (2)] Exception during sending of exit command (exit): Broken pipe [2018-11-23 11:07:06,507 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:07:06,508 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 11:07:06,517 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 36 [2018-11-23 11:07:06,520 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:07:06,525 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 2 states. [2018-11-23 11:07:06,734 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 30 edges. 30 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:06,734 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 11:07:06,743 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 11:07:06,743 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 11:07:06,746 INFO L87 Difference]: Start difference. First operand 35 states. Second operand 2 states. [2018-11-23 11:07:06,891 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:06,891 INFO L93 Difference]: Finished difference Result 47 states and 54 transitions. [2018-11-23 11:07:06,891 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 11:07:06,892 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 36 [2018-11-23 11:07:06,892 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:07:06,894 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2018-11-23 11:07:06,905 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 54 transitions. [2018-11-23 11:07:06,906 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2018-11-23 11:07:06,911 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 54 transitions. [2018-11-23 11:07:06,911 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 2 states and 54 transitions. [2018-11-23 11:07:07,137 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 54 edges. 54 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:07,161 INFO L225 Difference]: With dead ends: 47 [2018-11-23 11:07:07,162 INFO L226 Difference]: Without dead ends: 30 [2018-11-23 11:07:07,169 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 35 GetRequests, 35 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:07,191 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states. [2018-11-23 11:07:07,376 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 30. [2018-11-23 11:07:07,377 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:07:07,378 INFO L82 GeneralOperation]: Start isEquivalent. First operand 30 states. Second operand 30 states. [2018-11-23 11:07:07,379 INFO L74 IsIncluded]: Start isIncluded. First operand 30 states. Second operand 30 states. [2018-11-23 11:07:07,380 INFO L87 Difference]: Start difference. First operand 30 states. Second operand 30 states. [2018-11-23 11:07:07,394 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:07,394 INFO L93 Difference]: Finished difference Result 30 states and 34 transitions. [2018-11-23 11:07:07,394 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 34 transitions. [2018-11-23 11:07:07,395 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:07,396 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:07,397 INFO L74 IsIncluded]: Start isIncluded. First operand 30 states. Second operand 30 states. [2018-11-23 11:07:07,397 INFO L87 Difference]: Start difference. First operand 30 states. Second operand 30 states. [2018-11-23 11:07:07,407 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:07,408 INFO L93 Difference]: Finished difference Result 30 states and 34 transitions. [2018-11-23 11:07:07,408 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 34 transitions. [2018-11-23 11:07:07,409 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:07,409 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:07,409 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:07:07,411 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:07:07,412 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 30 states. [2018-11-23 11:07:07,416 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 30 states and 34 transitions. [2018-11-23 11:07:07,420 INFO L78 Accepts]: Start accepts. Automaton has 30 states and 34 transitions. Word has length 36 [2018-11-23 11:07:07,421 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:07:07,422 INFO L480 AbstractCegarLoop]: Abstraction has 30 states and 34 transitions. [2018-11-23 11:07:07,422 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 11:07:07,422 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 34 transitions. [2018-11-23 11:07:07,423 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 38 [2018-11-23 11:07:07,424 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:07,424 INFO L402 BasicCegarLoop]: trace histogram [3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:07,425 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:07,425 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:07,426 INFO L82 PathProgramCache]: Analyzing trace with hash 76840485, now seen corresponding path program 1 times [2018-11-23 11:07:07,427 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:07,427 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:07,459 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:07:07,573 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:07,638 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:07,643 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:07:08,339 WARN L180 SmtUtils]: Spent 110.00 ms on a formula simplification that was a NOOP. DAG size: 9 [2018-11-23 11:07:09,155 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 24 treesize of output 18 [2018-11-23 11:07:09,169 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 18 treesize of output 11 [2018-11-23 11:07:09,170 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-23 11:07:09,180 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:07:09,189 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:07:09,189 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 2 variables, input treesize:24, output treesize:11 [2018-11-23 11:07:09,200 WARN L383 uantifierElimination]: Trying to double check SDD result, but SMT solver's response was UNKNOWN. [2018-11-23 11:07:09,200 WARN L384 uantifierElimination]: Input elimination task: ∃ [|#memory_int|, main_~pa~0.base]. (let ((.cse0 (select (select |#memory_int| main_~pa~0.base) (_ bv0 32)))) (and (bvsgt .cse0 (_ bv0 32)) (= (bvadd main_~i~0 (_ bv10 32)) .cse0) (= |main_#t~mem14| .cse0))) [2018-11-23 11:07:09,201 WARN L385 uantifierElimination]: ElimStorePlain result: ∃ []. (let ((.cse0 (bvadd main_~i~0 (_ bv10 32)))) (and (= |main_#t~mem14| .cse0) (bvsgt .cse0 (_ bv0 32)))) [2018-11-23 11:07:09,448 INFO L256 TraceCheckUtils]: 0: Hoare triple {313#true} call ULTIMATE.init(); {313#true} is VALID [2018-11-23 11:07:09,457 INFO L273 TraceCheckUtils]: 1: Hoare triple {313#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~#d1~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~#d2~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,470 INFO L273 TraceCheckUtils]: 2: Hoare triple {321#(= (_ bv0 32) |~#d1~0.offset|)} assume true; {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,476 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {321#(= (_ bv0 32) |~#d1~0.offset|)} {313#true} #60#return; {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,489 INFO L256 TraceCheckUtils]: 4: Hoare triple {321#(= (_ bv0 32) |~#d1~0.offset|)} call #t~ret17 := main(); {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,490 INFO L256 TraceCheckUtils]: 5: Hoare triple {321#(= (_ bv0 32) |~#d1~0.offset|)} call init(); {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,491 INFO L273 TraceCheckUtils]: 6: Hoare triple {321#(= (_ bv0 32) |~#d1~0.offset|)} call write~intINTTYPE4(#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4bv32);havoc #t~nondet0;call write~intINTTYPE4(#t~nondet1, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);havoc #t~nondet1;call write~intINTTYPE4(#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4bv32);havoc #t~nondet2;call write~intINTTYPE4(#t~nondet3, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32);havoc #t~nondet3; {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,494 INFO L273 TraceCheckUtils]: 7: Hoare triple {321#(= (_ bv0 32) |~#d1~0.offset|)} assume true; {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,497 INFO L268 TraceCheckUtils]: 8: Hoare quadruple {321#(= (_ bv0 32) |~#d1~0.offset|)} {321#(= (_ bv0 32) |~#d1~0.offset|)} #64#return; {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,516 INFO L256 TraceCheckUtils]: 9: Hoare triple {321#(= (_ bv0 32) |~#d1~0.offset|)} call #t~ret7.base, #t~ret7.offset := get_dummy(); {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,531 INFO L273 TraceCheckUtils]: 10: Hoare triple {321#(= (_ bv0 32) |~#d1~0.offset|)} assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; {349#(and (= |get_dummy_#t~ite5.offset| |~#d1~0.offset|) (= |~#d1~0.base| |get_dummy_#t~ite5.base|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,540 INFO L273 TraceCheckUtils]: 11: Hoare triple {349#(and (= |get_dummy_#t~ite5.offset| |~#d1~0.offset|) (= |~#d1~0.base| |get_dummy_#t~ite5.base|) (= (_ bv0 32) |~#d1~0.offset|))} #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,544 INFO L273 TraceCheckUtils]: 12: Hoare triple {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} assume true; {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,545 INFO L268 TraceCheckUtils]: 13: Hoare quadruple {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} {321#(= (_ bv0 32) |~#d1~0.offset|)} #66#return; {360#(and (= |main_#t~ret7.offset| |~#d1~0.offset|) (= |~#d1~0.base| |main_#t~ret7.base|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,550 INFO L273 TraceCheckUtils]: 14: Hoare triple {360#(and (= |main_#t~ret7.offset| |~#d1~0.offset|) (= |~#d1~0.base| |main_#t~ret7.base|) (= (_ bv0 32) |~#d1~0.offset|))} ~pd1~0.base, ~pd1~0.offset := #t~ret7.base, #t~ret7.offset;havoc #t~ret7.base, #t~ret7.offset; {364#(and (= |~#d1~0.base| main_~pd1~0.base) (= main_~pd1~0.offset |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,551 INFO L256 TraceCheckUtils]: 15: Hoare triple {364#(and (= |~#d1~0.base| main_~pd1~0.base) (= main_~pd1~0.offset |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} call #t~ret8.base, #t~ret8.offset := get_dummy(); {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,552 INFO L273 TraceCheckUtils]: 16: Hoare triple {321#(= (_ bv0 32) |~#d1~0.offset|)} assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; {349#(and (= |get_dummy_#t~ite5.offset| |~#d1~0.offset|) (= |~#d1~0.base| |get_dummy_#t~ite5.base|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,552 INFO L273 TraceCheckUtils]: 17: Hoare triple {349#(and (= |get_dummy_#t~ite5.offset| |~#d1~0.offset|) (= |~#d1~0.base| |get_dummy_#t~ite5.base|) (= (_ bv0 32) |~#d1~0.offset|))} #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,554 INFO L273 TraceCheckUtils]: 18: Hoare triple {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} assume true; {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,556 INFO L268 TraceCheckUtils]: 19: Hoare quadruple {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} {364#(and (= |~#d1~0.base| main_~pd1~0.base) (= main_~pd1~0.offset |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} #68#return; {380#(and (= |~#d1~0.base| main_~pd1~0.base) (= |~#d1~0.offset| |main_#t~ret8.offset|) (= |~#d1~0.base| |main_#t~ret8.base|) (= main_~pd1~0.offset |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,557 INFO L273 TraceCheckUtils]: 20: Hoare triple {380#(and (= |~#d1~0.base| main_~pd1~0.base) (= |~#d1~0.offset| |main_#t~ret8.offset|) (= |~#d1~0.base| |main_#t~ret8.base|) (= main_~pd1~0.offset |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} ~pd2~0.base, ~pd2~0.offset := #t~ret8.base, #t~ret8.offset;havoc #t~ret8.base, #t~ret8.offset; {384#(and (= |~#d1~0.base| main_~pd1~0.base) (= |~#d1~0.base| main_~pd2~0.base) (= main_~pd1~0.offset |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|) (= main_~pd2~0.offset |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,559 INFO L256 TraceCheckUtils]: 21: Hoare triple {384#(and (= |~#d1~0.base| main_~pd1~0.base) (= |~#d1~0.base| main_~pd2~0.base) (= main_~pd1~0.offset |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|) (= main_~pd2~0.offset |~#d1~0.offset|))} call #t~ret9.base, #t~ret9.offset := get_dummy(); {321#(= (_ bv0 32) |~#d1~0.offset|)} is VALID [2018-11-23 11:07:09,560 INFO L273 TraceCheckUtils]: 22: Hoare triple {321#(= (_ bv0 32) |~#d1~0.offset|)} assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; {349#(and (= |get_dummy_#t~ite5.offset| |~#d1~0.offset|) (= |~#d1~0.base| |get_dummy_#t~ite5.base|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,561 INFO L273 TraceCheckUtils]: 23: Hoare triple {349#(and (= |get_dummy_#t~ite5.offset| |~#d1~0.offset|) (= |~#d1~0.base| |get_dummy_#t~ite5.base|) (= (_ bv0 32) |~#d1~0.offset|))} #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,562 INFO L273 TraceCheckUtils]: 24: Hoare triple {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} assume true; {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} is VALID [2018-11-23 11:07:09,565 INFO L268 TraceCheckUtils]: 25: Hoare quadruple {353#(and (= |get_dummy_#res.base| |~#d1~0.base|) (= |get_dummy_#res.offset| |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|))} {384#(and (= |~#d1~0.base| main_~pd1~0.base) (= |~#d1~0.base| main_~pd2~0.base) (= main_~pd1~0.offset |~#d1~0.offset|) (= (_ bv0 32) |~#d1~0.offset|) (= main_~pd2~0.offset |~#d1~0.offset|))} #70#return; {400#(and (= main_~pd2~0.offset |main_#t~ret9.offset|) (= main_~pd1~0.base |main_#t~ret9.base|) (= main_~pd2~0.base main_~pd1~0.base) (= main_~pd1~0.offset |main_#t~ret9.offset|) (= (_ bv0 32) |main_#t~ret9.offset|))} is VALID [2018-11-23 11:07:09,587 INFO L273 TraceCheckUtils]: 26: Hoare triple {400#(and (= main_~pd2~0.offset |main_#t~ret9.offset|) (= main_~pd1~0.base |main_#t~ret9.base|) (= main_~pd2~0.base main_~pd1~0.base) (= main_~pd1~0.offset |main_#t~ret9.offset|) (= (_ bv0 32) |main_#t~ret9.offset|))} ~pd3~0.base, ~pd3~0.offset := #t~ret9.base, #t~ret9.offset;havoc #t~ret9.base, #t~ret9.offset;~i~0 := #t~nondet10;havoc #t~nondet10;#t~short12 := (~pd1~0.base != 0bv32 || ~pd1~0.offset != 0bv32) && ~pd1~0.base == ~pd2~0.base && ~pd1~0.offset == ~pd2~0.offset; {404#(and (= main_~pd3~0.base main_~pd1~0.base) (= main_~pd2~0.base main_~pd1~0.base) (= main_~pd1~0.offset (_ bv0 32)) (= main_~pd1~0.offset main_~pd2~0.offset) (= main_~pd1~0.offset main_~pd3~0.offset))} is VALID [2018-11-23 11:07:09,597 INFO L273 TraceCheckUtils]: 27: Hoare triple {404#(and (= main_~pd3~0.base main_~pd1~0.base) (= main_~pd2~0.base main_~pd1~0.base) (= main_~pd1~0.offset (_ bv0 32)) (= main_~pd1~0.offset main_~pd2~0.offset) (= main_~pd1~0.offset main_~pd3~0.offset))} assume #t~short12;call #t~mem11 := read~intINTTYPE4(~pd2~0.base, ~pd2~0.offset, 4bv32);#t~short12 := ~bvsgt32(#t~mem11, 0bv32); {408#(and (or (and (bvsgt (select (select |#memory_int| main_~pd1~0.base) main_~pd1~0.offset) (_ bv0 32)) |main_#t~short12|) (and (not (bvsgt (select (select |#memory_int| main_~pd1~0.base) main_~pd1~0.offset) (_ bv0 32))) (not |main_#t~short12|))) (= main_~pd3~0.base main_~pd1~0.base) (= main_~pd1~0.offset (_ bv0 32)) (= main_~pd1~0.offset main_~pd3~0.offset))} is VALID [2018-11-23 11:07:09,607 INFO L273 TraceCheckUtils]: 28: Hoare triple {408#(and (or (and (bvsgt (select (select |#memory_int| main_~pd1~0.base) main_~pd1~0.offset) (_ bv0 32)) |main_#t~short12|) (and (not (bvsgt (select (select |#memory_int| main_~pd1~0.base) main_~pd1~0.offset) (_ bv0 32))) (not |main_#t~short12|))) (= main_~pd3~0.base main_~pd1~0.base) (= main_~pd1~0.offset (_ bv0 32)) (= main_~pd1~0.offset main_~pd3~0.offset))} assume #t~short12;havoc #t~mem11;havoc #t~short12;~pa~0.base, ~pa~0.offset := ~pd1~0.base, ~pd1~0.offset;call #t~mem13 := read~intINTTYPE4(~pd3~0.base, ~pd3~0.offset, 4bv32);~i~0 := ~bvsub32(#t~mem13, 10bv32);havoc #t~mem13; {412#(and (bvsgt (select (select |#memory_int| main_~pa~0.base) main_~pa~0.offset) (_ bv0 32)) (= (bvadd main_~i~0 (_ bv10 32)) (select (select |#memory_int| main_~pa~0.base) main_~pa~0.offset)) (= (_ bv0 32) main_~pa~0.offset))} is VALID [2018-11-23 11:07:09,620 INFO L273 TraceCheckUtils]: 29: Hoare triple {412#(and (bvsgt (select (select |#memory_int| main_~pa~0.base) main_~pa~0.offset) (_ bv0 32)) (= (bvadd main_~i~0 (_ bv10 32)) (select (select |#memory_int| main_~pa~0.base) main_~pa~0.offset)) (= (_ bv0 32) main_~pa~0.offset))} call #t~mem14 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); {416#(and (= (bvadd |main_#t~mem14| (_ bv4294967286 32)) main_~i~0) (bvsgt (bvadd main_~i~0 (_ bv10 32)) (_ bv0 32)))} is VALID [2018-11-23 11:07:09,623 INFO L273 TraceCheckUtils]: 30: Hoare triple {416#(and (= (bvadd |main_#t~mem14| (_ bv4294967286 32)) main_~i~0) (bvsgt (bvadd main_~i~0 (_ bv10 32)) (_ bv0 32)))} assume !~bvslt32(~i~0, #t~mem14);havoc #t~mem14; {314#false} is VALID [2018-11-23 11:07:09,623 INFO L256 TraceCheckUtils]: 31: Hoare triple {314#false} call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); {314#false} is VALID [2018-11-23 11:07:09,623 INFO L273 TraceCheckUtils]: 32: Hoare triple {314#false} ~s1.base, ~s1.offset := #in~s1.base, #in~s1.offset;~i := #in~i;call #t~mem6 := read~intINTTYPE4(~s1.base, ~s1.offset, 4bv32);#res := (if #t~mem6 == ~i then 1bv32 else 0bv32);havoc #t~mem6; {314#false} is VALID [2018-11-23 11:07:09,624 INFO L273 TraceCheckUtils]: 33: Hoare triple {314#false} assume true; {314#false} is VALID [2018-11-23 11:07:09,624 INFO L268 TraceCheckUtils]: 34: Hoare quadruple {314#false} {314#false} #72#return; {314#false} is VALID [2018-11-23 11:07:09,625 INFO L273 TraceCheckUtils]: 35: Hoare triple {314#false} assume 0bv32 == #t~ret16;havoc #t~ret16; {314#false} is VALID [2018-11-23 11:07:09,625 INFO L273 TraceCheckUtils]: 36: Hoare triple {314#false} assume !false; {314#false} is VALID [2018-11-23 11:07:09,631 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 12 trivial. 0 not checked. [2018-11-23 11:07:09,632 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:07:09,637 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:07:09,637 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [14] imperfect sequences [] total 14 [2018-11-23 11:07:09,640 INFO L78 Accepts]: Start accepts. Automaton has 14 states. Word has length 37 [2018-11-23 11:07:09,642 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:07:09,642 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 14 states. [2018-11-23 11:07:09,770 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 31 edges. 31 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:09,771 INFO L459 AbstractCegarLoop]: Interpolant automaton has 14 states [2018-11-23 11:07:09,771 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 14 interpolants. [2018-11-23 11:07:09,771 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=33, Invalid=149, Unknown=0, NotChecked=0, Total=182 [2018-11-23 11:07:09,771 INFO L87 Difference]: Start difference. First operand 30 states and 34 transitions. Second operand 14 states. [2018-11-23 11:07:11,775 WARN L180 SmtUtils]: Spent 107.00 ms on a formula simplification. DAG size of input: 30 DAG size of output: 27 [2018-11-23 11:07:12,415 WARN L180 SmtUtils]: Spent 127.00 ms on a formula simplification. DAG size of input: 36 DAG size of output: 32 [2018-11-23 11:07:13,289 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:13,290 INFO L93 Difference]: Finished difference Result 76 states and 94 transitions. [2018-11-23 11:07:13,290 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 14 states. [2018-11-23 11:07:13,290 INFO L78 Accepts]: Start accepts. Automaton has 14 states. Word has length 37 [2018-11-23 11:07:13,291 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:07:13,291 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 14 states. [2018-11-23 11:07:13,299 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 94 transitions. [2018-11-23 11:07:13,300 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 14 states. [2018-11-23 11:07:13,307 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 94 transitions. [2018-11-23 11:07:13,307 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 14 states and 94 transitions. [2018-11-23 11:07:13,510 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 94 edges. 94 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:13,516 INFO L225 Difference]: With dead ends: 76 [2018-11-23 11:07:13,516 INFO L226 Difference]: Without dead ends: 69 [2018-11-23 11:07:13,518 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 41 GetRequests, 24 SyntacticMatches, 0 SemanticMatches, 17 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 36 ImplicationChecksByTransitivity, 1.6s TimeCoverageRelationStatistics Valid=71, Invalid=271, Unknown=0, NotChecked=0, Total=342 [2018-11-23 11:07:13,518 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 69 states. [2018-11-23 11:07:13,700 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 69 to 42. [2018-11-23 11:07:13,701 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:07:13,701 INFO L82 GeneralOperation]: Start isEquivalent. First operand 69 states. Second operand 42 states. [2018-11-23 11:07:13,701 INFO L74 IsIncluded]: Start isIncluded. First operand 69 states. Second operand 42 states. [2018-11-23 11:07:13,701 INFO L87 Difference]: Start difference. First operand 69 states. Second operand 42 states. [2018-11-23 11:07:13,709 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:13,710 INFO L93 Difference]: Finished difference Result 69 states and 87 transitions. [2018-11-23 11:07:13,710 INFO L276 IsEmpty]: Start isEmpty. Operand 69 states and 87 transitions. [2018-11-23 11:07:13,711 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:13,712 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:13,712 INFO L74 IsIncluded]: Start isIncluded. First operand 42 states. Second operand 69 states. [2018-11-23 11:07:13,712 INFO L87 Difference]: Start difference. First operand 42 states. Second operand 69 states. [2018-11-23 11:07:13,720 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:13,720 INFO L93 Difference]: Finished difference Result 69 states and 87 transitions. [2018-11-23 11:07:13,720 INFO L276 IsEmpty]: Start isEmpty. Operand 69 states and 87 transitions. [2018-11-23 11:07:13,722 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:13,722 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:13,722 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:07:13,722 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:07:13,722 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 42 states. [2018-11-23 11:07:13,727 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 42 states and 53 transitions. [2018-11-23 11:07:13,727 INFO L78 Accepts]: Start accepts. Automaton has 42 states and 53 transitions. Word has length 37 [2018-11-23 11:07:13,728 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:07:13,728 INFO L480 AbstractCegarLoop]: Abstraction has 42 states and 53 transitions. [2018-11-23 11:07:13,728 INFO L481 AbstractCegarLoop]: Interpolant automaton has 14 states. [2018-11-23 11:07:13,728 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 53 transitions. [2018-11-23 11:07:13,730 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 38 [2018-11-23 11:07:13,730 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:13,730 INFO L402 BasicCegarLoop]: trace histogram [3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:13,730 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:13,731 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:13,731 INFO L82 PathProgramCache]: Analyzing trace with hash -316186525, now seen corresponding path program 1 times [2018-11-23 11:07:13,731 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:13,732 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:13,761 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:07:13,799 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:13,821 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:07:13,823 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:07:13,900 INFO L256 TraceCheckUtils]: 0: Hoare triple {748#true} call ULTIMATE.init(); {748#true} is VALID [2018-11-23 11:07:13,900 INFO L273 TraceCheckUtils]: 1: Hoare triple {748#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~#d1~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~#d2~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); {748#true} is VALID [2018-11-23 11:07:13,901 INFO L273 TraceCheckUtils]: 2: Hoare triple {748#true} assume true; {748#true} is VALID [2018-11-23 11:07:13,901 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {748#true} {748#true} #60#return; {748#true} is VALID [2018-11-23 11:07:13,901 INFO L256 TraceCheckUtils]: 4: Hoare triple {748#true} call #t~ret17 := main(); {748#true} is VALID [2018-11-23 11:07:13,901 INFO L256 TraceCheckUtils]: 5: Hoare triple {748#true} call init(); {748#true} is VALID [2018-11-23 11:07:13,902 INFO L273 TraceCheckUtils]: 6: Hoare triple {748#true} call write~intINTTYPE4(#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4bv32);havoc #t~nondet0;call write~intINTTYPE4(#t~nondet1, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);havoc #t~nondet1;call write~intINTTYPE4(#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4bv32);havoc #t~nondet2;call write~intINTTYPE4(#t~nondet3, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32);havoc #t~nondet3; {748#true} is VALID [2018-11-23 11:07:13,902 INFO L273 TraceCheckUtils]: 7: Hoare triple {748#true} assume true; {748#true} is VALID [2018-11-23 11:07:13,902 INFO L268 TraceCheckUtils]: 8: Hoare quadruple {748#true} {748#true} #64#return; {748#true} is VALID [2018-11-23 11:07:13,902 INFO L256 TraceCheckUtils]: 9: Hoare triple {748#true} call #t~ret7.base, #t~ret7.offset := get_dummy(); {748#true} is VALID [2018-11-23 11:07:13,903 INFO L273 TraceCheckUtils]: 10: Hoare triple {748#true} assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; {748#true} is VALID [2018-11-23 11:07:13,903 INFO L273 TraceCheckUtils]: 11: Hoare triple {748#true} #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; {748#true} is VALID [2018-11-23 11:07:13,904 INFO L273 TraceCheckUtils]: 12: Hoare triple {748#true} assume true; {748#true} is VALID [2018-11-23 11:07:13,904 INFO L268 TraceCheckUtils]: 13: Hoare quadruple {748#true} {748#true} #66#return; {748#true} is VALID [2018-11-23 11:07:13,904 INFO L273 TraceCheckUtils]: 14: Hoare triple {748#true} ~pd1~0.base, ~pd1~0.offset := #t~ret7.base, #t~ret7.offset;havoc #t~ret7.base, #t~ret7.offset; {748#true} is VALID [2018-11-23 11:07:13,904 INFO L256 TraceCheckUtils]: 15: Hoare triple {748#true} call #t~ret8.base, #t~ret8.offset := get_dummy(); {748#true} is VALID [2018-11-23 11:07:13,905 INFO L273 TraceCheckUtils]: 16: Hoare triple {748#true} assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; {748#true} is VALID [2018-11-23 11:07:13,905 INFO L273 TraceCheckUtils]: 17: Hoare triple {748#true} #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; {748#true} is VALID [2018-11-23 11:07:13,905 INFO L273 TraceCheckUtils]: 18: Hoare triple {748#true} assume true; {748#true} is VALID [2018-11-23 11:07:13,905 INFO L268 TraceCheckUtils]: 19: Hoare quadruple {748#true} {748#true} #68#return; {748#true} is VALID [2018-11-23 11:07:13,906 INFO L273 TraceCheckUtils]: 20: Hoare triple {748#true} ~pd2~0.base, ~pd2~0.offset := #t~ret8.base, #t~ret8.offset;havoc #t~ret8.base, #t~ret8.offset; {748#true} is VALID [2018-11-23 11:07:13,906 INFO L256 TraceCheckUtils]: 21: Hoare triple {748#true} call #t~ret9.base, #t~ret9.offset := get_dummy(); {748#true} is VALID [2018-11-23 11:07:13,906 INFO L273 TraceCheckUtils]: 22: Hoare triple {748#true} assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; {748#true} is VALID [2018-11-23 11:07:13,906 INFO L273 TraceCheckUtils]: 23: Hoare triple {748#true} #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; {748#true} is VALID [2018-11-23 11:07:13,907 INFO L273 TraceCheckUtils]: 24: Hoare triple {748#true} assume true; {748#true} is VALID [2018-11-23 11:07:13,907 INFO L268 TraceCheckUtils]: 25: Hoare quadruple {748#true} {748#true} #70#return; {748#true} is VALID [2018-11-23 11:07:13,907 INFO L273 TraceCheckUtils]: 26: Hoare triple {748#true} ~pd3~0.base, ~pd3~0.offset := #t~ret9.base, #t~ret9.offset;havoc #t~ret9.base, #t~ret9.offset;~i~0 := #t~nondet10;havoc #t~nondet10;#t~short12 := (~pd1~0.base != 0bv32 || ~pd1~0.offset != 0bv32) && ~pd1~0.base == ~pd2~0.base && ~pd1~0.offset == ~pd2~0.offset; {748#true} is VALID [2018-11-23 11:07:13,908 INFO L273 TraceCheckUtils]: 27: Hoare triple {748#true} assume !#t~short12; {834#(not |main_#t~short12|)} is VALID [2018-11-23 11:07:13,908 INFO L273 TraceCheckUtils]: 28: Hoare triple {834#(not |main_#t~short12|)} assume #t~short12;havoc #t~mem11;havoc #t~short12;~pa~0.base, ~pa~0.offset := ~pd1~0.base, ~pd1~0.offset;call #t~mem13 := read~intINTTYPE4(~pd3~0.base, ~pd3~0.offset, 4bv32);~i~0 := ~bvsub32(#t~mem13, 10bv32);havoc #t~mem13; {749#false} is VALID [2018-11-23 11:07:13,908 INFO L273 TraceCheckUtils]: 29: Hoare triple {749#false} call #t~mem14 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); {749#false} is VALID [2018-11-23 11:07:13,909 INFO L273 TraceCheckUtils]: 30: Hoare triple {749#false} assume !~bvslt32(~i~0, #t~mem14);havoc #t~mem14; {749#false} is VALID [2018-11-23 11:07:13,909 INFO L256 TraceCheckUtils]: 31: Hoare triple {749#false} call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); {749#false} is VALID [2018-11-23 11:07:13,909 INFO L273 TraceCheckUtils]: 32: Hoare triple {749#false} ~s1.base, ~s1.offset := #in~s1.base, #in~s1.offset;~i := #in~i;call #t~mem6 := read~intINTTYPE4(~s1.base, ~s1.offset, 4bv32);#res := (if #t~mem6 == ~i then 1bv32 else 0bv32);havoc #t~mem6; {749#false} is VALID [2018-11-23 11:07:13,910 INFO L273 TraceCheckUtils]: 33: Hoare triple {749#false} assume true; {749#false} is VALID [2018-11-23 11:07:13,910 INFO L268 TraceCheckUtils]: 34: Hoare quadruple {749#false} {749#false} #72#return; {749#false} is VALID [2018-11-23 11:07:13,910 INFO L273 TraceCheckUtils]: 35: Hoare triple {749#false} assume 0bv32 == #t~ret16;havoc #t~ret16; {749#false} is VALID [2018-11-23 11:07:13,911 INFO L273 TraceCheckUtils]: 36: Hoare triple {749#false} assume !false; {749#false} is VALID [2018-11-23 11:07:13,913 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 12 trivial. 0 not checked. [2018-11-23 11:07:13,913 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:07:13,915 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:07:13,916 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 11:07:13,916 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 37 [2018-11-23 11:07:13,917 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:07:13,917 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2018-11-23 11:07:13,971 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 31 edges. 31 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:13,971 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 11:07:13,971 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 11:07:13,972 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 11:07:13,972 INFO L87 Difference]: Start difference. First operand 42 states and 53 transitions. Second operand 3 states. [2018-11-23 11:07:14,152 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:14,152 INFO L93 Difference]: Finished difference Result 52 states and 63 transitions. [2018-11-23 11:07:14,152 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 11:07:14,152 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 37 [2018-11-23 11:07:14,153 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:07:14,153 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 11:07:14,155 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 44 transitions. [2018-11-23 11:07:14,156 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 11:07:14,158 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 44 transitions. [2018-11-23 11:07:14,158 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 44 transitions. [2018-11-23 11:07:14,228 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 44 edges. 44 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:07:14,232 INFO L225 Difference]: With dead ends: 52 [2018-11-23 11:07:14,232 INFO L226 Difference]: Without dead ends: 42 [2018-11-23 11:07:14,232 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 36 GetRequests, 35 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 11:07:14,233 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 42 states. [2018-11-23 11:07:14,292 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 42 to 42. [2018-11-23 11:07:14,292 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:07:14,293 INFO L82 GeneralOperation]: Start isEquivalent. First operand 42 states. Second operand 42 states. [2018-11-23 11:07:14,293 INFO L74 IsIncluded]: Start isIncluded. First operand 42 states. Second operand 42 states. [2018-11-23 11:07:14,293 INFO L87 Difference]: Start difference. First operand 42 states. Second operand 42 states. [2018-11-23 11:07:14,298 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:14,298 INFO L93 Difference]: Finished difference Result 42 states and 51 transitions. [2018-11-23 11:07:14,299 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 51 transitions. [2018-11-23 11:07:14,300 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:14,300 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:14,300 INFO L74 IsIncluded]: Start isIncluded. First operand 42 states. Second operand 42 states. [2018-11-23 11:07:14,300 INFO L87 Difference]: Start difference. First operand 42 states. Second operand 42 states. [2018-11-23 11:07:14,305 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:07:14,305 INFO L93 Difference]: Finished difference Result 42 states and 51 transitions. [2018-11-23 11:07:14,306 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 51 transitions. [2018-11-23 11:07:14,307 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:07:14,307 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:07:14,307 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:07:14,307 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:07:14,307 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 42 states. [2018-11-23 11:07:14,316 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 42 states and 51 transitions. [2018-11-23 11:07:14,316 INFO L78 Accepts]: Start accepts. Automaton has 42 states and 51 transitions. Word has length 37 [2018-11-23 11:07:14,317 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:07:14,317 INFO L480 AbstractCegarLoop]: Abstraction has 42 states and 51 transitions. [2018-11-23 11:07:14,317 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 11:07:14,317 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 51 transitions. [2018-11-23 11:07:14,320 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 38 [2018-11-23 11:07:14,320 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:07:14,320 INFO L402 BasicCegarLoop]: trace histogram [3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:07:14,321 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:07:14,321 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:07:14,321 INFO L82 PathProgramCache]: Analyzing trace with hash -1203023193, now seen corresponding path program 1 times [2018-11-23 11:07:14,321 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:07:14,322 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:14,340 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:07:14,414 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:07:14,511 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:07:14,605 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), |old(~#d1~0.base)|=(_ bv0 32), |old(~#d1~0.offset)|=(_ bv0 32), |old(~#d2~0.base)|=(_ bv0 32), |old(~#d2~0.offset)|=(_ bv0 32), |~#d1~0.base|=(_ bv0 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv0 32), |~#d2~0.offset|=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~#d1~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~#d2~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~#d1~0.base)|=(_ bv0 32), |old(~#d1~0.offset)|=(_ bv0 32), |old(~#d2~0.base)|=(_ bv0 32), |old(~#d2~0.offset)|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~#d1~0.base)|=(_ bv0 32), |old(~#d1~0.offset)|=(_ bv0 32), |old(~#d2~0.base)|=(_ bv0 32), |old(~#d2~0.offset)|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #60#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret17 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call init(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4bv32);havoc #t~nondet0;call write~intINTTYPE4(#t~nondet1, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);havoc #t~nondet1;call write~intINTTYPE4(#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4bv32);havoc #t~nondet2;call write~intINTTYPE4(#t~nondet3, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32);havoc #t~nondet3; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #64#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#t~ite5.base|=(_ bv1 32), |get_dummy_#t~ite5.offset|=(_ bv0 32), |get_dummy_#t~nondet4|=(_ bv1 8), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv1 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv1 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #66#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret7.base|=(_ bv1 32), |main_#t~ret7.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] ~pd1~0.base, ~pd1~0.offset := #t~ret7.base, #t~ret7.offset;havoc #t~ret7.base, #t~ret7.offset; VAL [main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#t~ite5.base|=(_ bv1 32), |get_dummy_#t~ite5.offset|=(_ bv0 32), |get_dummy_#t~nondet4|=(_ bv1 8), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv1 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv1 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #68#return; VAL [main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret8.base|=(_ bv1 32), |main_#t~ret8.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] ~pd2~0.base, ~pd2~0.offset := #t~ret8.base, #t~ret8.offset;havoc #t~ret8.base, #t~ret8.offset; VAL [main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume !(0bv8 != #t~nondet4);#t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#t~ite5.base|=(_ bv4294967294 32), |get_dummy_#t~ite5.offset|=(_ bv0 32), |get_dummy_#t~nondet4|=(_ bv0 8), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv4294967294 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv4294967294 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #70#return; VAL [main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret9.base|=(_ bv4294967294 32), |main_#t~ret9.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] ~pd3~0.base, ~pd3~0.offset := #t~ret9.base, #t~ret9.offset;havoc #t~ret9.base, #t~ret9.offset;~i~0 := #t~nondet10;havoc #t~nondet10;#t~short12 := (~pd1~0.base != 0bv32 || ~pd1~0.offset != 0bv32) && ~pd1~0.base == ~pd2~0.base && ~pd1~0.offset == ~pd2~0.offset; VAL [main_~i~0=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~short12|=true, |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume #t~short12;call #t~mem11 := read~intINTTYPE4(~pd2~0.base, ~pd2~0.offset, 4bv32);#t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [main_~i~0=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem11|=(_ bv1 32), |main_#t~short12|=true, |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume #t~short12;havoc #t~mem11;havoc #t~short12;~pa~0.base, ~pa~0.offset := ~pd1~0.base, ~pd1~0.offset;call #t~mem13 := read~intINTTYPE4(~pd3~0.base, ~pd3~0.offset, 4bv32);~i~0 := ~bvsub32(#t~mem13, 10bv32);havoc #t~mem13; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] call #t~mem14 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ bv1 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume !~bvslt32(~i~0, #t~mem14);havoc #t~mem14; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv2 32), |check_#in~s1.base|=(_ bv1 32), |check_#in~s1.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] ~s1.base, ~s1.offset := #in~s1.base, #in~s1.offset;~i := #in~i;call #t~mem6 := read~intINTTYPE4(~s1.base, ~s1.offset, 4bv32);#res := (if #t~mem6 == ~i then 1bv32 else 0bv32);havoc #t~mem6; VAL [check_~i=(_ bv2 32), check_~s1.base=(_ bv1 32), check_~s1.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv2 32), |check_#in~s1.base|=(_ bv1 32), |check_#in~s1.offset|=(_ bv0 32), |check_#res|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [check_~i=(_ bv2 32), check_~s1.base=(_ bv1 32), check_~s1.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv2 32), |check_#in~s1.base|=(_ bv1 32), |check_#in~s1.offset|=(_ bv0 32), |check_#res|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #72#return; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret16|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume 0bv32 == #t~ret16;havoc #t~ret16; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume !false; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=0bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=0bv32, ~#d2~0.offset=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L9] call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(8bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~#d1~0.offset, 4bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32); [L9] call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(8bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~#d2~0.offset, 4bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L32] CALL call init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L13] call write~intINTTYPE4(#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4bv32); [L13] havoc #t~nondet0; [L14] call write~intINTTYPE4(#t~nondet1, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32); [L14] havoc #t~nondet1; [L16] call write~intINTTYPE4(#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4bv32); [L16] havoc #t~nondet2; [L17] call write~intINTTYPE4(#t~nondet3, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); [L17] havoc #t~nondet3; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L11-L18] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L32] RET call init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] CALL call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume 0bv8 != #t~nondet4; [L22] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=1bv32, #t~ite5.offset=0bv32, #t~nondet4=1bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret7.base=1bv32, #t~ret7.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] ~pd1~0.base, ~pd1~0.offset := #t~ret7.base, #t~ret7.offset; [L33] havoc #t~ret7.base, #t~ret7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32] [L33] CALL call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume 0bv8 != #t~nondet4; [L22] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=1bv32, #t~ite5.offset=0bv32, #t~nondet4=1bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret8.base=1bv32, #t~ret8.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32] [L33] ~pd2~0.base, ~pd2~0.offset := #t~ret8.base, #t~ret8.offset; [L33] havoc #t~ret8.base, #t~ret8.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32] [L33] CALL call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume !(0bv8 != #t~nondet4); [L22] #t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=4294967294bv32, #t~ite5.offset=0bv32, #t~nondet4=0bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=4294967294bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=4294967294bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret9.base=4294967294bv32, #t~ret9.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32] [L33] ~pd3~0.base, ~pd3~0.offset := #t~ret9.base, #t~ret9.offset; [L33] havoc #t~ret9.base, #t~ret9.offset; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := (~pd1~0.base != 0bv32 || ~pd1~0.offset != 0bv32) && ~pd1~0.base == ~pd2~0.base && ~pd1~0.offset == ~pd2~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~short12=true, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L35] assume #t~short12; [L35] call #t~mem11 := read~intINTTYPE4(~pd2~0.base, ~pd2~0.offset, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L35-L44] assume #t~short12; [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0.base, ~pa~0.offset := ~pd1~0.base, ~pd1~0.offset; [L37] call #t~mem13 := read~intINTTYPE4(~pd3~0.base, ~pd3~0.offset, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L38] call #t~mem14 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=1bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L38-L40] assume !~bvslt32(~i~0, #t~mem14); [L38] havoc #t~mem14; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L25-L28] ~s1.base, ~s1.offset := #in~s1.base, #in~s1.offset; [L25-L28] ~i := #in~i; [L27] call #t~mem6 := read~intINTTYPE4(~s1.base, ~s1.offset, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i=2bv32, ~s1.base=1bv32, ~s1.offset=0bv32] [L25-L28] ensures true; VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i=2bv32, ~s1.base=1bv32, ~s1.offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret16=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L41-L43] assume 0bv32 == #t~ret16; [L41] havoc #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L48] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] ----- ----- 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, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=0bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=0bv32, ~#d2~0.offset=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L9] call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(8bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~#d1~0.offset, 4bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32); [L9] call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(8bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~#d2~0.offset, 4bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L32] CALL call init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L13] call write~intINTTYPE4(#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4bv32); [L13] havoc #t~nondet0; [L14] call write~intINTTYPE4(#t~nondet1, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32); [L14] havoc #t~nondet1; [L16] call write~intINTTYPE4(#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4bv32); [L16] havoc #t~nondet2; [L17] call write~intINTTYPE4(#t~nondet3, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); [L17] havoc #t~nondet3; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L11-L18] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L32] RET call init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] CALL call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume 0bv8 != #t~nondet4; [L22] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=1bv32, #t~ite5.offset=0bv32, #t~nondet4=1bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret7.base=1bv32, #t~ret7.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] ~pd1~0.base, ~pd1~0.offset := #t~ret7.base, #t~ret7.offset; [L33] havoc #t~ret7.base, #t~ret7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32] [L33] CALL call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume 0bv8 != #t~nondet4; [L22] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=1bv32, #t~ite5.offset=0bv32, #t~nondet4=1bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret8.base=1bv32, #t~ret8.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32] [L33] ~pd2~0.base, ~pd2~0.offset := #t~ret8.base, #t~ret8.offset; [L33] havoc #t~ret8.base, #t~ret8.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32] [L33] CALL call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume !(0bv8 != #t~nondet4); [L22] #t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=4294967294bv32, #t~ite5.offset=0bv32, #t~nondet4=0bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=4294967294bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=4294967294bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret9.base=4294967294bv32, #t~ret9.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32] [L33] ~pd3~0.base, ~pd3~0.offset := #t~ret9.base, #t~ret9.offset; [L33] havoc #t~ret9.base, #t~ret9.offset; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := (~pd1~0.base != 0bv32 || ~pd1~0.offset != 0bv32) && ~pd1~0.base == ~pd2~0.base && ~pd1~0.offset == ~pd2~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~short12=true, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L35] assume #t~short12; [L35] call #t~mem11 := read~intINTTYPE4(~pd2~0.base, ~pd2~0.offset, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L35-L44] assume #t~short12; [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0.base, ~pa~0.offset := ~pd1~0.base, ~pd1~0.offset; [L37] call #t~mem13 := read~intINTTYPE4(~pd3~0.base, ~pd3~0.offset, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L38] call #t~mem14 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=1bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L38-L40] assume !~bvslt32(~i~0, #t~mem14); [L38] havoc #t~mem14; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L25-L28] ~s1.base, ~s1.offset := #in~s1.base, #in~s1.offset; [L25-L28] ~i := #in~i; [L27] call #t~mem6 := read~intINTTYPE4(~s1.base, ~s1.offset, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i=2bv32, ~s1.base=1bv32, ~s1.offset=0bv32] [L25-L28] ensures true; VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i=2bv32, ~s1.base=1bv32, ~s1.offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret16=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L41-L43] assume 0bv32 == #t~ret16; [L41] havoc #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L48] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=0bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=0bv32, ~#d2~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L9] FCALL call ~#d1~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L9] FCALL call ~#d2~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] CALL call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L13] FCALL call write~intINTTYPE4(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L13] havoc #t~nondet0; [L14] FCALL call write~intINTTYPE4(#t~nondet1, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L14] havoc #t~nondet1; [L16] FCALL call write~intINTTYPE4(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L16] havoc #t~nondet2; [L17] FCALL call write~intINTTYPE4(#t~nondet3, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); [L17] havoc #t~nondet3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] RET call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret7!base=1bv32, #t~ret7!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] ~pd1~0 := #t~ret7; [L33] havoc #t~ret7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret8!base=1bv32, #t~ret8!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] ~pd2~0 := #t~ret8; [L33] havoc #t~ret8; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] CALL call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND FALSE !(0bv8 != #t~nondet4) [L22] #t~ite5 := ~#d2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=4294967294bv32, #t~ite5!offset=0bv32, #t~nondet4=0bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=4294967294bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret9!base=4294967294bv32, #t~ret9!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] ~pd3~0 := #t~ret9; [L33] havoc #t~ret9; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := ~pd1~0 != { base: 0bv32, offset: 0bv32 } && ~pd1~0 == ~pd2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~pd2~0!base, offset: ~pd2~0!offset }, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0 := { base: ~pd1~0!base, offset: ~pd1~0!offset }; [L37] FCALL call #t~mem13 := read~intINTTYPE4({ base: ~pd3~0!base, offset: ~pd3~0!offset }, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38] FCALL call #t~mem14 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=1bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38-L40] COND TRUE !~bvslt32(~i~0, #t~mem14) [L38] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0, ~i~0); VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L25-L28] ~s1 := #in~s1; [L25-L28] ~i := #in~i; [L27] FCALL call #t~mem6 := read~intINTTYPE4({ base: ~s1!base, offset: ~s1!offset }, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i=2bv32, ~s1!base=1bv32, ~s1!offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret16=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] COND TRUE 0bv32 == #t~ret16 [L41] havoc #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L48] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] ----- ----- 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, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=0bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=0bv32, ~#d2~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L9] FCALL call ~#d1~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L9] FCALL call ~#d2~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] CALL call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L13] FCALL call write~intINTTYPE4(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L13] havoc #t~nondet0; [L14] FCALL call write~intINTTYPE4(#t~nondet1, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L14] havoc #t~nondet1; [L16] FCALL call write~intINTTYPE4(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L16] havoc #t~nondet2; [L17] FCALL call write~intINTTYPE4(#t~nondet3, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); [L17] havoc #t~nondet3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] RET call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret7!base=1bv32, #t~ret7!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] ~pd1~0 := #t~ret7; [L33] havoc #t~ret7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret8!base=1bv32, #t~ret8!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] ~pd2~0 := #t~ret8; [L33] havoc #t~ret8; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] CALL call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND FALSE !(0bv8 != #t~nondet4) [L22] #t~ite5 := ~#d2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=4294967294bv32, #t~ite5!offset=0bv32, #t~nondet4=0bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=4294967294bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret9!base=4294967294bv32, #t~ret9!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] ~pd3~0 := #t~ret9; [L33] havoc #t~ret9; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := ~pd1~0 != { base: 0bv32, offset: 0bv32 } && ~pd1~0 == ~pd2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~pd2~0!base, offset: ~pd2~0!offset }, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0 := { base: ~pd1~0!base, offset: ~pd1~0!offset }; [L37] FCALL call #t~mem13 := read~intINTTYPE4({ base: ~pd3~0!base, offset: ~pd3~0!offset }, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38] FCALL call #t~mem14 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=1bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38-L40] COND TRUE !~bvslt32(~i~0, #t~mem14) [L38] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0, ~i~0); VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L25-L28] ~s1 := #in~s1; [L25-L28] ~i := #in~i; [L27] FCALL call #t~mem6 := read~intINTTYPE4({ base: ~s1!base, offset: ~s1!offset }, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i=2bv32, ~s1!base=1bv32, ~s1!offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret16=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] COND TRUE 0bv32 == #t~ret16 [L41] havoc #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L48] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=0bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=0bv32, ~#d2~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L9] FCALL call ~#d1~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L9] FCALL call ~#d2~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] CALL call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L13] FCALL call write~intINTTYPE4(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L13] havoc #t~nondet0; [L14] FCALL call write~intINTTYPE4(#t~nondet1, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L14] havoc #t~nondet1; [L16] FCALL call write~intINTTYPE4(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L16] havoc #t~nondet2; [L17] FCALL call write~intINTTYPE4(#t~nondet3, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); [L17] havoc #t~nondet3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] RET call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret7!base=1bv32, #t~ret7!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] ~pd1~0 := #t~ret7; [L33] havoc #t~ret7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret8!base=1bv32, #t~ret8!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] ~pd2~0 := #t~ret8; [L33] havoc #t~ret8; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] CALL call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND FALSE !(0bv8 != #t~nondet4) [L22] #t~ite5 := ~#d2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=4294967294bv32, #t~ite5!offset=0bv32, #t~nondet4=0bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=4294967294bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret9!base=4294967294bv32, #t~ret9!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] ~pd3~0 := #t~ret9; [L33] havoc #t~ret9; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := ~pd1~0 != { base: 0bv32, offset: 0bv32 } && ~pd1~0 == ~pd2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~pd2~0!base, offset: ~pd2~0!offset }, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0 := { base: ~pd1~0!base, offset: ~pd1~0!offset }; [L37] FCALL call #t~mem13 := read~intINTTYPE4({ base: ~pd3~0!base, offset: ~pd3~0!offset }, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38] FCALL call #t~mem14 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=1bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38-L40] COND TRUE !~bvslt32(~i~0, #t~mem14) [L38] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0, ~i~0); VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L25-L28] ~s1 := #in~s1; [L25-L28] ~i := #in~i; [L27] FCALL call #t~mem6 := read~intINTTYPE4({ base: ~s1!base, offset: ~s1!offset }, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i=2bv32, ~s1!base=1bv32, ~s1!offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret16=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] COND TRUE 0bv32 == #t~ret16 [L41] havoc #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L48] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] ----- ----- 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, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=0bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=0bv32, ~#d2~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L9] FCALL call ~#d1~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L9] FCALL call ~#d2~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] CALL call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L13] FCALL call write~intINTTYPE4(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L13] havoc #t~nondet0; [L14] FCALL call write~intINTTYPE4(#t~nondet1, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L14] havoc #t~nondet1; [L16] FCALL call write~intINTTYPE4(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L16] havoc #t~nondet2; [L17] FCALL call write~intINTTYPE4(#t~nondet3, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); [L17] havoc #t~nondet3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] RET call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret7!base=1bv32, #t~ret7!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] ~pd1~0 := #t~ret7; [L33] havoc #t~ret7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret8!base=1bv32, #t~ret8!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] ~pd2~0 := #t~ret8; [L33] havoc #t~ret8; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] CALL call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND FALSE !(0bv8 != #t~nondet4) [L22] #t~ite5 := ~#d2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=4294967294bv32, #t~ite5!offset=0bv32, #t~nondet4=0bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=4294967294bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret9!base=4294967294bv32, #t~ret9!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] ~pd3~0 := #t~ret9; [L33] havoc #t~ret9; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := ~pd1~0 != { base: 0bv32, offset: 0bv32 } && ~pd1~0 == ~pd2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~pd2~0!base, offset: ~pd2~0!offset }, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0 := { base: ~pd1~0!base, offset: ~pd1~0!offset }; [L37] FCALL call #t~mem13 := read~intINTTYPE4({ base: ~pd3~0!base, offset: ~pd3~0!offset }, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38] FCALL call #t~mem14 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=1bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38-L40] COND TRUE !~bvslt32(~i~0, #t~mem14) [L38] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0, ~i~0); VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L25-L28] ~s1 := #in~s1; [L25-L28] ~i := #in~i; [L27] FCALL call #t~mem6 := read~intINTTYPE4({ base: ~s1!base, offset: ~s1!offset }, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i=2bv32, ~s1!base=1bv32, ~s1!offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret16=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] COND TRUE 0bv32 == #t~ret16 [L41] havoc #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L48] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L9] struct dummy d1, d2; VAL [\old(d1)=0, \old(d1)=0, \old(d2)=0, \old(d2)=0, d1={1:0}, d2={-2:0}] [L32] CALL init() VAL [d1={1:0}, d2={-2:0}] [L13] d1.a = __VERIFIER_nondet_int() [L14] d1.b = __VERIFIER_nondet_int() [L16] d2.a = __VERIFIER_nondet_int() [L17] d2.b = __VERIFIER_nondet_int() [L32] RET init() VAL [d1={1:0}, d2={-2:0}] [L33] CALL, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}] [L22] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 VAL [__VERIFIER_nondet_bool()=1, __VERIFIER_nondet_bool() ? &d1 : &d2={1:0}, d1={1:0}, d2={-2:0}] [L22] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L33] RET, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}, get_dummy()={1:0}] [L33] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(), *pd3 = get_dummy(); [L33] CALL, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}] [L22] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 VAL [__VERIFIER_nondet_bool()=1, __VERIFIER_nondet_bool() ? &d1 : &d2={1:0}, d1={1:0}, d2={-2:0}] [L22] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L33] RET, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}, get_dummy()={1:0}, pd1={1:0}] [L33] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(), *pd3 = get_dummy(); [L33] CALL, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}] [L22] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 VAL [__VERIFIER_nondet_bool()=0, __VERIFIER_nondet_bool() ? &d1 : &d2={-2:0}, d1={1:0}, d2={-2:0}] [L22] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L33] RET, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}, get_dummy()={-2:0}, pd1={1:0}, pd2={1:0}] [L33] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(), *pd3 = get_dummy(); [L34] int i = __VERIFIER_nondet_int(); [L35] pd1 != 0 && pd1 == pd2 && (*pd2).a > 0 [L35] EXPR (*pd2).a [L35] pd1 != 0 && pd1 == pd2 && (*pd2).a > 0 VAL [(*pd2).a=1, d1={1:0}, d2={-2:0}, i=0, pd1={1:0}, pd1 != 0 && pd1 == pd2 && (*pd2).a > 0=1, pd2={1:0}, pd3={-2:0}] [L35] COND TRUE pd1 != 0 && pd1 == pd2 && (*pd2).a > 0 [L36] int *pa = &pd1->a; [L37] EXPR pd3->a [L37] i = pd3->a - 10 [L38] EXPR \read(*pa) VAL [\read(*pa)=1, d1={1:0}, d2={-2:0}, i=2, pa={1:0}, pd1={1:0}, pd2={1:0}, pd3={-2:0}] [L38] COND FALSE !(i < *pa) [L41] CALL, EXPR check(pd2, i) VAL [\old(i)=2, d1={1:0}, d2={-2:0}, s1={1:0}] [L27] EXPR s1->a [L27] return s1->a == i; [L41] RET, EXPR check(pd2, i) VAL [check(pd2, i)=0, d1={1:0}, d2={-2:0}, i=2, pa={1:0}, pd1={1:0}, pd2={1:0}, pd3={-2:0}] [L41] COND TRUE !check(pd2, i) [L48] __VERIFIER_error() VAL [d1={1:0}, d2={-2:0}, i=2, pa={1:0}, pd1={1:0}, pd2={1:0}, pd3={-2:0}] ----- [2018-11-23 11:07:14,824 WARN L170 areAnnotationChecker]: initENTRY has no Hoare annotation [2018-11-23 11:07:14,824 WARN L170 areAnnotationChecker]: ULTIMATE.initENTRY has no Hoare annotation [2018-11-23 11:07:14,824 WARN L170 areAnnotationChecker]: get_dummyENTRY has no Hoare annotation [2018-11-23 11:07:14,824 WARN L170 areAnnotationChecker]: get_dummyENTRY has no Hoare annotation [2018-11-23 11:07:14,824 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:07:14,824 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:07:14,824 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:07:14,825 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:07:14,825 WARN L170 areAnnotationChecker]: checkENTRY has no Hoare annotation [2018-11-23 11:07:14,825 WARN L170 areAnnotationChecker]: initFINAL has no Hoare annotation [2018-11-23 11:07:14,825 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2018-11-23 11:07:14,825 WARN L170 areAnnotationChecker]: L22-1 has no Hoare annotation [2018-11-23 11:07:14,825 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:07:14,825 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:07:14,825 WARN L170 areAnnotationChecker]: L32 has no Hoare annotation [2018-11-23 11:07:14,825 WARN L170 areAnnotationChecker]: L32 has no Hoare annotation [2018-11-23 11:07:14,826 WARN L170 areAnnotationChecker]: checkFINAL has no Hoare annotation [2018-11-23 11:07:14,826 WARN L170 areAnnotationChecker]: initEXIT has no Hoare annotation [2018-11-23 11:07:14,826 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2018-11-23 11:07:14,826 WARN L170 areAnnotationChecker]: get_dummyFINAL has no Hoare annotation [2018-11-23 11:07:14,826 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2018-11-23 11:07:14,826 WARN L170 areAnnotationChecker]: L33 has no Hoare annotation [2018-11-23 11:07:14,826 WARN L170 areAnnotationChecker]: checkEXIT has no Hoare annotation [2018-11-23 11:07:14,826 WARN L170 areAnnotationChecker]: get_dummyEXIT has no Hoare annotation [2018-11-23 11:07:14,827 WARN L170 areAnnotationChecker]: get_dummyEXIT has no Hoare annotation [2018-11-23 11:07:14,827 WARN L170 areAnnotationChecker]: get_dummyEXIT has no Hoare annotation [2018-11-23 11:07:14,827 WARN L170 areAnnotationChecker]: L33-1 has no Hoare annotation [2018-11-23 11:07:14,827 WARN L170 areAnnotationChecker]: L33-1 has no Hoare annotation [2018-11-23 11:07:14,827 WARN L170 areAnnotationChecker]: L41 has no Hoare annotation [2018-11-23 11:07:14,827 WARN L170 areAnnotationChecker]: L41 has no Hoare annotation [2018-11-23 11:07:14,827 WARN L170 areAnnotationChecker]: L33-2 has no Hoare annotation [2018-11-23 11:07:14,827 WARN L170 areAnnotationChecker]: L33-4 has no Hoare annotation [2018-11-23 11:07:14,828 WARN L170 areAnnotationChecker]: L42 has no Hoare annotation [2018-11-23 11:07:14,828 WARN L170 areAnnotationChecker]: L42 has no Hoare annotation [2018-11-23 11:07:14,828 WARN L170 areAnnotationChecker]: L35-4 has no Hoare annotation [2018-11-23 11:07:14,828 WARN L170 areAnnotationChecker]: L33-3 has no Hoare annotation [2018-11-23 11:07:14,828 WARN L170 areAnnotationChecker]: L33-3 has no Hoare annotation [2018-11-23 11:07:14,828 WARN L170 areAnnotationChecker]: L35 has no Hoare annotation [2018-11-23 11:07:14,828 WARN L170 areAnnotationChecker]: L35 has no Hoare annotation [2018-11-23 11:07:14,829 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2018-11-23 11:07:14,829 WARN L170 areAnnotationChecker]: L35-2 has no Hoare annotation [2018-11-23 11:07:14,829 WARN L170 areAnnotationChecker]: L35-2 has no Hoare annotation [2018-11-23 11:07:14,829 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2018-11-23 11:07:14,829 WARN L170 areAnnotationChecker]: L38-3 has no Hoare annotation [2018-11-23 11:07:14,829 WARN L170 areAnnotationChecker]: L38-3 has no Hoare annotation [2018-11-23 11:07:14,829 WARN L170 areAnnotationChecker]: L38-4 has no Hoare annotation [2018-11-23 11:07:14,829 WARN L170 areAnnotationChecker]: L38-4 has no Hoare annotation [2018-11-23 11:07:14,830 WARN L170 areAnnotationChecker]: L38-1 has no Hoare annotation [2018-11-23 11:07:14,830 WARN L170 areAnnotationChecker]: L38-1 has no Hoare annotation [2018-11-23 11:07:14,830 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:14,836 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 11:07:14 BoogieIcfgContainer [2018-11-23 11:07:14,836 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 11:07:14,836 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:07:14,836 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:07:14,837 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:07:14,837 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:05" (3/4) ... [2018-11-23 11:07:14,840 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), |old(~#d1~0.base)|=(_ bv0 32), |old(~#d1~0.offset)|=(_ bv0 32), |old(~#d2~0.base)|=(_ bv0 32), |old(~#d2~0.offset)|=(_ bv0 32), |~#d1~0.base|=(_ bv0 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv0 32), |~#d2~0.offset|=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~#d1~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(8bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~#d2~0.offset, 4bv32);call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~#d1~0.base)|=(_ bv0 32), |old(~#d1~0.offset)|=(_ bv0 32), |old(~#d2~0.base)|=(_ bv0 32), |old(~#d2~0.offset)|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~#d1~0.base)|=(_ bv0 32), |old(~#d1~0.offset)|=(_ bv0 32), |old(~#d2~0.base)|=(_ bv0 32), |old(~#d2~0.offset)|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #60#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret17 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call init(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4bv32);havoc #t~nondet0;call write~intINTTYPE4(#t~nondet1, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32);havoc #t~nondet1;call write~intINTTYPE4(#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4bv32);havoc #t~nondet2;call write~intINTTYPE4(#t~nondet3, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32);havoc #t~nondet3; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #64#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#t~ite5.base|=(_ bv1 32), |get_dummy_#t~ite5.offset|=(_ bv0 32), |get_dummy_#t~nondet4|=(_ bv1 8), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv1 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv1 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #66#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret7.base|=(_ bv1 32), |main_#t~ret7.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] ~pd1~0.base, ~pd1~0.offset := #t~ret7.base, #t~ret7.offset;havoc #t~ret7.base, #t~ret7.offset; VAL [main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume 0bv8 != #t~nondet4;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#t~ite5.base|=(_ bv1 32), |get_dummy_#t~ite5.offset|=(_ bv0 32), |get_dummy_#t~nondet4|=(_ bv1 8), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv1 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv1 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #68#return; VAL [main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret8.base|=(_ bv1 32), |main_#t~ret8.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] ~pd2~0.base, ~pd2~0.offset := #t~ret8.base, #t~ret8.offset;havoc #t~ret8.base, #t~ret8.offset; VAL [main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume !(0bv8 != #t~nondet4);#t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#t~ite5.base|=(_ bv4294967294 32), |get_dummy_#t~ite5.offset|=(_ bv0 32), |get_dummy_#t~nondet4|=(_ bv0 8), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv4294967294 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |get_dummy_#res.base|=(_ bv4294967294 32), |get_dummy_#res.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #70#return; VAL [main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret9.base|=(_ bv4294967294 32), |main_#t~ret9.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] ~pd3~0.base, ~pd3~0.offset := #t~ret9.base, #t~ret9.offset;havoc #t~ret9.base, #t~ret9.offset;~i~0 := #t~nondet10;havoc #t~nondet10;#t~short12 := (~pd1~0.base != 0bv32 || ~pd1~0.offset != 0bv32) && ~pd1~0.base == ~pd2~0.base && ~pd1~0.offset == ~pd2~0.offset; VAL [main_~i~0=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~short12|=true, |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume #t~short12;call #t~mem11 := read~intINTTYPE4(~pd2~0.base, ~pd2~0.offset, 4bv32);#t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [main_~i~0=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem11|=(_ bv1 32), |main_#t~short12|=true, |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume #t~short12;havoc #t~mem11;havoc #t~short12;~pa~0.base, ~pa~0.offset := ~pd1~0.base, ~pd1~0.offset;call #t~mem13 := read~intINTTYPE4(~pd3~0.base, ~pd3~0.offset, 4bv32);~i~0 := ~bvsub32(#t~mem13, 10bv32);havoc #t~mem13; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] call #t~mem14 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem14|=(_ bv1 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume !~bvslt32(~i~0, #t~mem14);havoc #t~mem14; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv2 32), |check_#in~s1.base|=(_ bv1 32), |check_#in~s1.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] ~s1.base, ~s1.offset := #in~s1.base, #in~s1.offset;~i := #in~i;call #t~mem6 := read~intINTTYPE4(~s1.base, ~s1.offset, 4bv32);#res := (if #t~mem6 == ~i then 1bv32 else 0bv32);havoc #t~mem6; VAL [check_~i=(_ bv2 32), check_~s1.base=(_ bv1 32), check_~s1.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv2 32), |check_#in~s1.base|=(_ bv1 32), |check_#in~s1.offset|=(_ bv0 32), |check_#res|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume true; VAL [check_~i=(_ bv2 32), check_~s1.base=(_ bv1 32), check_~s1.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |check_#in~i|=(_ bv2 32), |check_#in~s1.base|=(_ bv1 32), |check_#in~s1.offset|=(_ bv0 32), |check_#res|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] RET #72#return; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret16|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume 0bv32 == #t~ret16;havoc #t~ret16; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] assume !false; VAL [main_~i~0=(_ bv2 32), main_~pa~0.base=(_ bv1 32), main_~pa~0.offset=(_ bv0 32), main_~pd1~0.base=(_ bv1 32), main_~pd1~0.offset=(_ bv0 32), main_~pd2~0.base=(_ bv1 32), main_~pd2~0.offset=(_ bv0 32), main_~pd3~0.base=(_ bv4294967294 32), main_~pd3~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#d1~0.base|=(_ bv1 32), |~#d1~0.offset|=(_ bv0 32), |~#d2~0.base|=(_ bv4294967294 32), |~#d2~0.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=0bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=0bv32, ~#d2~0.offset=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L9] call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(8bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~#d1~0.offset, 4bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32); [L9] call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(8bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~#d2~0.offset, 4bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L32] CALL call init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L13] call write~intINTTYPE4(#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4bv32); [L13] havoc #t~nondet0; [L14] call write~intINTTYPE4(#t~nondet1, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32); [L14] havoc #t~nondet1; [L16] call write~intINTTYPE4(#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4bv32); [L16] havoc #t~nondet2; [L17] call write~intINTTYPE4(#t~nondet3, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); [L17] havoc #t~nondet3; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L11-L18] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L32] RET call init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] CALL call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume 0bv8 != #t~nondet4; [L22] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=1bv32, #t~ite5.offset=0bv32, #t~nondet4=1bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret7.base=1bv32, #t~ret7.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] ~pd1~0.base, ~pd1~0.offset := #t~ret7.base, #t~ret7.offset; [L33] havoc #t~ret7.base, #t~ret7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32] [L33] CALL call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume 0bv8 != #t~nondet4; [L22] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=1bv32, #t~ite5.offset=0bv32, #t~nondet4=1bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret8.base=1bv32, #t~ret8.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32] [L33] ~pd2~0.base, ~pd2~0.offset := #t~ret8.base, #t~ret8.offset; [L33] havoc #t~ret8.base, #t~ret8.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32] [L33] CALL call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume !(0bv8 != #t~nondet4); [L22] #t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=4294967294bv32, #t~ite5.offset=0bv32, #t~nondet4=0bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=4294967294bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=4294967294bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret9.base=4294967294bv32, #t~ret9.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32] [L33] ~pd3~0.base, ~pd3~0.offset := #t~ret9.base, #t~ret9.offset; [L33] havoc #t~ret9.base, #t~ret9.offset; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := (~pd1~0.base != 0bv32 || ~pd1~0.offset != 0bv32) && ~pd1~0.base == ~pd2~0.base && ~pd1~0.offset == ~pd2~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~short12=true, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L35] assume #t~short12; [L35] call #t~mem11 := read~intINTTYPE4(~pd2~0.base, ~pd2~0.offset, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L35-L44] assume #t~short12; [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0.base, ~pa~0.offset := ~pd1~0.base, ~pd1~0.offset; [L37] call #t~mem13 := read~intINTTYPE4(~pd3~0.base, ~pd3~0.offset, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L38] call #t~mem14 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=1bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L38-L40] assume !~bvslt32(~i~0, #t~mem14); [L38] havoc #t~mem14; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L25-L28] ~s1.base, ~s1.offset := #in~s1.base, #in~s1.offset; [L25-L28] ~i := #in~i; [L27] call #t~mem6 := read~intINTTYPE4(~s1.base, ~s1.offset, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i=2bv32, ~s1.base=1bv32, ~s1.offset=0bv32] [L25-L28] ensures true; VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i=2bv32, ~s1.base=1bv32, ~s1.offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret16=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L41-L43] assume 0bv32 == #t~ret16; [L41] havoc #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L48] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] ----- ----- 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, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=0bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=0bv32, ~#d2~0.offset=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L9] call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(8bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~#d1~0.offset, 4bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32); [L9] call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(8bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~#d2~0.offset, 4bv32); [L9] call write~init~intINTTYPE4(0bv32, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#d1~0.base)=0bv32, old(~#d1~0.offset)=0bv32, old(~#d2~0.base)=0bv32, old(~#d2~0.offset)=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L32] CALL call init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L13] call write~intINTTYPE4(#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4bv32); [L13] havoc #t~nondet0; [L14] call write~intINTTYPE4(#t~nondet1, ~#d1~0.base, ~bvadd32(4bv32, ~#d1~0.offset), 4bv32); [L14] havoc #t~nondet1; [L16] call write~intINTTYPE4(#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4bv32); [L16] havoc #t~nondet2; [L17] call write~intINTTYPE4(#t~nondet3, ~#d2~0.base, ~bvadd32(4bv32, ~#d2~0.offset), 4bv32); [L17] havoc #t~nondet3; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L11-L18] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L32] RET call init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] CALL call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume 0bv8 != #t~nondet4; [L22] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=1bv32, #t~ite5.offset=0bv32, #t~nondet4=1bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret7.base, #t~ret7.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret7.base=1bv32, #t~ret7.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] ~pd1~0.base, ~pd1~0.offset := #t~ret7.base, #t~ret7.offset; [L33] havoc #t~ret7.base, #t~ret7.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32] [L33] CALL call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume 0bv8 != #t~nondet4; [L22] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=1bv32, #t~ite5.offset=0bv32, #t~nondet4=1bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret8.base, #t~ret8.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret8.base=1bv32, #t~ret8.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32] [L33] ~pd2~0.base, ~pd2~0.offset := #t~ret8.base, #t~ret8.offset; [L33] havoc #t~ret8.base, #t~ret8.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32] [L33] CALL call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] assume !(0bv8 != #t~nondet4); [L22] #t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ite5.base=4294967294bv32, #t~ite5.offset=0bv32, #t~nondet4=0bv8, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L22] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L22] havoc #t~nondet4; [L22] havoc #t~ite5.base, #t~ite5.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=4294967294bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L20-L23] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=4294967294bv32, #res.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L33] RET call #t~ret9.base, #t~ret9.offset := get_dummy(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret9.base=4294967294bv32, #t~ret9.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32] [L33] ~pd3~0.base, ~pd3~0.offset := #t~ret9.base, #t~ret9.offset; [L33] havoc #t~ret9.base, #t~ret9.offset; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := (~pd1~0.base != 0bv32 || ~pd1~0.offset != 0bv32) && ~pd1~0.base == ~pd2~0.base && ~pd1~0.offset == ~pd2~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~short12=true, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L35] assume #t~short12; [L35] call #t~mem11 := read~intINTTYPE4(~pd2~0.base, ~pd2~0.offset, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L35-L44] assume #t~short12; [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0.base, ~pa~0.offset := ~pd1~0.base, ~pd1~0.offset; [L37] call #t~mem13 := read~intINTTYPE4(~pd3~0.base, ~pd3~0.offset, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L38] call #t~mem14 := read~intINTTYPE4(~pa~0.base, ~pa~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem14=1bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L38-L40] assume !~bvslt32(~i~0, #t~mem14); [L38] havoc #t~mem14; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32] [L25-L28] ~s1.base, ~s1.offset := #in~s1.base, #in~s1.offset; [L25-L28] ~i := #in~i; [L27] call #t~mem6 := read~intINTTYPE4(~s1.base, ~s1.offset, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i=2bv32, ~s1.base=1bv32, ~s1.offset=0bv32] [L25-L28] ensures true; VAL [#in~i=2bv32, #in~s1.base=1bv32, #in~s1.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i=2bv32, ~s1.base=1bv32, ~s1.offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0.base, ~pd2~0.offset, ~i~0); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret16=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L41-L43] assume 0bv32 == #t~ret16; [L41] havoc #t~ret16; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [L48] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#d1~0.base=1bv32, ~#d1~0.offset=0bv32, ~#d2~0.base=4294967294bv32, ~#d2~0.offset=0bv32, ~i~0=2bv32, ~pa~0.base=1bv32, ~pa~0.offset=0bv32, ~pd1~0.base=1bv32, ~pd1~0.offset=0bv32, ~pd2~0.base=1bv32, ~pd2~0.offset=0bv32, ~pd3~0.base=4294967294bv32, ~pd3~0.offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=0bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=0bv32, ~#d2~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L9] FCALL call ~#d1~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L9] FCALL call ~#d2~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] CALL call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L13] FCALL call write~intINTTYPE4(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L13] havoc #t~nondet0; [L14] FCALL call write~intINTTYPE4(#t~nondet1, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L14] havoc #t~nondet1; [L16] FCALL call write~intINTTYPE4(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L16] havoc #t~nondet2; [L17] FCALL call write~intINTTYPE4(#t~nondet3, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); [L17] havoc #t~nondet3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] RET call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret7!base=1bv32, #t~ret7!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] ~pd1~0 := #t~ret7; [L33] havoc #t~ret7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret8!base=1bv32, #t~ret8!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] ~pd2~0 := #t~ret8; [L33] havoc #t~ret8; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] CALL call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND FALSE !(0bv8 != #t~nondet4) [L22] #t~ite5 := ~#d2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=4294967294bv32, #t~ite5!offset=0bv32, #t~nondet4=0bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=4294967294bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret9!base=4294967294bv32, #t~ret9!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] ~pd3~0 := #t~ret9; [L33] havoc #t~ret9; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := ~pd1~0 != { base: 0bv32, offset: 0bv32 } && ~pd1~0 == ~pd2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~pd2~0!base, offset: ~pd2~0!offset }, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0 := { base: ~pd1~0!base, offset: ~pd1~0!offset }; [L37] FCALL call #t~mem13 := read~intINTTYPE4({ base: ~pd3~0!base, offset: ~pd3~0!offset }, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38] FCALL call #t~mem14 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=1bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38-L40] COND TRUE !~bvslt32(~i~0, #t~mem14) [L38] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0, ~i~0); VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L25-L28] ~s1 := #in~s1; [L25-L28] ~i := #in~i; [L27] FCALL call #t~mem6 := read~intINTTYPE4({ base: ~s1!base, offset: ~s1!offset }, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i=2bv32, ~s1!base=1bv32, ~s1!offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret16=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] COND TRUE 0bv32 == #t~ret16 [L41] havoc #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L48] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] ----- ----- 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, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=0bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=0bv32, ~#d2~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L9] FCALL call ~#d1~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L9] FCALL call ~#d2~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] CALL call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L13] FCALL call write~intINTTYPE4(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L13] havoc #t~nondet0; [L14] FCALL call write~intINTTYPE4(#t~nondet1, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L14] havoc #t~nondet1; [L16] FCALL call write~intINTTYPE4(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L16] havoc #t~nondet2; [L17] FCALL call write~intINTTYPE4(#t~nondet3, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); [L17] havoc #t~nondet3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] RET call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret7!base=1bv32, #t~ret7!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] ~pd1~0 := #t~ret7; [L33] havoc #t~ret7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret8!base=1bv32, #t~ret8!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] ~pd2~0 := #t~ret8; [L33] havoc #t~ret8; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] CALL call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND FALSE !(0bv8 != #t~nondet4) [L22] #t~ite5 := ~#d2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=4294967294bv32, #t~ite5!offset=0bv32, #t~nondet4=0bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=4294967294bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret9!base=4294967294bv32, #t~ret9!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] ~pd3~0 := #t~ret9; [L33] havoc #t~ret9; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := ~pd1~0 != { base: 0bv32, offset: 0bv32 } && ~pd1~0 == ~pd2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~pd2~0!base, offset: ~pd2~0!offset }, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0 := { base: ~pd1~0!base, offset: ~pd1~0!offset }; [L37] FCALL call #t~mem13 := read~intINTTYPE4({ base: ~pd3~0!base, offset: ~pd3~0!offset }, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38] FCALL call #t~mem14 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=1bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38-L40] COND TRUE !~bvslt32(~i~0, #t~mem14) [L38] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0, ~i~0); VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L25-L28] ~s1 := #in~s1; [L25-L28] ~i := #in~i; [L27] FCALL call #t~mem6 := read~intINTTYPE4({ base: ~s1!base, offset: ~s1!offset }, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i=2bv32, ~s1!base=1bv32, ~s1!offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret16=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] COND TRUE 0bv32 == #t~ret16 [L41] havoc #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L48] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=0bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=0bv32, ~#d2~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L9] FCALL call ~#d1~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L9] FCALL call ~#d2~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] CALL call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L13] FCALL call write~intINTTYPE4(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L13] havoc #t~nondet0; [L14] FCALL call write~intINTTYPE4(#t~nondet1, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L14] havoc #t~nondet1; [L16] FCALL call write~intINTTYPE4(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L16] havoc #t~nondet2; [L17] FCALL call write~intINTTYPE4(#t~nondet3, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); [L17] havoc #t~nondet3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] RET call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret7!base=1bv32, #t~ret7!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] ~pd1~0 := #t~ret7; [L33] havoc #t~ret7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret8!base=1bv32, #t~ret8!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] ~pd2~0 := #t~ret8; [L33] havoc #t~ret8; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] CALL call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND FALSE !(0bv8 != #t~nondet4) [L22] #t~ite5 := ~#d2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=4294967294bv32, #t~ite5!offset=0bv32, #t~nondet4=0bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=4294967294bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret9!base=4294967294bv32, #t~ret9!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] ~pd3~0 := #t~ret9; [L33] havoc #t~ret9; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := ~pd1~0 != { base: 0bv32, offset: 0bv32 } && ~pd1~0 == ~pd2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~pd2~0!base, offset: ~pd2~0!offset }, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0 := { base: ~pd1~0!base, offset: ~pd1~0!offset }; [L37] FCALL call #t~mem13 := read~intINTTYPE4({ base: ~pd3~0!base, offset: ~pd3~0!offset }, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38] FCALL call #t~mem14 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=1bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38-L40] COND TRUE !~bvslt32(~i~0, #t~mem14) [L38] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0, ~i~0); VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L25-L28] ~s1 := #in~s1; [L25-L28] ~i := #in~i; [L27] FCALL call #t~mem6 := read~intINTTYPE4({ base: ~s1!base, offset: ~s1!offset }, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i=2bv32, ~s1!base=1bv32, ~s1!offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret16=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] COND TRUE 0bv32 == #t~ret16 [L41] havoc #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L48] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] ----- ----- 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, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=0bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=0bv32, ~#d2~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L9] FCALL call ~#d1~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L9] FCALL call ~#d2~0 := #Ultimate.alloc(8bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L9] FCALL call write~init~intINTTYPE4(0bv32, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#d1~0!base)=0bv32, old(~#d1~0!offset)=0bv32, old(~#d2~0!base)=0bv32, old(~#d2~0!offset)=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [?] CALL call #t~ret17 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] CALL call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L13] FCALL call write~intINTTYPE4(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4bv32); [L13] havoc #t~nondet0; [L14] FCALL call write~intINTTYPE4(#t~nondet1, { base: ~#d1~0!base, offset: ~bvadd32(4bv32, ~#d1~0!offset) }, 4bv32); [L14] havoc #t~nondet1; [L16] FCALL call write~intINTTYPE4(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4bv32); [L16] havoc #t~nondet2; [L17] FCALL call write~intINTTYPE4(#t~nondet3, { base: ~#d2~0!base, offset: ~bvadd32(4bv32, ~#d2~0!offset) }, 4bv32); [L17] havoc #t~nondet3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L32] RET call init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret7!base=1bv32, #t~ret7!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] ~pd1~0 := #t~ret7; [L33] havoc #t~ret7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND TRUE 0bv8 != #t~nondet4 [L22] #t~ite5 := ~#d1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=1bv32, #t~ite5!offset=0bv32, #t~nondet4=1bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret8!base=1bv32, #t~ret8!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32] [L33] ~pd2~0 := #t~ret8; [L33] havoc #t~ret8; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] CALL call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] COND FALSE !(0bv8 != #t~nondet4) [L22] #t~ite5 := ~#d2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ite5!base=4294967294bv32, #t~ite5!offset=0bv32, #t~nondet4=0bv8, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L22] #res := #t~ite5; [L22] havoc #t~nondet4; [L22] havoc #t~ite5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=4294967294bv32, #res!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L33] RET call #t~ret9 := get_dummy(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret9!base=4294967294bv32, #t~ret9!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32] [L33] ~pd3~0 := #t~ret9; [L33] havoc #t~ret9; [L34] ~i~0 := #t~nondet10; [L34] havoc #t~nondet10; [L35] #t~short12 := ~pd1~0 != { base: 0bv32, offset: 0bv32 } && ~pd1~0 == ~pd2~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] FCALL call #t~mem11 := read~intINTTYPE4({ base: ~pd2~0!base, offset: ~pd2~0!offset }, 4bv32); [L35] #t~short12 := ~bvsgt32(#t~mem11, 0bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem11=1bv32, #t~short12=true, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L35] COND TRUE #t~short12 [L35] havoc #t~mem11; [L35] havoc #t~short12; [L36] ~pa~0 := { base: ~pd1~0!base, offset: ~pd1~0!offset }; [L37] FCALL call #t~mem13 := read~intINTTYPE4({ base: ~pd3~0!base, offset: ~pd3~0!offset }, 4bv32); [L37] ~i~0 := ~bvsub32(#t~mem13, 10bv32); [L37] havoc #t~mem13; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38] FCALL call #t~mem14 := read~intINTTYPE4(~pa~0, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem14=1bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L38-L40] COND TRUE !~bvslt32(~i~0, #t~mem14) [L38] havoc #t~mem14; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] CALL call #t~ret16 := check(~pd2~0, ~i~0); VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32] [L25-L28] ~s1 := #in~s1; [L25-L28] ~i := #in~i; [L27] FCALL call #t~mem6 := read~intINTTYPE4({ base: ~s1!base, offset: ~s1!offset }, 4bv32); [L27] #res := (if #t~mem6 == ~i then 1bv32 else 0bv32); [L27] havoc #t~mem6; VAL [#in~i=2bv32, #in~s1!base=1bv32, #in~s1!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i=2bv32, ~s1!base=1bv32, ~s1!offset=0bv32] [L41] RET call #t~ret16 := check(~pd2~0, ~i~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret16=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L41] COND TRUE 0bv32 == #t~ret16 [L41] havoc #t~ret16; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L48] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#d1~0!base=1bv32, ~#d1~0!offset=0bv32, ~#d2~0!base=4294967294bv32, ~#d2~0!offset=0bv32, ~i~0=2bv32, ~pa~0!base=1bv32, ~pa~0!offset=0bv32, ~pd1~0!base=1bv32, ~pd1~0!offset=0bv32, ~pd2~0!base=1bv32, ~pd2~0!offset=0bv32, ~pd3~0!base=4294967294bv32, ~pd3~0!offset=0bv32] [L9] struct dummy d1, d2; VAL [\old(d1)=0, \old(d1)=0, \old(d2)=0, \old(d2)=0, d1={1:0}, d2={-2:0}] [L32] CALL init() VAL [d1={1:0}, d2={-2:0}] [L13] d1.a = __VERIFIER_nondet_int() [L14] d1.b = __VERIFIER_nondet_int() [L16] d2.a = __VERIFIER_nondet_int() [L17] d2.b = __VERIFIER_nondet_int() [L32] RET init() VAL [d1={1:0}, d2={-2:0}] [L33] CALL, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}] [L22] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 VAL [__VERIFIER_nondet_bool()=1, __VERIFIER_nondet_bool() ? &d1 : &d2={1:0}, d1={1:0}, d2={-2:0}] [L22] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L33] RET, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}, get_dummy()={1:0}] [L33] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(), *pd3 = get_dummy(); [L33] CALL, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}] [L22] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 VAL [__VERIFIER_nondet_bool()=1, __VERIFIER_nondet_bool() ? &d1 : &d2={1:0}, d1={1:0}, d2={-2:0}] [L22] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L33] RET, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}, get_dummy()={1:0}, pd1={1:0}] [L33] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(), *pd3 = get_dummy(); [L33] CALL, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}] [L22] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 VAL [__VERIFIER_nondet_bool()=0, __VERIFIER_nondet_bool() ? &d1 : &d2={-2:0}, d1={1:0}, d2={-2:0}] [L22] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L33] RET, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}, get_dummy()={-2:0}, pd1={1:0}, pd2={1:0}] [L33] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(), *pd3 = get_dummy(); [L34] int i = __VERIFIER_nondet_int(); [L35] pd1 != 0 && pd1 == pd2 && (*pd2).a > 0 [L35] EXPR (*pd2).a [L35] pd1 != 0 && pd1 == pd2 && (*pd2).a > 0 VAL [(*pd2).a=1, d1={1:0}, d2={-2:0}, i=0, pd1={1:0}, pd1 != 0 && pd1 == pd2 && (*pd2).a > 0=1, pd2={1:0}, pd3={-2:0}] [L35] COND TRUE pd1 != 0 && pd1 == pd2 && (*pd2).a > 0 [L36] int *pa = &pd1->a; [L37] EXPR pd3->a [L37] i = pd3->a - 10 [L38] EXPR \read(*pa) VAL [\read(*pa)=1, d1={1:0}, d2={-2:0}, i=2, pa={1:0}, pd1={1:0}, pd2={1:0}, pd3={-2:0}] [L38] COND FALSE !(i < *pa) [L41] CALL, EXPR check(pd2, i) VAL [\old(i)=2, d1={1:0}, d2={-2:0}, s1={1:0}] [L27] EXPR s1->a [L27] return s1->a == i; [L41] RET, EXPR check(pd2, i) VAL [check(pd2, i)=0, d1={1:0}, d2={-2:0}, i=2, pa={1:0}, pd1={1:0}, pd2={1:0}, pd3={-2:0}] [L41] COND TRUE !check(pd2, i) [L48] __VERIFIER_error() VAL [d1={1:0}, d2={-2:0}, i=2, pa={1:0}, pd1={1:0}, pd2={1:0}, pd3={-2:0}] ----- [2018-11-23 11:07:14,952 INFO L145 WitnessManager]: Wrote witness to /storage/repos/svcomp/c/ldv-regression/test22_false-unreach-call.c-witness.graphml [2018-11-23 11:07:14,953 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:07:14,954 INFO L168 Benchmark]: Toolchain (without parser) took 10417.33 ms. Allocated memory was 1.5 GB in the beginning and 2.4 GB in the end (delta: 862.5 MB). Free memory was 1.4 GB in the beginning and 2.3 GB in the end (delta: -902.9 MB). There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:07:14,955 INFO L168 Benchmark]: CDTParser took 0.24 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:14,956 INFO L168 Benchmark]: CACSL2BoogieTranslator took 392.07 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:14,957 INFO L168 Benchmark]: Boogie Procedure Inliner took 28.91 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:14,957 INFO L168 Benchmark]: Boogie Preprocessor took 41.95 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:14,958 INFO L168 Benchmark]: RCFGBuilder took 923.43 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 735.1 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -765.8 MB). Peak memory consumption was 15.1 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:14,958 INFO L168 Benchmark]: TraceAbstraction took 8909.01 ms. Allocated memory was 2.3 GB in the beginning and 2.4 GB in the end (delta: 127.4 MB). Free memory was 2.2 GB in the beginning and 2.3 GB in the end (delta: -162.5 MB). Peak memory consumption was 603.4 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:14,962 INFO L168 Benchmark]: Witness Printer took 116.53 ms. Allocated memory is still 2.4 GB. Free memory was 2.3 GB in the beginning and 2.3 GB in the end (delta: 14.7 MB). Peak memory consumption was 14.7 MB. Max. memory is 7.1 GB. [2018-11-23 11:07:14,970 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.24 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 392.07 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 28.91 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 41.95 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. * RCFGBuilder took 923.43 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 735.1 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -765.8 MB). Peak memory consumption was 15.1 MB. Max. memory is 7.1 GB. * TraceAbstraction took 8909.01 ms. Allocated memory was 2.3 GB in the beginning and 2.4 GB in the end (delta: 127.4 MB). Free memory was 2.2 GB in the beginning and 2.3 GB in the end (delta: -162.5 MB). Peak memory consumption was 603.4 MB. Max. memory is 7.1 GB. * Witness Printer took 116.53 ms. Allocated memory is still 2.4 GB. Free memory was 2.3 GB in the beginning and 2.3 GB in the end (delta: 14.7 MB). Peak memory consumption was 14.7 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 48]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L9] struct dummy d1, d2; VAL [\old(d1)=0, \old(d1)=0, \old(d2)=0, \old(d2)=0, d1={1:0}, d2={-2:0}] [L32] CALL init() VAL [d1={1:0}, d2={-2:0}] [L13] d1.a = __VERIFIER_nondet_int() [L14] d1.b = __VERIFIER_nondet_int() [L16] d2.a = __VERIFIER_nondet_int() [L17] d2.b = __VERIFIER_nondet_int() [L32] RET init() VAL [d1={1:0}, d2={-2:0}] [L33] CALL, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}] [L22] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 VAL [__VERIFIER_nondet_bool()=1, __VERIFIER_nondet_bool() ? &d1 : &d2={1:0}, d1={1:0}, d2={-2:0}] [L22] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L33] RET, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}, get_dummy()={1:0}] [L33] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(), *pd3 = get_dummy(); [L33] CALL, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}] [L22] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 VAL [__VERIFIER_nondet_bool()=1, __VERIFIER_nondet_bool() ? &d1 : &d2={1:0}, d1={1:0}, d2={-2:0}] [L22] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L33] RET, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}, get_dummy()={1:0}, pd1={1:0}] [L33] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(), *pd3 = get_dummy(); [L33] CALL, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}] [L22] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 VAL [__VERIFIER_nondet_bool()=0, __VERIFIER_nondet_bool() ? &d1 : &d2={-2:0}, d1={1:0}, d2={-2:0}] [L22] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L33] RET, EXPR get_dummy() VAL [d1={1:0}, d2={-2:0}, get_dummy()={-2:0}, pd1={1:0}, pd2={1:0}] [L33] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(), *pd3 = get_dummy(); [L34] int i = __VERIFIER_nondet_int(); [L35] pd1 != 0 && pd1 == pd2 && (*pd2).a > 0 [L35] EXPR (*pd2).a [L35] pd1 != 0 && pd1 == pd2 && (*pd2).a > 0 VAL [(*pd2).a=1, d1={1:0}, d2={-2:0}, i=0, pd1={1:0}, pd1 != 0 && pd1 == pd2 && (*pd2).a > 0=1, pd2={1:0}, pd3={-2:0}] [L35] COND TRUE pd1 != 0 && pd1 == pd2 && (*pd2).a > 0 [L36] int *pa = &pd1->a; [L37] EXPR pd3->a [L37] i = pd3->a - 10 [L38] EXPR \read(*pa) VAL [\read(*pa)=1, d1={1:0}, d2={-2:0}, i=2, pa={1:0}, pd1={1:0}, pd2={1:0}, pd3={-2:0}] [L38] COND FALSE !(i < *pa) [L41] CALL, EXPR check(pd2, i) VAL [\old(i)=2, d1={1:0}, d2={-2:0}, s1={1:0}] [L27] EXPR s1->a [L27] return s1->a == i; [L41] RET, EXPR check(pd2, i) VAL [check(pd2, i)=0, d1={1:0}, d2={-2:0}, i=2, pa={1:0}, pd1={1:0}, pd2={1:0}, pd3={-2:0}] [L41] COND TRUE !check(pd2, i) [L48] __VERIFIER_error() VAL [d1={1:0}, d2={-2:0}, i=2, pa={1:0}, pd1={1:0}, pd2={1:0}, pd3={-2:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 6 procedures, 35 locations, 1 error locations. UNSAFE Result, 8.8s OverallTime, 4 OverallIterations, 3 TraceHistogramMax, 4.4s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 110 SDtfs, 68 SDslu, 281 SDs, 0 SdLazy, 289 SolverSat, 12 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 112 GetRequests, 94 SyntacticMatches, 0 SemanticMatches, 18 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 36 ImplicationChecksByTransitivity, 1.7s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=42occurred in iteration=2, 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.5s AutomataMinimizationTime, 3 MinimizatonAttempts, 27 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 2.5s InterpolantComputationTime, 147 NumberOfCodeBlocks, 147 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 107 ConstructedInterpolants, 0 QuantifiedInterpolants, 12493 SizeOfPredicates, 13 NumberOfNonLiveVariables, 318 ConjunctsInSsa, 36 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 36/36 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...