./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/list-ext3-properties/sll_nondet_insert_false-unreach-call_false-valid-memcleanup.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version aa418289 Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/config/KojakReach.xml -i ../../sv-benchmarks/c/list-ext3-properties/sll_nondet_insert_false-unreach-call_false-valid-memcleanup.i -s /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1b97bc973900e2f9596f533e03f1df56d5945f81 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE --- Real Ultimate output --- This is Ultimate 0.1.23-aa41828 [2018-11-23 02:43:36,774 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 02:43:36,775 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 02:43:36,782 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 02:43:36,782 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 02:43:36,783 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 02:43:36,784 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 02:43:36,785 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 02:43:36,786 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 02:43:36,787 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 02:43:36,788 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 02:43:36,788 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 02:43:36,789 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 02:43:36,790 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 02:43:36,791 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 02:43:36,791 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 02:43:36,792 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 02:43:36,794 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 02:43:36,795 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 02:43:36,796 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 02:43:36,797 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 02:43:36,798 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 02:43:36,800 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 02:43:36,800 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 02:43:36,800 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 02:43:36,801 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 02:43:36,802 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 02:43:36,803 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 02:43:36,803 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 02:43:36,804 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 02:43:36,804 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 02:43:36,805 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 02:43:36,805 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 02:43:36,805 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 02:43:36,806 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 02:43:36,806 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 02:43:36,806 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf [2018-11-23 02:43:36,815 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 02:43:36,815 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 02:43:36,816 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 02:43:36,816 INFO L133 SettingsManager]: * ... to procedures called more than once=ALWAYS [2018-11-23 02:43:36,816 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 02:43:36,817 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 02:43:36,817 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 02:43:36,817 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 02:43:36,817 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 02:43:36,817 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 02:43:36,818 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 02:43:36,818 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 02:43:36,818 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 02:43:36,818 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 02:43:36,818 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 02:43:36,818 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 02:43:36,818 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 02:43:36,819 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 02:43:36,819 INFO L131 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2018-11-23 02:43:36,819 INFO L133 SettingsManager]: * Timeout in seconds=1000000 [2018-11-23 02:43:36,819 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 02:43:36,819 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 02:43:36,819 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2018-11-23 02:43:36,820 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 02:43:36,820 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 02:43:36,820 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 02:43:36,820 INFO L133 SettingsManager]: * Trace refinement strategy=PENGUIN [2018-11-23 02:43:36,820 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 02:43:36,820 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 02:43:36,821 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 1b97bc973900e2f9596f533e03f1df56d5945f81 [2018-11-23 02:43:36,848 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 02:43:36,858 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 02:43:36,861 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 02:43:36,863 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 02:43:36,863 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 02:43:36,864 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/../../sv-benchmarks/c/list-ext3-properties/sll_nondet_insert_false-unreach-call_false-valid-memcleanup.i [2018-11-23 02:43:36,917 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/data/3d59f4ac7/d7f3bb1980f54e0ea9ac0a703e5547ce/FLAGff3cfafb4 [2018-11-23 02:43:37,312 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 02:43:37,313 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/sv-benchmarks/c/list-ext3-properties/sll_nondet_insert_false-unreach-call_false-valid-memcleanup.i [2018-11-23 02:43:37,325 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/data/3d59f4ac7/d7f3bb1980f54e0ea9ac0a703e5547ce/FLAGff3cfafb4 [2018-11-23 02:43:37,688 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/data/3d59f4ac7/d7f3bb1980f54e0ea9ac0a703e5547ce [2018-11-23 02:43:37,690 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 02:43:37,691 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 02:43:37,692 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 02:43:37,692 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 02:43:37,696 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 02:43:37,696 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 02:43:37" (1/1) ... [2018-11-23 02:43:37,699 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@667e4ae1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:37, skipping insertion in model container [2018-11-23 02:43:37,699 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 02:43:37" (1/1) ... [2018-11-23 02:43:37,707 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 02:43:37,741 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 02:43:37,968 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 02:43:37,976 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 02:43:38,066 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 02:43:38,092 INFO L195 MainTranslator]: Completed translation [2018-11-23 02:43:38,092 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38 WrapperNode [2018-11-23 02:43:38,092 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 02:43:38,093 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 02:43:38,093 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 02:43:38,093 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 02:43:38,099 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,112 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,131 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 02:43:38,132 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 02:43:38,132 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 02:43:38,132 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 02:43:38,139 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,139 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,141 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,141 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,145 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,149 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,151 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,152 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 02:43:38,153 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 02:43:38,153 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 02:43:38,153 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 02:43:38,154 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:43:38" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (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:10000 [2018-11-23 02:43:38,191 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 02:43:38,191 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2018-11-23 02:43:38,192 INFO L138 BoogieDeclarations]: Found implementation of procedure exit [2018-11-23 02:43:38,192 INFO L130 BoogieDeclarations]: Found specification of procedure _get_nondet_int [2018-11-23 02:43:38,192 INFO L138 BoogieDeclarations]: Found implementation of procedure _get_nondet_int [2018-11-23 02:43:38,192 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 02:43:38,192 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 02:43:38,192 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 02:43:38,192 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2018-11-23 02:43:38,192 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 02:43:38,192 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 02:43:38,577 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 02:43:38,577 INFO L280 CfgBuilder]: Removed 18 assue(true) statements. [2018-11-23 02:43:38,577 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:43:38 BoogieIcfgContainer [2018-11-23 02:43:38,578 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 02:43:38,578 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2018-11-23 02:43:38,578 INFO L271 PluginConnector]: Initializing CodeCheck... [2018-11-23 02:43:38,590 INFO L276 PluginConnector]: CodeCheck initialized [2018-11-23 02:43:38,590 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:43:38" (1/1) ... [2018-11-23 02:43:38,603 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 02:43:38,625 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 02:43:38,632 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 36 states and 50 transitions. [2018-11-23 02:43:38,632 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 50 transitions. [2018-11-23 02:43:38,637 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2018-11-23 02:43:38,637 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 02:43:38,694 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:43:38,719 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2018-11-23 02:43:38,727 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 02:43:38,728 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 36 states and 46 transitions. [2018-11-23 02:43:38,728 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 46 transitions. [2018-11-23 02:43:38,728 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 25 [2018-11-23 02:43:38,728 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 02:43:38,758 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:43:38,824 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 02:43:38,932 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 02:43:38,933 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 38 states and 49 transitions. [2018-11-23 02:43:38,933 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 49 transitions. [2018-11-23 02:43:38,934 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2018-11-23 02:43:38,934 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 02:43:38,951 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:43:39,066 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 5 trivial. 0 not checked. [2018-11-23 02:43:39,347 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 02:43:39,348 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 41 states and 55 transitions. [2018-11-23 02:43:39,348 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 55 transitions. [2018-11-23 02:43:39,349 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2018-11-23 02:43:39,349 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 02:43:39,366 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:43:39,426 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2018-11-23 02:43:39,737 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 02:43:39,738 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 45 states and 59 transitions. [2018-11-23 02:43:39,738 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 59 transitions. [2018-11-23 02:43:39,738 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2018-11-23 02:43:39,739 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 02:43:39,749 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:43:39,883 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 4 proven. 5 refuted. 0 times theorem prover too weak. 5 trivial. 0 not checked. [2018-11-23 02:43:40,596 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 02:43:40,597 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 70 states to 49 states and 66 transitions. [2018-11-23 02:43:40,597 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 66 transitions. [2018-11-23 02:43:40,598 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 35 [2018-11-23 02:43:40,598 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 02:43:40,616 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:43:41,106 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 13 trivial. 0 not checked. [2018-11-23 02:43:44,576 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 02:43:44,577 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 117 states to 74 states and 111 transitions. [2018-11-23 02:43:44,578 INFO L276 IsEmpty]: Start isEmpty. Operand 74 states and 111 transitions. [2018-11-23 02:43:44,579 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 36 [2018-11-23 02:43:44,579 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 02:43:44,591 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:43:45,344 INFO L134 CoverageAnalysis]: Checked inductivity of 19 backedges. 3 proven. 11 refuted. 0 times theorem prover too weak. 5 trivial. 0 not checked. [2018-11-23 02:43:50,068 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 02:43:50,069 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 143 states to 91 states and 137 transitions. [2018-11-23 02:43:50,069 INFO L276 IsEmpty]: Start isEmpty. Operand 91 states and 137 transitions. [2018-11-23 02:43:50,070 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 36 [2018-11-23 02:43:50,071 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 02:43:50,083 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 02:43:50,112 INFO L134 CoverageAnalysis]: Checked inductivity of 19 backedges. 3 proven. 11 refuted. 0 times theorem prover too weak. 5 trivial. 0 not checked. [2018-11-23 02:43:50,833 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 02:43:50,834 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 149 states to 93 states and 143 transitions. [2018-11-23 02:43:50,834 INFO L276 IsEmpty]: Start isEmpty. Operand 93 states and 143 transitions. [2018-11-23 02:43:50,836 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 37 [2018-11-23 02:43:50,836 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 02:43:50,851 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 02:43:50,864 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 02:43:50,921 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 02:43:50,938 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 02:43:50,975 WARN L493 CodeCheckObserver]: This program is UNSAFE, Check terminated with 9 iterations. ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];havoc main_#res;havoc main_#t~ret14, main_#t~ret15.base, main_#t~ret15.offset, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21.base, main_#t~mem21.offset, main_#t~ret22, main_#t~mem23.base, main_#t~mem23.offset, main_~len~2, main_~#s~0.base, main_~#s~0.offset, main_~k~0, main_~i~0; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [|#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5] [?] ~from := #in~from;~until := #in~until;~len~1 := ~from; VAL [_get_nondet_int_~from=2, _get_nondet_int_~len~1=2, _get_nondet_int_~until=5, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5] [?] #t~short12 := ~len~1 < ~until;BeginParallelComposition{ParallelCodeBlock0: assume #t~short12;assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647;#t~short12 := 0 != #t~nondet11;ParallelCodeBlock1: assume !#t~short12;}EndParallelComposition VAL [_get_nondet_int_~from=2, _get_nondet_int_~len~1=2, _get_nondet_int_~until=5, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5, |_get_nondet_int_#t~nondet11|=0, |_get_nondet_int_#t~short12|=false] [?] assume !#t~short12;havoc #t~nondet11;havoc #t~short12; VAL [_get_nondet_int_~from=2, _get_nondet_int_~len~1=2, _get_nondet_int_~until=5, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5] [?] #res := ~len~1;assume true; VAL [_get_nondet_int_~from=2, _get_nondet_int_~len~1=2, _get_nondet_int_~until=5, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5, |_get_nondet_int_#res|=2] [?] RET #149#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~ret14|=2] [?] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647;main_~len~2 := main_#t~ret14;havoc main_#t~ret14;call main_~#s~0.base, main_~#s~0.offset := #Ultimate.alloc(4);sll_create_#in~len := main_~len~2;havoc sll_create_#res.base, sll_create_#res.offset;havoc sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, sll_create_#t~post2, sll_create_~len, sll_create_~head~0.base, sll_create_~head~0.offset;sll_create_~len := sll_create_#in~len;sll_create_~head~0.base, sll_create_~head~0.offset := 0, 0; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=0, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2] [?] sll_create_#t~post2 := sll_create_~len;sll_create_~len := sll_create_#t~post2 - 1; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=0, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~post2|=2] [?] assume !!(sll_create_#t~post2 > 0);havoc sll_create_#t~post2;call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4);sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=0, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=1, ULTIMATE.start_sll_create_~new_head~0.base=8, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=8, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=0, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=1, ULTIMATE.start_sll_create_~new_head~0.base=8, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=8, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4);sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=8, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=1, ULTIMATE.start_sll_create_~new_head~0.base=8, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=8, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] sll_create_#t~post2 := sll_create_~len;sll_create_~len := sll_create_#t~post2 - 1; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=8, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=0, ULTIMATE.start_sll_create_~new_head~0.base=8, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=8, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_create_#t~post2|=1] [?] assume !!(sll_create_#t~post2 > 0);havoc sll_create_#t~post2;call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4);sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=8, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=0, ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=8, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=0, ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4);sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=0, ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] sll_create_#t~post2 := sll_create_~len;sll_create_~len := sll_create_#t~post2 - 1; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_create_#t~post2|=0] [?] assume !(sll_create_#t~post2 > 0);havoc sll_create_#t~post2; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] sll_create_#res.base, sll_create_#res.offset := sll_create_~head~0.base, sll_create_~head~0.offset;main_#t~ret15.base, main_#t~ret15.offset := sll_create_#res.base, sll_create_#res.offset;call write~init~$Pointer$(main_#t~ret15.base, main_#t~ret15.offset, main_~#s~0.base, main_~#s~0.offset, 4);havoc main_#t~ret15.base, main_#t~ret15.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [|#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1] [?] ~from := #in~from;~until := #in~until;~len~1 := ~from; VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=0, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1] [?] #t~short12 := ~len~1 < ~until;BeginParallelComposition{ParallelCodeBlock0: assume #t~short12;assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647;#t~short12 := 0 != #t~nondet11;ParallelCodeBlock1: assume !#t~short12;}EndParallelComposition VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=0, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1, |_get_nondet_int_#t~nondet11|=(- 1), |_get_nondet_int_#t~short12|=true] [?] assume !!#t~short12;havoc #t~nondet11;havoc #t~short12;#t~post13 := ~len~1;~len~1 := 1 + #t~post13;havoc #t~post13; VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=1, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1] [?] #t~short12 := ~len~1 < ~until;BeginParallelComposition{ParallelCodeBlock0: assume #t~short12;assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647;#t~short12 := 0 != #t~nondet11;ParallelCodeBlock1: assume !#t~short12;}EndParallelComposition VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=1, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1, |_get_nondet_int_#t~nondet11|=0, |_get_nondet_int_#t~short12|=false] [?] assume !#t~short12;havoc #t~nondet11;havoc #t~short12; VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=1, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1] [?] #res := ~len~1;assume true; VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=1, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1, |_get_nondet_int_#res|=1] [?] RET #153#return; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~ret16|=1, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647;main_~k~0 := main_#t~ret16;havoc main_#t~ret16;main_~i~0 := 0; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] main_#t~short18 := main_~i~0 < main_~k~0;BeginParallelComposition{ParallelCodeBlock0: assume main_#t~short18;assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647;main_#t~short18 := 0 != main_#t~nondet17;ParallelCodeBlock1: assume !main_#t~short18;}EndParallelComposition VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~nondet17|=0, |ULTIMATE.start_main_#t~short18|=false, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] assume !main_#t~short18;havoc main_#t~short18;havoc main_#t~nondet17; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] call main_#t~mem21.base, main_#t~mem21.offset := read~$Pointer$(main_~#s~0.base, main_~#s~0.offset, 4);sll_length_#in~head.base, sll_length_#in~head.offset := main_#t~mem21.base, main_#t~mem21.offset;havoc sll_length_#res;havoc sll_length_#t~post4, sll_length_#t~mem5.base, sll_length_#t~mem5.offset, sll_length_~head.base, sll_length_~head.offset, sll_length_~len~0;sll_length_~head.base, sll_length_~head.offset := sll_length_#in~head.base, sll_length_#in~head.offset;sll_length_~len~0 := 0; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=10, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem21.base|=10, |ULTIMATE.start_main_#t~mem21.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0] [?] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0);sll_length_#t~post4 := sll_length_~len~0;sll_length_~len~0 := 1 + sll_length_#t~post4;havoc sll_length_#t~post4;call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4);sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset;havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=8, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem21.base|=10, |ULTIMATE.start_main_#t~mem21.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0] [?] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0);sll_length_#t~post4 := sll_length_~len~0;sll_length_~len~0 := 1 + sll_length_#t~post4;havoc sll_length_#t~post4;call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4);sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset;havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=0, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem21.base|=10, |ULTIMATE.start_main_#t~mem21.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume !true;ParallelCodeBlock1: assume !(sll_length_~head.base != 0 || sll_length_~head.offset != 0);}EndParallelCompositionsll_length_#res := sll_length_~len~0;main_#t~ret22 := sll_length_#res;assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=0, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem21.base|=10, |ULTIMATE.start_main_#t~mem21.offset|=0, |ULTIMATE.start_main_#t~ret22|=2, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0, |ULTIMATE.start_sll_length_#res|=2] [?] assume main_~k~0 + main_~len~2 != main_#t~ret22;havoc main_#t~ret22;havoc main_#t~mem21.base, main_#t~mem21.offset; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=0, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0, |ULTIMATE.start_sll_length_#res|=2] [?] assume !false; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=0, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0, |ULTIMATE.start_sll_length_#res|=2] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~ret14, main_#t~ret15.base, main_#t~ret15.offset, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21.base, main_#t~mem21.offset, main_#t~ret22, main_#t~mem23.base, main_#t~mem23.offset, main_~len~2, main_~#s~0.base, main_~#s~0.offset, main_~k~0, main_~i~0; VAL [#NULL.base=0, #NULL.offset=0] [L616] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] assume #t~short12; [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] assume !#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L608-L614] ensures true; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, #res=2, ~from=2, ~len~1=2, ~until=5] [L616] RET call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret14=2] [L616] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647; [L616] main_~len~2 := main_#t~ret14; [L616] havoc main_#t~ret14; [L617] call main_~#s~0.base, main_~#s~0.offset := #Ultimate.alloc(4); [L617] sll_create_#in~len := main_~len~2; [L617] havoc sll_create_#res.base, sll_create_#res.offset; [L617] havoc sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, sll_create_#t~post2, sll_create_~len, sll_create_~head~0.base, sll_create_~head~0.offset; [L563-L574] sll_create_~len := sll_create_#in~len; [L564] sll_create_~head~0.base, sll_create_~head~0.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=2] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~post2=2, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1] [L565-L572] assume !!(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; [L566] call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4); [L566] sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L567-L569] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L570] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4); [L571] sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_#t~post2=1, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L565-L572] assume !!(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; [L566] call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4); [L566] sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L567-L569] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L570] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4); [L571] sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_#t~post2=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L565-L572] assume !(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L573] sll_create_#res.base, sll_create_#res.offset := sll_create_~head~0.base, sll_create_~head~0.offset; [L617] main_#t~ret15.base, main_#t~ret15.offset := sll_create_#res.base, sll_create_#res.offset; [L617] call write~init~$Pointer$(main_#t~ret15.base, main_#t~ret15.offset, main_~#s~0.base, main_~#s~0.offset, 4); [L617] havoc main_#t~ret15.base, main_#t~ret15.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L618] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] assume #t~short12; [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] assume !!#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] assume !#t~short12; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] assume !#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L608-L614] ensures true; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #res=1, ~from=0, ~len~1=1, ~until=1] [L618] RET call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret16=1, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L618] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647; [L618] main_~k~0 := main_#t~ret16; [L618] havoc main_#t~ret16; [L619] main_~i~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L620] main_#t~short18 := main_~i~0 < main_~k~0; [L620] assume main_#t~short18; [L620] assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647; [L620] main_#t~short18 := 0 != main_#t~nondet17; VAL [#NULL.base=0, #NULL.offset=0, main_#t~nondet17=0, main_#t~short18=false, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L620-L624] assume !main_#t~short18; [L620] havoc main_#t~short18; [L620] havoc main_#t~nondet17; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L625] call main_#t~mem21.base, main_#t~mem21.offset := read~$Pointer$(main_~#s~0.base, main_~#s~0.offset, 4); [L625] sll_length_#in~head.base, sll_length_#in~head.offset := main_#t~mem21.base, main_#t~mem21.offset; [L625] havoc sll_length_#res; [L625] havoc sll_length_#t~post4, sll_length_#t~mem5.base, sll_length_#t~mem5.offset, sll_length_~head.base, sll_length_~head.offset, sll_length_~len~0; [L575-L582] sll_length_~head.base, sll_length_~head.offset := sll_length_#in~head.base, sll_length_#in~head.offset; [L576] sll_length_~len~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=10, sll_length_~head.offset=0, sll_length_~len~0=0] [L577-L580] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4); [L579] sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset; [L579] havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=8, sll_length_~head.offset=0, sll_length_~len~0=1] [L577-L580] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4); [L579] sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset; [L579] havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L577-L580] assume !(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L581] sll_length_#res := sll_length_~len~0; [L625] main_#t~ret22 := sll_length_#res; [L625] assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_#t~ret22=2, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L625-L627] assume main_~k~0 + main_~len~2 != main_#t~ret22; [L625] havoc main_#t~ret22; [L625] havoc main_#t~mem21.base, main_#t~mem21.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L630] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~ret14, main_#t~ret15.base, main_#t~ret15.offset, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21.base, main_#t~mem21.offset, main_#t~ret22, main_#t~mem23.base, main_#t~mem23.offset, main_~len~2, main_~#s~0.base, main_~#s~0.offset, main_~k~0, main_~i~0; VAL [#NULL.base=0, #NULL.offset=0] [L616] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] assume #t~short12; [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] assume !#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L608-L614] ensures true; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, #res=2, ~from=2, ~len~1=2, ~until=5] [L616] RET call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret14=2] [L616] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647; [L616] main_~len~2 := main_#t~ret14; [L616] havoc main_#t~ret14; [L617] call main_~#s~0.base, main_~#s~0.offset := #Ultimate.alloc(4); [L617] sll_create_#in~len := main_~len~2; [L617] havoc sll_create_#res.base, sll_create_#res.offset; [L617] havoc sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, sll_create_#t~post2, sll_create_~len, sll_create_~head~0.base, sll_create_~head~0.offset; [L563-L574] sll_create_~len := sll_create_#in~len; [L564] sll_create_~head~0.base, sll_create_~head~0.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=2] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~post2=2, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1] [L565-L572] assume !!(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; [L566] call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4); [L566] sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L567-L569] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L570] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4); [L571] sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_#t~post2=1, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L565-L572] assume !!(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; [L566] call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4); [L566] sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L567-L569] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L570] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4); [L571] sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_#t~post2=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L565-L572] assume !(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L573] sll_create_#res.base, sll_create_#res.offset := sll_create_~head~0.base, sll_create_~head~0.offset; [L617] main_#t~ret15.base, main_#t~ret15.offset := sll_create_#res.base, sll_create_#res.offset; [L617] call write~init~$Pointer$(main_#t~ret15.base, main_#t~ret15.offset, main_~#s~0.base, main_~#s~0.offset, 4); [L617] havoc main_#t~ret15.base, main_#t~ret15.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L618] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] assume #t~short12; [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] assume !!#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] assume !#t~short12; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] assume !#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L608-L614] ensures true; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #res=1, ~from=0, ~len~1=1, ~until=1] [L618] RET call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret16=1, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L618] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647; [L618] main_~k~0 := main_#t~ret16; [L618] havoc main_#t~ret16; [L619] main_~i~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L620] main_#t~short18 := main_~i~0 < main_~k~0; [L620] assume main_#t~short18; [L620] assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647; [L620] main_#t~short18 := 0 != main_#t~nondet17; VAL [#NULL.base=0, #NULL.offset=0, main_#t~nondet17=0, main_#t~short18=false, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L620-L624] assume !main_#t~short18; [L620] havoc main_#t~short18; [L620] havoc main_#t~nondet17; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L625] call main_#t~mem21.base, main_#t~mem21.offset := read~$Pointer$(main_~#s~0.base, main_~#s~0.offset, 4); [L625] sll_length_#in~head.base, sll_length_#in~head.offset := main_#t~mem21.base, main_#t~mem21.offset; [L625] havoc sll_length_#res; [L625] havoc sll_length_#t~post4, sll_length_#t~mem5.base, sll_length_#t~mem5.offset, sll_length_~head.base, sll_length_~head.offset, sll_length_~len~0; [L575-L582] sll_length_~head.base, sll_length_~head.offset := sll_length_#in~head.base, sll_length_#in~head.offset; [L576] sll_length_~len~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=10, sll_length_~head.offset=0, sll_length_~len~0=0] [L577-L580] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4); [L579] sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset; [L579] havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=8, sll_length_~head.offset=0, sll_length_~len~0=1] [L577-L580] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4); [L579] sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset; [L579] havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L577-L580] assume !(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L581] sll_length_#res := sll_length_~len~0; [L625] main_#t~ret22 := sll_length_#res; [L625] assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_#t~ret22=2, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L625-L627] assume main_~k~0 + main_~len~2 != main_#t~ret22; [L625] havoc main_#t~ret22; [L625] havoc main_#t~mem21.base, main_#t~mem21.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L630] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~ret14, main_#t~ret15, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21, main_#t~ret22, main_#t~mem23, main_~len~2, main_~#s~0, main_~k~0, main_~i~0; VAL [#NULL!base=0, #NULL!offset=0] [L616] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L616] RET call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret14=2] [L616] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647; [L616] main_~len~2 := main_#t~ret14; [L616] havoc main_#t~ret14; [L617] FCALL call main_~#s~0 := #Ultimate.alloc(4); [L617] sll_create_#in~len := main_~len~2; [L617] havoc sll_create_#res; [L617] havoc sll_create_#t~malloc3, sll_create_~new_head~0, sll_create_#t~post2, sll_create_~len, sll_create_~head~0; [L563-L574] sll_create_~len := sll_create_#in~len; [L564] sll_create_~head~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=2] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~post2=2, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1] [L565-L572] COND FALSE !(!(sll_create_#t~post2 > 0)) [L565] havoc sll_create_#t~post2; [L566] FCALL call sll_create_#t~malloc3 := #Ultimate.alloc(4); [L566] sll_create_~new_head~0 := sll_create_#t~malloc3; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == sll_create_~new_head~0) VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L570] FCALL call write~$Pointer$(sll_create_~head~0, { base: sll_create_~new_head~0!base, offset: sll_create_~new_head~0!offset }, 4); [L571] sll_create_~head~0 := sll_create_~new_head~0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_#t~post2=1, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L565-L572] COND FALSE !(!(sll_create_#t~post2 > 0)) [L565] havoc sll_create_#t~post2; [L566] FCALL call sll_create_#t~malloc3 := #Ultimate.alloc(4); [L566] sll_create_~new_head~0 := sll_create_#t~malloc3; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == sll_create_~new_head~0) VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L570] FCALL call write~$Pointer$(sll_create_~head~0, { base: sll_create_~new_head~0!base, offset: sll_create_~new_head~0!offset }, 4); [L571] sll_create_~head~0 := sll_create_~new_head~0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_#t~post2=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L565-L572] COND TRUE !(sll_create_#t~post2 > 0) [L565] havoc sll_create_#t~post2; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L573] sll_create_#res := sll_create_~head~0; [L617] main_#t~ret15 := sll_create_#res; [L617] FCALL call write~init~$Pointer$(main_#t~ret15, main_~#s~0, 4); [L617] havoc main_#t~ret15; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L618] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] COND FALSE !(!#t~short12) [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND FALSE !(#t~short12) VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L618] RET call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret16=1, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L618] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647; [L618] main_~k~0 := main_#t~ret16; [L618] havoc main_#t~ret16; [L619] main_~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L620] main_#t~short18 := main_~i~0 < main_~k~0; [L620] COND TRUE main_#t~short18 [L620] assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647; [L620] main_#t~short18 := 0 != main_#t~nondet17; VAL [#NULL!base=0, #NULL!offset=0, main_#t~nondet17=0, main_#t~short18=false, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L620-L624] COND TRUE !main_#t~short18 [L620] havoc main_#t~short18; [L620] havoc main_#t~nondet17; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L625] FCALL call main_#t~mem21 := read~$Pointer$(main_~#s~0, 4); [L625] sll_length_#in~head := main_#t~mem21; [L625] havoc sll_length_#res; [L625] havoc sll_length_#t~post4, sll_length_#t~mem5, sll_length_~head, sll_length_~len~0; [L575-L582] sll_length_~head := sll_length_#in~head; [L576] sll_length_~len~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=10, sll_length_~head!offset=0, sll_length_~len~0=0] [L577-L580] COND FALSE !(!(sll_length_~head != { base: 0, offset: 0 })) [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] FCALL call sll_length_#t~mem5 := read~$Pointer$({ base: sll_length_~head!base, offset: sll_length_~head!offset }, 4); [L579] sll_length_~head := sll_length_#t~mem5; [L579] havoc sll_length_#t~mem5; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=8, sll_length_~head!offset=0, sll_length_~len~0=1] [L577-L580] COND FALSE !(!(sll_length_~head != { base: 0, offset: 0 })) [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] FCALL call sll_length_#t~mem5 := read~$Pointer$({ base: sll_length_~head!base, offset: sll_length_~head!offset }, 4); [L579] sll_length_~head := sll_length_#t~mem5; [L579] havoc sll_length_#t~mem5; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L577-L580] COND TRUE !(sll_length_~head != { base: 0, offset: 0 }) [L581] sll_length_#res := sll_length_~len~0; [L625] main_#t~ret22 := sll_length_#res; [L625] assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_#t~ret22=2, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L625] COND TRUE main_~k~0 + main_~len~2 != main_#t~ret22 [L625] havoc main_#t~ret22; [L625] havoc main_#t~mem21; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L630] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~ret14, main_#t~ret15, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21, main_#t~ret22, main_#t~mem23, main_~len~2, main_~#s~0, main_~k~0, main_~i~0; VAL [#NULL!base=0, #NULL!offset=0] [L616] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L616] RET call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret14=2] [L616] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647; [L616] main_~len~2 := main_#t~ret14; [L616] havoc main_#t~ret14; [L617] FCALL call main_~#s~0 := #Ultimate.alloc(4); [L617] sll_create_#in~len := main_~len~2; [L617] havoc sll_create_#res; [L617] havoc sll_create_#t~malloc3, sll_create_~new_head~0, sll_create_#t~post2, sll_create_~len, sll_create_~head~0; [L563-L574] sll_create_~len := sll_create_#in~len; [L564] sll_create_~head~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=2] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~post2=2, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1] [L565-L572] COND FALSE !(!(sll_create_#t~post2 > 0)) [L565] havoc sll_create_#t~post2; [L566] FCALL call sll_create_#t~malloc3 := #Ultimate.alloc(4); [L566] sll_create_~new_head~0 := sll_create_#t~malloc3; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == sll_create_~new_head~0) VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L570] FCALL call write~$Pointer$(sll_create_~head~0, { base: sll_create_~new_head~0!base, offset: sll_create_~new_head~0!offset }, 4); [L571] sll_create_~head~0 := sll_create_~new_head~0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_#t~post2=1, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L565-L572] COND FALSE !(!(sll_create_#t~post2 > 0)) [L565] havoc sll_create_#t~post2; [L566] FCALL call sll_create_#t~malloc3 := #Ultimate.alloc(4); [L566] sll_create_~new_head~0 := sll_create_#t~malloc3; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == sll_create_~new_head~0) VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L570] FCALL call write~$Pointer$(sll_create_~head~0, { base: sll_create_~new_head~0!base, offset: sll_create_~new_head~0!offset }, 4); [L571] sll_create_~head~0 := sll_create_~new_head~0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_#t~post2=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L565-L572] COND TRUE !(sll_create_#t~post2 > 0) [L565] havoc sll_create_#t~post2; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L573] sll_create_#res := sll_create_~head~0; [L617] main_#t~ret15 := sll_create_#res; [L617] FCALL call write~init~$Pointer$(main_#t~ret15, main_~#s~0, 4); [L617] havoc main_#t~ret15; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L618] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] COND FALSE !(!#t~short12) [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND FALSE !(#t~short12) VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L618] RET call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret16=1, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L618] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647; [L618] main_~k~0 := main_#t~ret16; [L618] havoc main_#t~ret16; [L619] main_~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L620] main_#t~short18 := main_~i~0 < main_~k~0; [L620] COND TRUE main_#t~short18 [L620] assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647; [L620] main_#t~short18 := 0 != main_#t~nondet17; VAL [#NULL!base=0, #NULL!offset=0, main_#t~nondet17=0, main_#t~short18=false, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L620-L624] COND TRUE !main_#t~short18 [L620] havoc main_#t~short18; [L620] havoc main_#t~nondet17; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L625] FCALL call main_#t~mem21 := read~$Pointer$(main_~#s~0, 4); [L625] sll_length_#in~head := main_#t~mem21; [L625] havoc sll_length_#res; [L625] havoc sll_length_#t~post4, sll_length_#t~mem5, sll_length_~head, sll_length_~len~0; [L575-L582] sll_length_~head := sll_length_#in~head; [L576] sll_length_~len~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=10, sll_length_~head!offset=0, sll_length_~len~0=0] [L577-L580] COND FALSE !(!(sll_length_~head != { base: 0, offset: 0 })) [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] FCALL call sll_length_#t~mem5 := read~$Pointer$({ base: sll_length_~head!base, offset: sll_length_~head!offset }, 4); [L579] sll_length_~head := sll_length_#t~mem5; [L579] havoc sll_length_#t~mem5; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=8, sll_length_~head!offset=0, sll_length_~len~0=1] [L577-L580] COND FALSE !(!(sll_length_~head != { base: 0, offset: 0 })) [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] FCALL call sll_length_#t~mem5 := read~$Pointer$({ base: sll_length_~head!base, offset: sll_length_~head!offset }, 4); [L579] sll_length_~head := sll_length_#t~mem5; [L579] havoc sll_length_#t~mem5; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L577-L580] COND TRUE !(sll_length_~head != { base: 0, offset: 0 }) [L581] sll_length_#res := sll_length_~len~0; [L625] main_#t~ret22 := sll_length_#res; [L625] assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_#t~ret22=2, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L625] COND TRUE main_~k~0 + main_~len~2 != main_#t~ret22 [L625] havoc main_#t~ret22; [L625] havoc main_#t~mem21; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L630] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L616] CALL call #t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L616] RET call #t~ret14 := _get_nondet_int(2, 5); VAL [#NULL!base=0, #NULL!offset=0] [L616] assume -2147483648 <= #t~ret14 && #t~ret14 <= 2147483647; [L616] ~len~2 := #t~ret14; [L616] havoc #t~ret14; [L617] FCALL call ~#s~0 := #Ultimate.alloc(4); [L563-L574] ~len := #in~len; [L564] ~head~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND FALSE !(!(#t~post2 > 0)) [L565] havoc #t~post2; [L566] FCALL call #t~malloc3 := #Ultimate.alloc(4); [L566] ~new_head~0 := #t~malloc3; VAL [#NULL!base=0, #NULL!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#NULL!base=0, #NULL!offset=0] [L570] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L571] ~head~0 := ~new_head~0; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND FALSE !(!(#t~post2 > 0)) [L565] havoc #t~post2; [L566] FCALL call #t~malloc3 := #Ultimate.alloc(4); [L566] ~new_head~0 := #t~malloc3; VAL [#NULL!base=0, #NULL!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#NULL!base=0, #NULL!offset=0] [L570] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L571] ~head~0 := ~new_head~0; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND TRUE !(#t~post2 > 0) [L565] havoc #t~post2; VAL [#NULL!base=0, #NULL!offset=0] [L573] #res := ~head~0; [L617] FCALL call write~init~$Pointer$(#t~ret15, ~#s~0, 4); [L617] havoc #t~ret15; VAL [#NULL!base=0, #NULL!offset=0] [L618] CALL call #t~ret16 := _get_nondet_int(0, ~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] COND FALSE !(!#t~short12) [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND FALSE !(#t~short12) VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L618] RET call #t~ret16 := _get_nondet_int(0, ~len~2 - 1); VAL [#NULL!base=0, #NULL!offset=0] [L618] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L618] ~k~0 := #t~ret16; [L618] havoc #t~ret16; [L619] ~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L620] #t~short18 := ~i~0 < ~k~0; [L620] COND TRUE #t~short18 [L620] assume -2147483648 <= #t~nondet17 && #t~nondet17 <= 2147483647; [L620] #t~short18 := 0 != #t~nondet17; VAL [#NULL!base=0, #NULL!offset=0] [L620-L624] COND TRUE !#t~short18 [L620] havoc #t~short18; [L620] havoc #t~nondet17; VAL [#NULL!base=0, #NULL!offset=0] [L625] FCALL call #t~mem21 := read~$Pointer$(~#s~0, 4); [L575-L582] ~head := #in~head; [L576] ~len~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND FALSE !(!(~head != { base: 0, offset: 0 })) [L578] #t~post4 := ~len~0; [L578] ~len~0 := 1 + #t~post4; [L578] havoc #t~post4; [L579] FCALL call #t~mem5 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4); [L579] ~head := #t~mem5; [L579] havoc #t~mem5; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND FALSE !(!(~head != { base: 0, offset: 0 })) [L578] #t~post4 := ~len~0; [L578] ~len~0 := 1 + #t~post4; [L578] havoc #t~post4; [L579] FCALL call #t~mem5 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4); [L579] ~head := #t~mem5; [L579] havoc #t~mem5; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND TRUE !(~head != { base: 0, offset: 0 }) [L581] #res := ~len~0; [L625] assume -2147483648 <= #t~ret22 && #t~ret22 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L625] COND TRUE ~k~0 + ~len~2 != #t~ret22 [L625] havoc #t~ret22; [L625] havoc #t~mem21; VAL [#NULL!base=0, #NULL!offset=0] [L630] assert false; VAL [#NULL!base=0, #NULL!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L616] CALL call #t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L616] RET call #t~ret14 := _get_nondet_int(2, 5); VAL [#NULL!base=0, #NULL!offset=0] [L616] assume -2147483648 <= #t~ret14 && #t~ret14 <= 2147483647; [L616] ~len~2 := #t~ret14; [L616] havoc #t~ret14; [L617] FCALL call ~#s~0 := #Ultimate.alloc(4); [L563-L574] ~len := #in~len; [L564] ~head~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND FALSE !(!(#t~post2 > 0)) [L565] havoc #t~post2; [L566] FCALL call #t~malloc3 := #Ultimate.alloc(4); [L566] ~new_head~0 := #t~malloc3; VAL [#NULL!base=0, #NULL!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#NULL!base=0, #NULL!offset=0] [L570] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L571] ~head~0 := ~new_head~0; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND FALSE !(!(#t~post2 > 0)) [L565] havoc #t~post2; [L566] FCALL call #t~malloc3 := #Ultimate.alloc(4); [L566] ~new_head~0 := #t~malloc3; VAL [#NULL!base=0, #NULL!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#NULL!base=0, #NULL!offset=0] [L570] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L571] ~head~0 := ~new_head~0; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND TRUE !(#t~post2 > 0) [L565] havoc #t~post2; VAL [#NULL!base=0, #NULL!offset=0] [L573] #res := ~head~0; [L617] FCALL call write~init~$Pointer$(#t~ret15, ~#s~0, 4); [L617] havoc #t~ret15; VAL [#NULL!base=0, #NULL!offset=0] [L618] CALL call #t~ret16 := _get_nondet_int(0, ~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] COND FALSE !(!#t~short12) [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND FALSE !(#t~short12) VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L618] RET call #t~ret16 := _get_nondet_int(0, ~len~2 - 1); VAL [#NULL!base=0, #NULL!offset=0] [L618] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L618] ~k~0 := #t~ret16; [L618] havoc #t~ret16; [L619] ~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L620] #t~short18 := ~i~0 < ~k~0; [L620] COND TRUE #t~short18 [L620] assume -2147483648 <= #t~nondet17 && #t~nondet17 <= 2147483647; [L620] #t~short18 := 0 != #t~nondet17; VAL [#NULL!base=0, #NULL!offset=0] [L620-L624] COND TRUE !#t~short18 [L620] havoc #t~short18; [L620] havoc #t~nondet17; VAL [#NULL!base=0, #NULL!offset=0] [L625] FCALL call #t~mem21 := read~$Pointer$(~#s~0, 4); [L575-L582] ~head := #in~head; [L576] ~len~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND FALSE !(!(~head != { base: 0, offset: 0 })) [L578] #t~post4 := ~len~0; [L578] ~len~0 := 1 + #t~post4; [L578] havoc #t~post4; [L579] FCALL call #t~mem5 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4); [L579] ~head := #t~mem5; [L579] havoc #t~mem5; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND FALSE !(!(~head != { base: 0, offset: 0 })) [L578] #t~post4 := ~len~0; [L578] ~len~0 := 1 + #t~post4; [L578] havoc #t~post4; [L579] FCALL call #t~mem5 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4); [L579] ~head := #t~mem5; [L579] havoc #t~mem5; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND TRUE !(~head != { base: 0, offset: 0 }) [L581] #res := ~len~0; [L625] assume -2147483648 <= #t~ret22 && #t~ret22 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L625] COND TRUE ~k~0 + ~len~2 != #t~ret22 [L625] havoc #t~ret22; [L625] havoc #t~mem21; VAL [#NULL!base=0, #NULL!offset=0] [L630] assert false; VAL [#NULL!base=0, #NULL!offset=0] [L616] CALL, EXPR _get_nondet_int(2, 5) VAL [\old(from)=2, \old(until)=5] [L609] int len = from; VAL [\old(from)=2, \old(until)=5, from=2, len=2, until=5] [L610] len < until && __VERIFIER_nondet_int() [L610] len < until && __VERIFIER_nondet_int() VAL [\old(from)=2, \old(until)=5, __VERIFIER_nondet_int()=0, from=2, len=2, len < until && __VERIFIER_nondet_int()=0, until=5] [L610] COND FALSE !(len < until && __VERIFIER_nondet_int()) [L613] return len; [L616] RET, EXPR _get_nondet_int(2, 5) [L616] const int len = _get_nondet_int(2, 5); [L617] SLL s = sll_create(len); [L564] SLL head = ((void *)0); [L565] EXPR len-- [L565] COND TRUE len-- > 0 [L566] SLL new_head = (SLL) malloc(sizeof(struct node)); [L567] COND FALSE !(((void *)0) == new_head) [L570] new_head->next = head [L571] head = new_head [L565] EXPR len-- [L565] COND TRUE len-- > 0 [L566] SLL new_head = (SLL) malloc(sizeof(struct node)); [L567] COND FALSE !(((void *)0) == new_head) [L570] new_head->next = head [L571] head = new_head [L565] EXPR len-- [L565] COND FALSE !(len-- > 0) [L573] return head; [L617] SLL s = sll_create(len); [L618] CALL, EXPR _get_nondet_int(0, len - 1) VAL [\old(from)=0, \old(until)=1] [L609] int len = from; VAL [\old(from)=0, \old(until)=1, from=0, len=0, until=1] [L610] len < until && __VERIFIER_nondet_int() [L610] len < until && __VERIFIER_nondet_int() VAL [\old(from)=0, \old(until)=1, __VERIFIER_nondet_int()=-1, from=0, len=0, len < until && __VERIFIER_nondet_int()=1, until=1] [L610] COND TRUE len < until && __VERIFIER_nondet_int() [L611] len++ VAL [\old(from)=0, \old(until)=1, from=0, len=1, until=1] [L610] len < until && __VERIFIER_nondet_int() VAL [\old(from)=0, \old(until)=1, __VERIFIER_nondet_int()=0, from=0, len=1, len < until && __VERIFIER_nondet_int()=0, until=1] [L610] COND FALSE !(len < until && __VERIFIER_nondet_int()) [L613] return len; [L618] RET, EXPR _get_nondet_int(0, len - 1) [L618] const int k = _get_nondet_int(0, len - 1); [L619] int i = 0; [L620] i < k && __VERIFIER_nondet_int() [L620] i < k && __VERIFIER_nondet_int() [L620] COND FALSE !(i < k && __VERIFIER_nondet_int()) [L625] EXPR \read(s) [L576] int len = 0; [L577] COND TRUE \read(head) [L578] len++ [L579] EXPR head->next [L579] head = head->next [L577] COND TRUE \read(head) [L578] len++ [L579] EXPR head->next [L579] head = head->next [L577] COND FALSE !(\read(head)) [L581] return len; [L625] COND TRUE k + len != sll_length(s) [L630] __VERIFIER_error() ----- [2018-11-23 02:43:51,065 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 02:43:51 ImpRootNode [2018-11-23 02:43:51,065 INFO L132 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2018-11-23 02:43:51,066 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 02:43:51,066 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 02:43:51,066 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 02:43:51,066 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:43:38" (3/4) ... [2018-11-23 02:43:51,068 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];havoc main_#res;havoc main_#t~ret14, main_#t~ret15.base, main_#t~ret15.offset, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21.base, main_#t~mem21.offset, main_#t~ret22, main_#t~mem23.base, main_#t~mem23.offset, main_~len~2, main_~#s~0.base, main_~#s~0.offset, main_~k~0, main_~i~0; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [|#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5] [?] ~from := #in~from;~until := #in~until;~len~1 := ~from; VAL [_get_nondet_int_~from=2, _get_nondet_int_~len~1=2, _get_nondet_int_~until=5, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5] [?] #t~short12 := ~len~1 < ~until;BeginParallelComposition{ParallelCodeBlock0: assume #t~short12;assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647;#t~short12 := 0 != #t~nondet11;ParallelCodeBlock1: assume !#t~short12;}EndParallelComposition VAL [_get_nondet_int_~from=2, _get_nondet_int_~len~1=2, _get_nondet_int_~until=5, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5, |_get_nondet_int_#t~nondet11|=0, |_get_nondet_int_#t~short12|=false] [?] assume !#t~short12;havoc #t~nondet11;havoc #t~short12; VAL [_get_nondet_int_~from=2, _get_nondet_int_~len~1=2, _get_nondet_int_~until=5, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5] [?] #res := ~len~1;assume true; VAL [_get_nondet_int_~from=2, _get_nondet_int_~len~1=2, _get_nondet_int_~until=5, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=2, |_get_nondet_int_#in~until|=5, |_get_nondet_int_#res|=2] [?] RET #149#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~ret14|=2] [?] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647;main_~len~2 := main_#t~ret14;havoc main_#t~ret14;call main_~#s~0.base, main_~#s~0.offset := #Ultimate.alloc(4);sll_create_#in~len := main_~len~2;havoc sll_create_#res.base, sll_create_#res.offset;havoc sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, sll_create_#t~post2, sll_create_~len, sll_create_~head~0.base, sll_create_~head~0.offset;sll_create_~len := sll_create_#in~len;sll_create_~head~0.base, sll_create_~head~0.offset := 0, 0; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=0, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2] [?] sll_create_#t~post2 := sll_create_~len;sll_create_~len := sll_create_#t~post2 - 1; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=0, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~post2|=2] [?] assume !!(sll_create_#t~post2 > 0);havoc sll_create_#t~post2;call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4);sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=0, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=1, ULTIMATE.start_sll_create_~new_head~0.base=8, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=8, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=0, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=1, ULTIMATE.start_sll_create_~new_head~0.base=8, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=8, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4);sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=8, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=1, ULTIMATE.start_sll_create_~new_head~0.base=8, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=8, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] sll_create_#t~post2 := sll_create_~len;sll_create_~len := sll_create_#t~post2 - 1; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=8, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=0, ULTIMATE.start_sll_create_~new_head~0.base=8, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=8, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_create_#t~post2|=1] [?] assume !!(sll_create_#t~post2 > 0);havoc sll_create_#t~post2;call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4);sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=8, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=0, ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=8, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=0, ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4);sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=0, ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] sll_create_#t~post2 := sll_create_~len;sll_create_~len := sll_create_#t~post2 - 1; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_create_#t~post2|=0] [?] assume !(sll_create_#t~post2 > 0);havoc sll_create_#t~post2; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] sll_create_#res.base, sll_create_#res.offset := sll_create_~head~0.base, sll_create_~head~0.offset;main_#t~ret15.base, main_#t~ret15.offset := sll_create_#res.base, sll_create_#res.offset;call write~init~$Pointer$(main_#t~ret15.base, main_#t~ret15.offset, main_~#s~0.base, main_~#s~0.offset, 4);havoc main_#t~ret15.base, main_#t~ret15.offset; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [|#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1] [?] ~from := #in~from;~until := #in~until;~len~1 := ~from; VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=0, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1] [?] #t~short12 := ~len~1 < ~until;BeginParallelComposition{ParallelCodeBlock0: assume #t~short12;assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647;#t~short12 := 0 != #t~nondet11;ParallelCodeBlock1: assume !#t~short12;}EndParallelComposition VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=0, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1, |_get_nondet_int_#t~nondet11|=(- 1), |_get_nondet_int_#t~short12|=true] [?] assume !!#t~short12;havoc #t~nondet11;havoc #t~short12;#t~post13 := ~len~1;~len~1 := 1 + #t~post13;havoc #t~post13; VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=1, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1] [?] #t~short12 := ~len~1 < ~until;BeginParallelComposition{ParallelCodeBlock0: assume #t~short12;assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647;#t~short12 := 0 != #t~nondet11;ParallelCodeBlock1: assume !#t~short12;}EndParallelComposition VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=1, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1, |_get_nondet_int_#t~nondet11|=0, |_get_nondet_int_#t~short12|=false] [?] assume !#t~short12;havoc #t~nondet11;havoc #t~short12; VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=1, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1] [?] #res := ~len~1;assume true; VAL [_get_nondet_int_~from=0, _get_nondet_int_~len~1=1, _get_nondet_int_~until=1, |#NULL.base|=0, |#NULL.offset|=0, |_get_nondet_int_#in~from|=0, |_get_nondet_int_#in~until|=1, |_get_nondet_int_#res|=1] [?] RET #153#return; VAL [ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~ret16|=1, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647;main_~k~0 := main_#t~ret16;havoc main_#t~ret16;main_~i~0 := 0; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] main_#t~short18 := main_~i~0 < main_~k~0;BeginParallelComposition{ParallelCodeBlock0: assume main_#t~short18;assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647;main_#t~short18 := 0 != main_#t~nondet17;ParallelCodeBlock1: assume !main_#t~short18;}EndParallelComposition VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~nondet17|=0, |ULTIMATE.start_main_#t~short18|=false, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] assume !main_#t~short18;havoc main_#t~short18;havoc main_#t~nondet17; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0] [?] call main_#t~mem21.base, main_#t~mem21.offset := read~$Pointer$(main_~#s~0.base, main_~#s~0.offset, 4);sll_length_#in~head.base, sll_length_#in~head.offset := main_#t~mem21.base, main_#t~mem21.offset;havoc sll_length_#res;havoc sll_length_#t~post4, sll_length_#t~mem5.base, sll_length_#t~mem5.offset, sll_length_~head.base, sll_length_~head.offset, sll_length_~len~0;sll_length_~head.base, sll_length_~head.offset := sll_length_#in~head.base, sll_length_#in~head.offset;sll_length_~len~0 := 0; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=10, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem21.base|=10, |ULTIMATE.start_main_#t~mem21.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0] [?] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0);sll_length_#t~post4 := sll_length_~len~0;sll_length_~len~0 := 1 + sll_length_#t~post4;havoc sll_length_#t~post4;call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4);sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset;havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=8, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=1, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem21.base|=10, |ULTIMATE.start_main_#t~mem21.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0] [?] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0);sll_length_#t~post4 := sll_length_~len~0;sll_length_~len~0 := 1 + sll_length_#t~post4;havoc sll_length_#t~post4;call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4);sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset;havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=0, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem21.base|=10, |ULTIMATE.start_main_#t~mem21.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume !true;ParallelCodeBlock1: assume !(sll_length_~head.base != 0 || sll_length_~head.offset != 0);}EndParallelCompositionsll_length_#res := sll_length_~len~0;main_#t~ret22 := sll_length_#res;assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=0, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem21.base|=10, |ULTIMATE.start_main_#t~mem21.offset|=0, |ULTIMATE.start_main_#t~ret22|=2, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0, |ULTIMATE.start_sll_length_#res|=2] [?] assume main_~k~0 + main_~len~2 != main_#t~ret22;havoc main_#t~ret22;havoc main_#t~mem21.base, main_#t~mem21.offset; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=0, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0, |ULTIMATE.start_sll_length_#res|=2] [?] assume !false; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~k~0=1, ULTIMATE.start_main_~len~2=2, ULTIMATE.start_sll_create_~head~0.base=10, ULTIMATE.start_sll_create_~head~0.offset=0, ULTIMATE.start_sll_create_~len=(- 1), ULTIMATE.start_sll_create_~new_head~0.base=10, ULTIMATE.start_sll_create_~new_head~0.offset=0, ULTIMATE.start_sll_length_~head.base=0, ULTIMATE.start_sll_length_~head.offset=0, ULTIMATE.start_sll_length_~len~0=2, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#s~0.base|=6, |ULTIMATE.start_main_~#s~0.offset|=0, |ULTIMATE.start_sll_create_#in~len|=2, |ULTIMATE.start_sll_create_#res.base|=10, |ULTIMATE.start_sll_create_#res.offset|=0, |ULTIMATE.start_sll_create_#t~malloc3.base|=10, |ULTIMATE.start_sll_create_#t~malloc3.offset|=0, |ULTIMATE.start_sll_length_#in~head.base|=10, |ULTIMATE.start_sll_length_#in~head.offset|=0, |ULTIMATE.start_sll_length_#res|=2] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~ret14, main_#t~ret15.base, main_#t~ret15.offset, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21.base, main_#t~mem21.offset, main_#t~ret22, main_#t~mem23.base, main_#t~mem23.offset, main_~len~2, main_~#s~0.base, main_~#s~0.offset, main_~k~0, main_~i~0; VAL [#NULL.base=0, #NULL.offset=0] [L616] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] assume #t~short12; [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] assume !#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L608-L614] ensures true; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, #res=2, ~from=2, ~len~1=2, ~until=5] [L616] RET call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret14=2] [L616] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647; [L616] main_~len~2 := main_#t~ret14; [L616] havoc main_#t~ret14; [L617] call main_~#s~0.base, main_~#s~0.offset := #Ultimate.alloc(4); [L617] sll_create_#in~len := main_~len~2; [L617] havoc sll_create_#res.base, sll_create_#res.offset; [L617] havoc sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, sll_create_#t~post2, sll_create_~len, sll_create_~head~0.base, sll_create_~head~0.offset; [L563-L574] sll_create_~len := sll_create_#in~len; [L564] sll_create_~head~0.base, sll_create_~head~0.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=2] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~post2=2, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1] [L565-L572] assume !!(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; [L566] call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4); [L566] sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L567-L569] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L570] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4); [L571] sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_#t~post2=1, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L565-L572] assume !!(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; [L566] call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4); [L566] sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L567-L569] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L570] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4); [L571] sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_#t~post2=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L565-L572] assume !(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L573] sll_create_#res.base, sll_create_#res.offset := sll_create_~head~0.base, sll_create_~head~0.offset; [L617] main_#t~ret15.base, main_#t~ret15.offset := sll_create_#res.base, sll_create_#res.offset; [L617] call write~init~$Pointer$(main_#t~ret15.base, main_#t~ret15.offset, main_~#s~0.base, main_~#s~0.offset, 4); [L617] havoc main_#t~ret15.base, main_#t~ret15.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L618] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] assume #t~short12; [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] assume !!#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] assume !#t~short12; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] assume !#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L608-L614] ensures true; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #res=1, ~from=0, ~len~1=1, ~until=1] [L618] RET call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret16=1, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L618] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647; [L618] main_~k~0 := main_#t~ret16; [L618] havoc main_#t~ret16; [L619] main_~i~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L620] main_#t~short18 := main_~i~0 < main_~k~0; [L620] assume main_#t~short18; [L620] assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647; [L620] main_#t~short18 := 0 != main_#t~nondet17; VAL [#NULL.base=0, #NULL.offset=0, main_#t~nondet17=0, main_#t~short18=false, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L620-L624] assume !main_#t~short18; [L620] havoc main_#t~short18; [L620] havoc main_#t~nondet17; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L625] call main_#t~mem21.base, main_#t~mem21.offset := read~$Pointer$(main_~#s~0.base, main_~#s~0.offset, 4); [L625] sll_length_#in~head.base, sll_length_#in~head.offset := main_#t~mem21.base, main_#t~mem21.offset; [L625] havoc sll_length_#res; [L625] havoc sll_length_#t~post4, sll_length_#t~mem5.base, sll_length_#t~mem5.offset, sll_length_~head.base, sll_length_~head.offset, sll_length_~len~0; [L575-L582] sll_length_~head.base, sll_length_~head.offset := sll_length_#in~head.base, sll_length_#in~head.offset; [L576] sll_length_~len~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=10, sll_length_~head.offset=0, sll_length_~len~0=0] [L577-L580] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4); [L579] sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset; [L579] havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=8, sll_length_~head.offset=0, sll_length_~len~0=1] [L577-L580] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4); [L579] sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset; [L579] havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L577-L580] assume !(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L581] sll_length_#res := sll_length_~len~0; [L625] main_#t~ret22 := sll_length_#res; [L625] assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_#t~ret22=2, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L625-L627] assume main_~k~0 + main_~len~2 != main_#t~ret22; [L625] havoc main_#t~ret22; [L625] havoc main_#t~mem21.base, main_#t~mem21.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L630] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~ret14, main_#t~ret15.base, main_#t~ret15.offset, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21.base, main_#t~mem21.offset, main_#t~ret22, main_#t~mem23.base, main_#t~mem23.offset, main_~len~2, main_~#s~0.base, main_~#s~0.offset, main_~k~0, main_~i~0; VAL [#NULL.base=0, #NULL.offset=0] [L616] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] assume #t~short12; [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] assume !#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L608-L614] ensures true; VAL [#in~from=2, #in~until=5, #NULL.base=0, #NULL.offset=0, #res=2, ~from=2, ~len~1=2, ~until=5] [L616] RET call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret14=2] [L616] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647; [L616] main_~len~2 := main_#t~ret14; [L616] havoc main_#t~ret14; [L617] call main_~#s~0.base, main_~#s~0.offset := #Ultimate.alloc(4); [L617] sll_create_#in~len := main_~len~2; [L617] havoc sll_create_#res.base, sll_create_#res.offset; [L617] havoc sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, sll_create_#t~post2, sll_create_~len, sll_create_~head~0.base, sll_create_~head~0.offset; [L563-L574] sll_create_~len := sll_create_#in~len; [L564] sll_create_~head~0.base, sll_create_~head~0.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=2] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~post2=2, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1] [L565-L572] assume !!(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; [L566] call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4); [L566] sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L567-L569] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=0, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L570] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4); [L571] sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=1, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=8, sll_create_#t~malloc3.offset=0, sll_create_#t~post2=1, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=8, sll_create_~new_head~0.offset=0] [L565-L572] assume !!(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; [L566] call sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset := #Ultimate.alloc(4); [L566] sll_create_~new_head~0.base, sll_create_~new_head~0.offset := sll_create_#t~malloc3.base, sll_create_#t~malloc3.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L567-L569] assume !(0 == sll_create_~new_head~0.base && 0 == sll_create_~new_head~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=8, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L570] call write~$Pointer$(sll_create_~head~0.base, sll_create_~head~0.offset, sll_create_~new_head~0.base, sll_create_~new_head~0.offset, 4); [L571] sll_create_~head~0.base, sll_create_~head~0.offset := sll_create_~new_head~0.base, sll_create_~new_head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=0, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_#t~post2=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L565-L572] assume !(sll_create_#t~post2 > 0); [L565] havoc sll_create_#t~post2; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L573] sll_create_#res.base, sll_create_#res.offset := sll_create_~head~0.base, sll_create_~head~0.offset; [L617] main_#t~ret15.base, main_#t~ret15.offset := sll_create_#res.base, sll_create_#res.offset; [L617] call write~init~$Pointer$(main_#t~ret15.base, main_#t~ret15.offset, main_~#s~0.base, main_~#s~0.offset, 4); [L617] havoc main_#t~ret15.base, main_#t~ret15.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L618] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] assume #t~short12; [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] assume !!#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] assume !#t~short12; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] assume !#t~short12; [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L608-L614] ensures true; VAL [#in~from=0, #in~until=1, #NULL.base=0, #NULL.offset=0, #res=1, ~from=0, ~len~1=1, ~until=1] [L618] RET call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret16=1, main_~#s~0.base=6, main_~#s~0.offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L618] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647; [L618] main_~k~0 := main_#t~ret16; [L618] havoc main_#t~ret16; [L619] main_~i~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L620] main_#t~short18 := main_~i~0 < main_~k~0; [L620] assume main_#t~short18; [L620] assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647; [L620] main_#t~short18 := 0 != main_#t~nondet17; VAL [#NULL.base=0, #NULL.offset=0, main_#t~nondet17=0, main_#t~short18=false, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L620-L624] assume !main_#t~short18; [L620] havoc main_#t~short18; [L620] havoc main_#t~nondet17; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0] [L625] call main_#t~mem21.base, main_#t~mem21.offset := read~$Pointer$(main_~#s~0.base, main_~#s~0.offset, 4); [L625] sll_length_#in~head.base, sll_length_#in~head.offset := main_#t~mem21.base, main_#t~mem21.offset; [L625] havoc sll_length_#res; [L625] havoc sll_length_#t~post4, sll_length_#t~mem5.base, sll_length_#t~mem5.offset, sll_length_~head.base, sll_length_~head.offset, sll_length_~len~0; [L575-L582] sll_length_~head.base, sll_length_~head.offset := sll_length_#in~head.base, sll_length_#in~head.offset; [L576] sll_length_~len~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=10, sll_length_~head.offset=0, sll_length_~len~0=0] [L577-L580] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4); [L579] sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset; [L579] havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=8, sll_length_~head.offset=0, sll_length_~len~0=1] [L577-L580] assume !!(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] call sll_length_#t~mem5.base, sll_length_#t~mem5.offset := read~$Pointer$(sll_length_~head.base, sll_length_~head.offset, 4); [L579] sll_length_~head.base, sll_length_~head.offset := sll_length_#t~mem5.base, sll_length_#t~mem5.offset; [L579] havoc sll_length_#t~mem5.base, sll_length_#t~mem5.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L577-L580] assume !(sll_length_~head.base != 0 || sll_length_~head.offset != 0); [L581] sll_length_#res := sll_length_~len~0; [L625] main_#t~ret22 := sll_length_#res; [L625] assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem21.base=10, main_#t~mem21.offset=0, main_#t~ret22=2, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L625-L627] assume main_~k~0 + main_~len~2 != main_#t~ret22; [L625] havoc main_#t~ret22; [L625] havoc main_#t~mem21.base, main_#t~mem21.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [L630] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_~#s~0.base=6, main_~#s~0.offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res.base=10, sll_create_#res.offset=0, sll_create_#t~malloc3.base=10, sll_create_#t~malloc3.offset=0, sll_create_~head~0.base=10, sll_create_~head~0.offset=0, sll_create_~len=-1, sll_create_~new_head~0.base=10, sll_create_~new_head~0.offset=0, sll_length_#in~head.base=10, sll_length_#in~head.offset=0, sll_length_#res=2, sll_length_~head.base=0, sll_length_~head.offset=0, sll_length_~len~0=2] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~ret14, main_#t~ret15, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21, main_#t~ret22, main_#t~mem23, main_~len~2, main_~#s~0, main_~k~0, main_~i~0; VAL [#NULL!base=0, #NULL!offset=0] [L616] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L616] RET call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret14=2] [L616] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647; [L616] main_~len~2 := main_#t~ret14; [L616] havoc main_#t~ret14; [L617] FCALL call main_~#s~0 := #Ultimate.alloc(4); [L617] sll_create_#in~len := main_~len~2; [L617] havoc sll_create_#res; [L617] havoc sll_create_#t~malloc3, sll_create_~new_head~0, sll_create_#t~post2, sll_create_~len, sll_create_~head~0; [L563-L574] sll_create_~len := sll_create_#in~len; [L564] sll_create_~head~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=2] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~post2=2, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1] [L565-L572] COND FALSE !(!(sll_create_#t~post2 > 0)) [L565] havoc sll_create_#t~post2; [L566] FCALL call sll_create_#t~malloc3 := #Ultimate.alloc(4); [L566] sll_create_~new_head~0 := sll_create_#t~malloc3; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == sll_create_~new_head~0) VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L570] FCALL call write~$Pointer$(sll_create_~head~0, { base: sll_create_~new_head~0!base, offset: sll_create_~new_head~0!offset }, 4); [L571] sll_create_~head~0 := sll_create_~new_head~0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_#t~post2=1, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L565-L572] COND FALSE !(!(sll_create_#t~post2 > 0)) [L565] havoc sll_create_#t~post2; [L566] FCALL call sll_create_#t~malloc3 := #Ultimate.alloc(4); [L566] sll_create_~new_head~0 := sll_create_#t~malloc3; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == sll_create_~new_head~0) VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L570] FCALL call write~$Pointer$(sll_create_~head~0, { base: sll_create_~new_head~0!base, offset: sll_create_~new_head~0!offset }, 4); [L571] sll_create_~head~0 := sll_create_~new_head~0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_#t~post2=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L565-L572] COND TRUE !(sll_create_#t~post2 > 0) [L565] havoc sll_create_#t~post2; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L573] sll_create_#res := sll_create_~head~0; [L617] main_#t~ret15 := sll_create_#res; [L617] FCALL call write~init~$Pointer$(main_#t~ret15, main_~#s~0, 4); [L617] havoc main_#t~ret15; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L618] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] COND FALSE !(!#t~short12) [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND FALSE !(#t~short12) VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L618] RET call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret16=1, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L618] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647; [L618] main_~k~0 := main_#t~ret16; [L618] havoc main_#t~ret16; [L619] main_~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L620] main_#t~short18 := main_~i~0 < main_~k~0; [L620] COND TRUE main_#t~short18 [L620] assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647; [L620] main_#t~short18 := 0 != main_#t~nondet17; VAL [#NULL!base=0, #NULL!offset=0, main_#t~nondet17=0, main_#t~short18=false, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L620-L624] COND TRUE !main_#t~short18 [L620] havoc main_#t~short18; [L620] havoc main_#t~nondet17; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L625] FCALL call main_#t~mem21 := read~$Pointer$(main_~#s~0, 4); [L625] sll_length_#in~head := main_#t~mem21; [L625] havoc sll_length_#res; [L625] havoc sll_length_#t~post4, sll_length_#t~mem5, sll_length_~head, sll_length_~len~0; [L575-L582] sll_length_~head := sll_length_#in~head; [L576] sll_length_~len~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=10, sll_length_~head!offset=0, sll_length_~len~0=0] [L577-L580] COND FALSE !(!(sll_length_~head != { base: 0, offset: 0 })) [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] FCALL call sll_length_#t~mem5 := read~$Pointer$({ base: sll_length_~head!base, offset: sll_length_~head!offset }, 4); [L579] sll_length_~head := sll_length_#t~mem5; [L579] havoc sll_length_#t~mem5; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=8, sll_length_~head!offset=0, sll_length_~len~0=1] [L577-L580] COND FALSE !(!(sll_length_~head != { base: 0, offset: 0 })) [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] FCALL call sll_length_#t~mem5 := read~$Pointer$({ base: sll_length_~head!base, offset: sll_length_~head!offset }, 4); [L579] sll_length_~head := sll_length_#t~mem5; [L579] havoc sll_length_#t~mem5; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L577-L580] COND TRUE !(sll_length_~head != { base: 0, offset: 0 }) [L581] sll_length_#res := sll_length_~len~0; [L625] main_#t~ret22 := sll_length_#res; [L625] assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_#t~ret22=2, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L625] COND TRUE main_~k~0 + main_~len~2 != main_#t~ret22 [L625] havoc main_#t~ret22; [L625] havoc main_#t~mem21; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L630] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~ret14, main_#t~ret15, main_#t~ret16, main_#t~ret19, main_#t~post20, main_~position~0, main_#t~nondet17, main_#t~short18, main_#t~mem21, main_#t~ret22, main_#t~mem23, main_~len~2, main_~#s~0, main_~k~0, main_~i~0; VAL [#NULL!base=0, #NULL!offset=0] [L616] CALL call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L616] RET call main_#t~ret14 := _get_nondet_int(2, 5); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret14=2] [L616] assume -2147483648 <= main_#t~ret14 && main_#t~ret14 <= 2147483647; [L616] main_~len~2 := main_#t~ret14; [L616] havoc main_#t~ret14; [L617] FCALL call main_~#s~0 := #Ultimate.alloc(4); [L617] sll_create_#in~len := main_~len~2; [L617] havoc sll_create_#res; [L617] havoc sll_create_#t~malloc3, sll_create_~new_head~0, sll_create_#t~post2, sll_create_~len, sll_create_~head~0; [L563-L574] sll_create_~len := sll_create_#in~len; [L564] sll_create_~head~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=2] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~post2=2, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1] [L565-L572] COND FALSE !(!(sll_create_#t~post2 > 0)) [L565] havoc sll_create_#t~post2; [L566] FCALL call sll_create_#t~malloc3 := #Ultimate.alloc(4); [L566] sll_create_~new_head~0 := sll_create_#t~malloc3; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == sll_create_~new_head~0) VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=0, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L570] FCALL call write~$Pointer$(sll_create_~head~0, { base: sll_create_~new_head~0!base, offset: sll_create_~new_head~0!offset }, 4); [L571] sll_create_~head~0 := sll_create_~new_head~0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=1, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=8, sll_create_#t~malloc3!offset=0, sll_create_#t~post2=1, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=8, sll_create_~new_head~0!offset=0] [L565-L572] COND FALSE !(!(sll_create_#t~post2 > 0)) [L565] havoc sll_create_#t~post2; [L566] FCALL call sll_create_#t~malloc3 := #Ultimate.alloc(4); [L566] sll_create_~new_head~0 := sll_create_#t~malloc3; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == sll_create_~new_head~0) VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=8, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L570] FCALL call write~$Pointer$(sll_create_~head~0, { base: sll_create_~new_head~0!base, offset: sll_create_~new_head~0!offset }, 4); [L571] sll_create_~head~0 := sll_create_~new_head~0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=0, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L565] sll_create_#t~post2 := sll_create_~len; [L565] sll_create_~len := sll_create_#t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_#t~post2=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L565-L572] COND TRUE !(sll_create_#t~post2 > 0) [L565] havoc sll_create_#t~post2; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L573] sll_create_#res := sll_create_~head~0; [L617] main_#t~ret15 := sll_create_#res; [L617] FCALL call write~init~$Pointer$(main_#t~ret15, main_~#s~0, 4); [L617] havoc main_#t~ret15; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L618] CALL call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] COND FALSE !(!#t~short12) [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND FALSE !(#t~short12) VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L618] RET call main_#t~ret16 := _get_nondet_int(0, main_~len~2 - 1); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret16=1, main_~#s~0!base=6, main_~#s~0!offset=0, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L618] assume -2147483648 <= main_#t~ret16 && main_#t~ret16 <= 2147483647; [L618] main_~k~0 := main_#t~ret16; [L618] havoc main_#t~ret16; [L619] main_~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L620] main_#t~short18 := main_~i~0 < main_~k~0; [L620] COND TRUE main_#t~short18 [L620] assume -2147483648 <= main_#t~nondet17 && main_#t~nondet17 <= 2147483647; [L620] main_#t~short18 := 0 != main_#t~nondet17; VAL [#NULL!base=0, #NULL!offset=0, main_#t~nondet17=0, main_#t~short18=false, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L620-L624] COND TRUE !main_#t~short18 [L620] havoc main_#t~short18; [L620] havoc main_#t~nondet17; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0] [L625] FCALL call main_#t~mem21 := read~$Pointer$(main_~#s~0, 4); [L625] sll_length_#in~head := main_#t~mem21; [L625] havoc sll_length_#res; [L625] havoc sll_length_#t~post4, sll_length_#t~mem5, sll_length_~head, sll_length_~len~0; [L575-L582] sll_length_~head := sll_length_#in~head; [L576] sll_length_~len~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=10, sll_length_~head!offset=0, sll_length_~len~0=0] [L577-L580] COND FALSE !(!(sll_length_~head != { base: 0, offset: 0 })) [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] FCALL call sll_length_#t~mem5 := read~$Pointer$({ base: sll_length_~head!base, offset: sll_length_~head!offset }, 4); [L579] sll_length_~head := sll_length_#t~mem5; [L579] havoc sll_length_#t~mem5; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=8, sll_length_~head!offset=0, sll_length_~len~0=1] [L577-L580] COND FALSE !(!(sll_length_~head != { base: 0, offset: 0 })) [L578] sll_length_#t~post4 := sll_length_~len~0; [L578] sll_length_~len~0 := 1 + sll_length_#t~post4; [L578] havoc sll_length_#t~post4; [L579] FCALL call sll_length_#t~mem5 := read~$Pointer$({ base: sll_length_~head!base, offset: sll_length_~head!offset }, 4); [L579] sll_length_~head := sll_length_#t~mem5; [L579] havoc sll_length_#t~mem5; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L577-L580] COND TRUE !(sll_length_~head != { base: 0, offset: 0 }) [L581] sll_length_#res := sll_length_~len~0; [L625] main_#t~ret22 := sll_length_#res; [L625] assume -2147483648 <= main_#t~ret22 && main_#t~ret22 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem21!base=10, main_#t~mem21!offset=0, main_#t~ret22=2, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L625] COND TRUE main_~k~0 + main_~len~2 != main_#t~ret22 [L625] havoc main_#t~ret22; [L625] havoc main_#t~mem21; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [L630] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_~#s~0!base=6, main_~#s~0!offset=0, main_~i~0=0, main_~k~0=1, main_~len~2=2, sll_create_#in~len=2, sll_create_#res!base=10, sll_create_#res!offset=0, sll_create_#t~malloc3!base=10, sll_create_#t~malloc3!offset=0, sll_create_~head~0!base=10, sll_create_~head~0!offset=0, sll_create_~len=-1, sll_create_~new_head~0!base=10, sll_create_~new_head~0!offset=0, sll_length_#in~head!base=10, sll_length_#in~head!offset=0, sll_length_#res=2, sll_length_~head!base=0, sll_length_~head!offset=0, sll_length_~len~0=2] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L616] CALL call #t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L616] RET call #t~ret14 := _get_nondet_int(2, 5); VAL [#NULL!base=0, #NULL!offset=0] [L616] assume -2147483648 <= #t~ret14 && #t~ret14 <= 2147483647; [L616] ~len~2 := #t~ret14; [L616] havoc #t~ret14; [L617] FCALL call ~#s~0 := #Ultimate.alloc(4); [L563-L574] ~len := #in~len; [L564] ~head~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND FALSE !(!(#t~post2 > 0)) [L565] havoc #t~post2; [L566] FCALL call #t~malloc3 := #Ultimate.alloc(4); [L566] ~new_head~0 := #t~malloc3; VAL [#NULL!base=0, #NULL!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#NULL!base=0, #NULL!offset=0] [L570] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L571] ~head~0 := ~new_head~0; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND FALSE !(!(#t~post2 > 0)) [L565] havoc #t~post2; [L566] FCALL call #t~malloc3 := #Ultimate.alloc(4); [L566] ~new_head~0 := #t~malloc3; VAL [#NULL!base=0, #NULL!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#NULL!base=0, #NULL!offset=0] [L570] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L571] ~head~0 := ~new_head~0; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND TRUE !(#t~post2 > 0) [L565] havoc #t~post2; VAL [#NULL!base=0, #NULL!offset=0] [L573] #res := ~head~0; [L617] FCALL call write~init~$Pointer$(#t~ret15, ~#s~0, 4); [L617] havoc #t~ret15; VAL [#NULL!base=0, #NULL!offset=0] [L618] CALL call #t~ret16 := _get_nondet_int(0, ~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] COND FALSE !(!#t~short12) [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND FALSE !(#t~short12) VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L618] RET call #t~ret16 := _get_nondet_int(0, ~len~2 - 1); VAL [#NULL!base=0, #NULL!offset=0] [L618] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L618] ~k~0 := #t~ret16; [L618] havoc #t~ret16; [L619] ~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L620] #t~short18 := ~i~0 < ~k~0; [L620] COND TRUE #t~short18 [L620] assume -2147483648 <= #t~nondet17 && #t~nondet17 <= 2147483647; [L620] #t~short18 := 0 != #t~nondet17; VAL [#NULL!base=0, #NULL!offset=0] [L620-L624] COND TRUE !#t~short18 [L620] havoc #t~short18; [L620] havoc #t~nondet17; VAL [#NULL!base=0, #NULL!offset=0] [L625] FCALL call #t~mem21 := read~$Pointer$(~#s~0, 4); [L575-L582] ~head := #in~head; [L576] ~len~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND FALSE !(!(~head != { base: 0, offset: 0 })) [L578] #t~post4 := ~len~0; [L578] ~len~0 := 1 + #t~post4; [L578] havoc #t~post4; [L579] FCALL call #t~mem5 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4); [L579] ~head := #t~mem5; [L579] havoc #t~mem5; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND FALSE !(!(~head != { base: 0, offset: 0 })) [L578] #t~post4 := ~len~0; [L578] ~len~0 := 1 + #t~post4; [L578] havoc #t~post4; [L579] FCALL call #t~mem5 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4); [L579] ~head := #t~mem5; [L579] havoc #t~mem5; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND TRUE !(~head != { base: 0, offset: 0 }) [L581] #res := ~len~0; [L625] assume -2147483648 <= #t~ret22 && #t~ret22 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L625] COND TRUE ~k~0 + ~len~2 != #t~ret22 [L625] havoc #t~ret22; [L625] havoc #t~mem21; VAL [#NULL!base=0, #NULL!offset=0] [L630] assert false; VAL [#NULL!base=0, #NULL!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L616] CALL call #t~ret14 := _get_nondet_int(2, 5); VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=2, ~len~1=2, ~until=5] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=2, #in~until=5, #NULL!base=0, #NULL!offset=0, ~from=2, ~len~1=2, ~until=5] [L613] #res := ~len~1; [L616] RET call #t~ret14 := _get_nondet_int(2, 5); VAL [#NULL!base=0, #NULL!offset=0] [L616] assume -2147483648 <= #t~ret14 && #t~ret14 <= 2147483647; [L616] ~len~2 := #t~ret14; [L616] havoc #t~ret14; [L617] FCALL call ~#s~0 := #Ultimate.alloc(4); [L563-L574] ~len := #in~len; [L564] ~head~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND FALSE !(!(#t~post2 > 0)) [L565] havoc #t~post2; [L566] FCALL call #t~malloc3 := #Ultimate.alloc(4); [L566] ~new_head~0 := #t~malloc3; VAL [#NULL!base=0, #NULL!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#NULL!base=0, #NULL!offset=0] [L570] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L571] ~head~0 := ~new_head~0; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND FALSE !(!(#t~post2 > 0)) [L565] havoc #t~post2; [L566] FCALL call #t~malloc3 := #Ultimate.alloc(4); [L566] ~new_head~0 := #t~malloc3; VAL [#NULL!base=0, #NULL!offset=0] [L567] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#NULL!base=0, #NULL!offset=0] [L570] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L571] ~head~0 := ~new_head~0; VAL [#NULL!base=0, #NULL!offset=0] [L565] #t~post2 := ~len; [L565] ~len := #t~post2 - 1; VAL [#NULL!base=0, #NULL!offset=0] [L565-L572] COND TRUE !(#t~post2 > 0) [L565] havoc #t~post2; VAL [#NULL!base=0, #NULL!offset=0] [L573] #res := ~head~0; [L617] FCALL call write~init~$Pointer$(#t~ret15, ~#s~0, 4); [L617] havoc #t~ret15; VAL [#NULL!base=0, #NULL!offset=0] [L618] CALL call #t~ret16 := _get_nondet_int(0, ~len~2 - 1); VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0] [L608-L614] ~from := #in~from; [L608-L614] ~until := #in~until; [L609] ~len~1 := ~from; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=0, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND TRUE #t~short12 [L610] assume -2147483648 <= #t~nondet11 && #t~nondet11 <= 2147483647; [L610] #t~short12 := 0 != #t~nondet11; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=-1, #t~short12=true, ~from=0, ~len~1=0, ~until=1] [L610-L612] COND FALSE !(!#t~short12) [L610] havoc #t~nondet11; [L610] havoc #t~short12; [L611] #t~post13 := ~len~1; [L611] ~len~1 := 1 + #t~post13; [L611] havoc #t~post13; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L610] #t~short12 := ~len~1 < ~until; [L610] COND FALSE !(#t~short12) VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, #t~nondet11=0, #t~short12=false, ~from=0, ~len~1=1, ~until=1] [L610-L612] COND TRUE !#t~short12 [L610] havoc #t~nondet11; [L610] havoc #t~short12; VAL [#in~from=0, #in~until=1, #NULL!base=0, #NULL!offset=0, ~from=0, ~len~1=1, ~until=1] [L613] #res := ~len~1; [L618] RET call #t~ret16 := _get_nondet_int(0, ~len~2 - 1); VAL [#NULL!base=0, #NULL!offset=0] [L618] assume -2147483648 <= #t~ret16 && #t~ret16 <= 2147483647; [L618] ~k~0 := #t~ret16; [L618] havoc #t~ret16; [L619] ~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L620] #t~short18 := ~i~0 < ~k~0; [L620] COND TRUE #t~short18 [L620] assume -2147483648 <= #t~nondet17 && #t~nondet17 <= 2147483647; [L620] #t~short18 := 0 != #t~nondet17; VAL [#NULL!base=0, #NULL!offset=0] [L620-L624] COND TRUE !#t~short18 [L620] havoc #t~short18; [L620] havoc #t~nondet17; VAL [#NULL!base=0, #NULL!offset=0] [L625] FCALL call #t~mem21 := read~$Pointer$(~#s~0, 4); [L575-L582] ~head := #in~head; [L576] ~len~0 := 0; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND FALSE !(!(~head != { base: 0, offset: 0 })) [L578] #t~post4 := ~len~0; [L578] ~len~0 := 1 + #t~post4; [L578] havoc #t~post4; [L579] FCALL call #t~mem5 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4); [L579] ~head := #t~mem5; [L579] havoc #t~mem5; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND FALSE !(!(~head != { base: 0, offset: 0 })) [L578] #t~post4 := ~len~0; [L578] ~len~0 := 1 + #t~post4; [L578] havoc #t~post4; [L579] FCALL call #t~mem5 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4); [L579] ~head := #t~mem5; [L579] havoc #t~mem5; VAL [#NULL!base=0, #NULL!offset=0] [L577-L580] COND TRUE !(~head != { base: 0, offset: 0 }) [L581] #res := ~len~0; [L625] assume -2147483648 <= #t~ret22 && #t~ret22 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L625] COND TRUE ~k~0 + ~len~2 != #t~ret22 [L625] havoc #t~ret22; [L625] havoc #t~mem21; VAL [#NULL!base=0, #NULL!offset=0] [L630] assert false; VAL [#NULL!base=0, #NULL!offset=0] [L616] CALL, EXPR _get_nondet_int(2, 5) VAL [\old(from)=2, \old(until)=5] [L609] int len = from; VAL [\old(from)=2, \old(until)=5, from=2, len=2, until=5] [L610] len < until && __VERIFIER_nondet_int() [L610] len < until && __VERIFIER_nondet_int() VAL [\old(from)=2, \old(until)=5, __VERIFIER_nondet_int()=0, from=2, len=2, len < until && __VERIFIER_nondet_int()=0, until=5] [L610] COND FALSE !(len < until && __VERIFIER_nondet_int()) [L613] return len; [L616] RET, EXPR _get_nondet_int(2, 5) [L616] const int len = _get_nondet_int(2, 5); [L617] SLL s = sll_create(len); [L564] SLL head = ((void *)0); [L565] EXPR len-- [L565] COND TRUE len-- > 0 [L566] SLL new_head = (SLL) malloc(sizeof(struct node)); [L567] COND FALSE !(((void *)0) == new_head) [L570] new_head->next = head [L571] head = new_head [L565] EXPR len-- [L565] COND TRUE len-- > 0 [L566] SLL new_head = (SLL) malloc(sizeof(struct node)); [L567] COND FALSE !(((void *)0) == new_head) [L570] new_head->next = head [L571] head = new_head [L565] EXPR len-- [L565] COND FALSE !(len-- > 0) [L573] return head; [L617] SLL s = sll_create(len); [L618] CALL, EXPR _get_nondet_int(0, len - 1) VAL [\old(from)=0, \old(until)=1] [L609] int len = from; VAL [\old(from)=0, \old(until)=1, from=0, len=0, until=1] [L610] len < until && __VERIFIER_nondet_int() [L610] len < until && __VERIFIER_nondet_int() VAL [\old(from)=0, \old(until)=1, __VERIFIER_nondet_int()=-1, from=0, len=0, len < until && __VERIFIER_nondet_int()=1, until=1] [L610] COND TRUE len < until && __VERIFIER_nondet_int() [L611] len++ VAL [\old(from)=0, \old(until)=1, from=0, len=1, until=1] [L610] len < until && __VERIFIER_nondet_int() VAL [\old(from)=0, \old(until)=1, __VERIFIER_nondet_int()=0, from=0, len=1, len < until && __VERIFIER_nondet_int()=0, until=1] [L610] COND FALSE !(len < until && __VERIFIER_nondet_int()) [L613] return len; [L618] RET, EXPR _get_nondet_int(0, len - 1) [L618] const int k = _get_nondet_int(0, len - 1); [L619] int i = 0; [L620] i < k && __VERIFIER_nondet_int() [L620] i < k && __VERIFIER_nondet_int() [L620] COND FALSE !(i < k && __VERIFIER_nondet_int()) [L625] EXPR \read(s) [L576] int len = 0; [L577] COND TRUE \read(head) [L578] len++ [L579] EXPR head->next [L579] head = head->next [L577] COND TRUE \read(head) [L578] len++ [L579] EXPR head->next [L579] head = head->next [L577] COND FALSE !(\read(head)) [L581] return len; [L625] COND TRUE k + len != sll_length(s) [L630] __VERIFIER_error() ----- [2018-11-23 02:43:51,311 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_5af01612-d959-41b8-8107-6f11de0a3067/bin-2019/ukojak/witness.graphml [2018-11-23 02:43:51,312 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 02:43:51,312 INFO L168 Benchmark]: Toolchain (without parser) took 13621.78 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 310.4 MB). Free memory was 956.6 MB in the beginning and 1.1 GB in the end (delta: -158.4 MB). Peak memory consumption was 152.0 MB. Max. memory is 11.5 GB. [2018-11-23 02:43:51,314 INFO L168 Benchmark]: CDTParser took 0.18 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 02:43:51,314 INFO L168 Benchmark]: CACSL2BoogieTranslator took 400.73 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 142.6 MB). Free memory was 956.6 MB in the beginning and 1.1 GB in the end (delta: -172.1 MB). Peak memory consumption was 34.4 MB. Max. memory is 11.5 GB. [2018-11-23 02:43:51,314 INFO L168 Benchmark]: Boogie Procedure Inliner took 38.63 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 02:43:51,315 INFO L168 Benchmark]: Boogie Preprocessor took 21.02 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. [2018-11-23 02:43:51,315 INFO L168 Benchmark]: RCFGBuilder took 424.98 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 38.0 MB). Peak memory consumption was 38.0 MB. Max. memory is 11.5 GB. [2018-11-23 02:43:51,315 INFO L168 Benchmark]: CodeCheck took 12487.19 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 167.8 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: -36.0 MB). Peak memory consumption was 131.7 MB. Max. memory is 11.5 GB. [2018-11-23 02:43:51,316 INFO L168 Benchmark]: Witness Printer took 246.05 ms. Allocated memory is still 1.3 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 9.0 MB). Peak memory consumption was 9.0 MB. Max. memory is 11.5 GB. [2018-11-23 02:43:51,318 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 3 procedures, 49 locations, 1 error locations. UNSAFE Result, 12.3s OverallTime, 9 OverallIterations, 0 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 4592 SDtfs, 1496 SDslu, 1168 SDs, 0 SdLazy, 10300 SolverSat, 3404 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.3s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 1896 GetRequests, 1631 SyntacticMatches, 25 SemanticMatches, 240 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 20018 ImplicationChecksByTransitivity, 11.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 1.6s InterpolantComputationTime, 274 NumberOfCodeBlocks, 274 NumberOfCodeBlocksAsserted, 9 NumberOfCheckSat, 230 ConstructedInterpolants, 0 QuantifiedInterpolants, 59506 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 8 InterpolantComputations, 1 PerfectInterpolantSequences, 50/92 InterpolantCoveringCapability, 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: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - CounterExampleResult [Line: 630]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L616] CALL, EXPR _get_nondet_int(2, 5) VAL [\old(from)=2, \old(until)=5] [L609] int len = from; VAL [\old(from)=2, \old(until)=5, from=2, len=2, until=5] [L610] len < until && __VERIFIER_nondet_int() [L610] len < until && __VERIFIER_nondet_int() VAL [\old(from)=2, \old(until)=5, __VERIFIER_nondet_int()=0, from=2, len=2, len < until && __VERIFIER_nondet_int()=0, until=5] [L610] COND FALSE !(len < until && __VERIFIER_nondet_int()) [L613] return len; [L616] RET, EXPR _get_nondet_int(2, 5) [L616] const int len = _get_nondet_int(2, 5); [L617] SLL s = sll_create(len); [L564] SLL head = ((void *)0); [L565] EXPR len-- [L565] COND TRUE len-- > 0 [L566] SLL new_head = (SLL) malloc(sizeof(struct node)); [L567] COND FALSE !(((void *)0) == new_head) [L570] new_head->next = head [L571] head = new_head [L565] EXPR len-- [L565] COND TRUE len-- > 0 [L566] SLL new_head = (SLL) malloc(sizeof(struct node)); [L567] COND FALSE !(((void *)0) == new_head) [L570] new_head->next = head [L571] head = new_head [L565] EXPR len-- [L565] COND FALSE !(len-- > 0) [L573] return head; [L617] SLL s = sll_create(len); [L618] CALL, EXPR _get_nondet_int(0, len - 1) VAL [\old(from)=0, \old(until)=1] [L609] int len = from; VAL [\old(from)=0, \old(until)=1, from=0, len=0, until=1] [L610] len < until && __VERIFIER_nondet_int() [L610] len < until && __VERIFIER_nondet_int() VAL [\old(from)=0, \old(until)=1, __VERIFIER_nondet_int()=-1, from=0, len=0, len < until && __VERIFIER_nondet_int()=1, until=1] [L610] COND TRUE len < until && __VERIFIER_nondet_int() [L611] len++ VAL [\old(from)=0, \old(until)=1, from=0, len=1, until=1] [L610] len < until && __VERIFIER_nondet_int() VAL [\old(from)=0, \old(until)=1, __VERIFIER_nondet_int()=0, from=0, len=1, len < until && __VERIFIER_nondet_int()=0, until=1] [L610] COND FALSE !(len < until && __VERIFIER_nondet_int()) [L613] return len; [L618] RET, EXPR _get_nondet_int(0, len - 1) [L618] const int k = _get_nondet_int(0, len - 1); [L619] int i = 0; [L620] i < k && __VERIFIER_nondet_int() [L620] i < k && __VERIFIER_nondet_int() [L620] COND FALSE !(i < k && __VERIFIER_nondet_int()) [L625] EXPR \read(s) [L576] int len = 0; [L577] COND TRUE \read(head) [L578] len++ [L579] EXPR head->next [L579] head = head->next [L577] COND TRUE \read(head) [L578] len++ [L579] EXPR head->next [L579] head = head->next [L577] COND FALSE !(\read(head)) [L581] return len; [L625] COND TRUE k + len != sll_length(s) [L630] __VERIFIER_error() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.18 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 400.73 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 142.6 MB). Free memory was 956.6 MB in the beginning and 1.1 GB in the end (delta: -172.1 MB). Peak memory consumption was 34.4 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 38.63 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 21.02 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. * RCFGBuilder took 424.98 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 38.0 MB). Peak memory consumption was 38.0 MB. Max. memory is 11.5 GB. * CodeCheck took 12487.19 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 167.8 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: -36.0 MB). Peak memory consumption was 131.7 MB. Max. memory is 11.5 GB. * Witness Printer took 246.05 ms. Allocated memory is still 1.3 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 9.0 MB). Peak memory consumption was 9.0 MB. Max. memory is 11.5 GB. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...