./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/list-ext3-properties/dll_nullified_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_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/list-ext3-properties/dll_nullified_false-unreach-call_false-valid-memcleanup.i -s /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer --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 Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 8b87efc31cc381b9fe84243511097e1307d2087b ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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 00:33:29,888 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 00:33:29,889 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 00:33:29,897 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 00:33:29,897 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 00:33:29,897 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 00:33:29,898 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 00:33:29,899 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 00:33:29,900 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 00:33:29,901 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 00:33:29,901 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 00:33:29,902 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 00:33:29,902 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 00:33:29,903 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 00:33:29,904 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 00:33:29,904 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 00:33:29,905 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 00:33:29,907 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 00:33:29,908 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 00:33:29,909 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 00:33:29,910 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 00:33:29,911 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 00:33:29,912 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 00:33:29,913 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 00:33:29,913 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 00:33:29,913 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 00:33:29,914 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 00:33:29,915 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 00:33:29,915 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 00:33:29,916 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 00:33:29,916 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 00:33:29,916 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 00:33:29,917 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 00:33:29,917 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 00:33:29,917 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 00:33:29,919 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 00:33:29,919 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf [2018-11-23 00:33:29,929 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 00:33:29,929 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 00:33:29,929 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 00:33:29,930 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 00:33:29,930 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 00:33:29,930 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 00:33:29,930 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 00:33:29,931 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 00:33:29,931 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 00:33:29,931 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 00:33:29,931 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 00:33:29,931 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 00:33:29,931 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 00:33:29,931 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 00:33:29,931 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 00:33:29,932 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 00:33:29,932 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 00:33:29,932 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 00:33:29,932 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 00:33:29,932 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 00:33:29,932 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 00:33:29,932 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 00:33:29,933 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 00:33:29,933 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 00:33:29,933 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 00:33:29,933 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 00:33:29,933 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 00:33:29,933 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 00:33:29,933 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 00:33:29,933 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 00:33:29,933 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_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer 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 -> Automizer 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 -> 8b87efc31cc381b9fe84243511097e1307d2087b [2018-11-23 00:33:29,955 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 00:33:29,963 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 00:33:29,965 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 00:33:29,965 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 00:33:29,966 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 00:33:29,966 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/../../sv-benchmarks/c/list-ext3-properties/dll_nullified_false-unreach-call_false-valid-memcleanup.i [2018-11-23 00:33:30,001 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/data/250321e13/8d5c06c1011349c48b71e6e397e95a54/FLAGb4706b793 [2018-11-23 00:33:30,433 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 00:33:30,434 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/sv-benchmarks/c/list-ext3-properties/dll_nullified_false-unreach-call_false-valid-memcleanup.i [2018-11-23 00:33:30,440 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/data/250321e13/8d5c06c1011349c48b71e6e397e95a54/FLAGb4706b793 [2018-11-23 00:33:30,448 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/data/250321e13/8d5c06c1011349c48b71e6e397e95a54 [2018-11-23 00:33:30,450 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 00:33:30,451 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 00:33:30,451 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 00:33:30,451 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 00:33:30,453 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 00:33:30,454 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,456 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@97dd10c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30, skipping insertion in model container [2018-11-23 00:33:30,456 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,464 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 00:33:30,490 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 00:33:30,672 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 00:33:30,679 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 00:33:30,745 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 00:33:30,776 INFO L195 MainTranslator]: Completed translation [2018-11-23 00:33:30,777 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30 WrapperNode [2018-11-23 00:33:30,777 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 00:33:30,777 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 00:33:30,777 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 00:33:30,777 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 00:33:30,782 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,793 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,798 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 00:33:30,799 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 00:33:30,799 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 00:33:30,799 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 00:33:30,804 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,804 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,807 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,807 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,815 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,819 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,820 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... [2018-11-23 00:33:30,822 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 00:33:30,823 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 00:33:30,823 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 00:33:30,823 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 00:33:30,824 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 00:33:30,862 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 00:33:30,862 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 00:33:30,862 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2018-11-23 00:33:30,863 INFO L138 BoogieDeclarations]: Found implementation of procedure exit [2018-11-23 00:33:30,863 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 00:33:30,863 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 00:33:30,863 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 00:33:30,863 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 00:33:30,863 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 00:33:30,863 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 00:33:30,863 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 00:33:30,863 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 00:33:30,863 INFO L130 BoogieDeclarations]: Found specification of procedure dll_create [2018-11-23 00:33:30,864 INFO L138 BoogieDeclarations]: Found implementation of procedure dll_create [2018-11-23 00:33:30,864 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 00:33:30,864 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 00:33:31,107 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 00:33:31,107 INFO L280 CfgBuilder]: Removed 3 assue(true) statements. [2018-11-23 00:33:31,108 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 12:33:31 BoogieIcfgContainer [2018-11-23 00:33:31,108 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 00:33:31,109 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 00:33:31,109 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 00:33:31,111 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 00:33:31,112 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 12:33:30" (1/3) ... [2018-11-23 00:33:31,112 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6be66d14 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 12:33:31, skipping insertion in model container [2018-11-23 00:33:31,112 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 12:33:30" (2/3) ... [2018-11-23 00:33:31,113 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6be66d14 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 12:33:31, skipping insertion in model container [2018-11-23 00:33:31,113 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 12:33:31" (3/3) ... [2018-11-23 00:33:31,114 INFO L112 eAbstractionObserver]: Analyzing ICFG dll_nullified_false-unreach-call_false-valid-memcleanup.i [2018-11-23 00:33:31,120 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 00:33:31,124 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 00:33:31,133 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 00:33:31,149 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 00:33:31,150 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 00:33:31,150 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 00:33:31,150 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 00:33:31,150 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 00:33:31,150 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 00:33:31,150 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 00:33:31,150 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 00:33:31,150 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 00:33:31,161 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states. [2018-11-23 00:33:31,165 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2018-11-23 00:33:31,165 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 00:33:31,165 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 00:33:31,167 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 00:33:31,170 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 00:33:31,171 INFO L82 PathProgramCache]: Analyzing trace with hash -1907175990, now seen corresponding path program 1 times [2018-11-23 00:33:31,172 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 00:33:31,172 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 00:33:31,204 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,204 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 00:33:31,204 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,226 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 00:33:31,254 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:31,256 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 00:33:31,256 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 00:33:31,258 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 00:33:31,266 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 00:33:31,266 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 00:33:31,267 INFO L87 Difference]: Start difference. First operand 40 states. Second operand 2 states. [2018-11-23 00:33:31,279 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 00:33:31,279 INFO L93 Difference]: Finished difference Result 62 states and 85 transitions. [2018-11-23 00:33:31,279 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 00:33:31,280 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 20 [2018-11-23 00:33:31,280 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 00:33:31,285 INFO L225 Difference]: With dead ends: 62 [2018-11-23 00:33:31,285 INFO L226 Difference]: Without dead ends: 32 [2018-11-23 00:33:31,287 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 00:33:31,297 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 32 states. [2018-11-23 00:33:31,306 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 32 to 32. [2018-11-23 00:33:31,307 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 32 states. [2018-11-23 00:33:31,308 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 32 states and 41 transitions. [2018-11-23 00:33:31,308 INFO L78 Accepts]: Start accepts. Automaton has 32 states and 41 transitions. Word has length 20 [2018-11-23 00:33:31,309 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 00:33:31,309 INFO L480 AbstractCegarLoop]: Abstraction has 32 states and 41 transitions. [2018-11-23 00:33:31,309 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 00:33:31,309 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 41 transitions. [2018-11-23 00:33:31,310 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2018-11-23 00:33:31,310 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 00:33:31,310 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 00:33:31,310 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 00:33:31,310 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 00:33:31,310 INFO L82 PathProgramCache]: Analyzing trace with hash -968359388, now seen corresponding path program 1 times [2018-11-23 00:33:31,310 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 00:33:31,311 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 00:33:31,312 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,312 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 00:33:31,312 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,330 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 00:33:31,382 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:31,384 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 00:33:31,384 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-11-23 00:33:31,385 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-23 00:33:31,386 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 00:33:31,386 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-11-23 00:33:31,386 INFO L87 Difference]: Start difference. First operand 32 states and 41 transitions. Second operand 5 states. [2018-11-23 00:33:31,449 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 00:33:31,449 INFO L93 Difference]: Finished difference Result 56 states and 74 transitions. [2018-11-23 00:33:31,449 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 00:33:31,449 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 20 [2018-11-23 00:33:31,449 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 00:33:31,450 INFO L225 Difference]: With dead ends: 56 [2018-11-23 00:33:31,450 INFO L226 Difference]: Without dead ends: 39 [2018-11-23 00:33:31,451 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 6 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2018-11-23 00:33:31,451 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 39 states. [2018-11-23 00:33:31,453 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 39 to 33. [2018-11-23 00:33:31,453 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 33 states. [2018-11-23 00:33:31,454 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 33 states and 42 transitions. [2018-11-23 00:33:31,454 INFO L78 Accepts]: Start accepts. Automaton has 33 states and 42 transitions. Word has length 20 [2018-11-23 00:33:31,454 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 00:33:31,454 INFO L480 AbstractCegarLoop]: Abstraction has 33 states and 42 transitions. [2018-11-23 00:33:31,454 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-23 00:33:31,454 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 42 transitions. [2018-11-23 00:33:31,454 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 00:33:31,455 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 00:33:31,455 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 00:33:31,455 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 00:33:31,455 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 00:33:31,455 INFO L82 PathProgramCache]: Analyzing trace with hash 638407916, now seen corresponding path program 1 times [2018-11-23 00:33:31,455 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 00:33:31,455 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 00:33:31,456 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,456 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 00:33:31,457 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,474 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 00:33:31,509 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:31,509 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 00:33:31,509 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 00:33:31,509 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 00:33:31,510 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 00:33:31,510 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 00:33:31,510 INFO L87 Difference]: Start difference. First operand 33 states and 42 transitions. Second operand 3 states. [2018-11-23 00:33:31,529 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 00:33:31,529 INFO L93 Difference]: Finished difference Result 63 states and 83 transitions. [2018-11-23 00:33:31,530 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 00:33:31,530 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 27 [2018-11-23 00:33:31,530 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 00:33:31,531 INFO L225 Difference]: With dead ends: 63 [2018-11-23 00:33:31,531 INFO L226 Difference]: Without dead ends: 39 [2018-11-23 00:33:31,531 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 00:33:31,531 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 39 states. [2018-11-23 00:33:31,534 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 39 to 38. [2018-11-23 00:33:31,534 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 38 states. [2018-11-23 00:33:31,535 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 38 states and 48 transitions. [2018-11-23 00:33:31,535 INFO L78 Accepts]: Start accepts. Automaton has 38 states and 48 transitions. Word has length 27 [2018-11-23 00:33:31,535 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 00:33:31,535 INFO L480 AbstractCegarLoop]: Abstraction has 38 states and 48 transitions. [2018-11-23 00:33:31,535 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 00:33:31,536 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 48 transitions. [2018-11-23 00:33:31,536 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 00:33:31,536 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 00:33:31,536 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 00:33:31,536 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 00:33:31,536 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 00:33:31,537 INFO L82 PathProgramCache]: Analyzing trace with hash -372709334, now seen corresponding path program 1 times [2018-11-23 00:33:31,537 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 00:33:31,537 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 00:33:31,538 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,538 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 00:33:31,538 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,551 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 00:33:31,591 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:31,591 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 00:33:31,591 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 00:33:31,600 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 00:33:31,627 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 00:33:31,632 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 00:33:31,649 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:31,671 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 00:33:31,671 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 6] total 6 [2018-11-23 00:33:31,671 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-11-23 00:33:31,671 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-23 00:33:31,672 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2018-11-23 00:33:31,672 INFO L87 Difference]: Start difference. First operand 38 states and 48 transitions. Second operand 6 states. [2018-11-23 00:33:31,702 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 00:33:31,703 INFO L93 Difference]: Finished difference Result 63 states and 82 transitions. [2018-11-23 00:33:31,703 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-11-23 00:33:31,703 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 27 [2018-11-23 00:33:31,703 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 00:33:31,704 INFO L225 Difference]: With dead ends: 63 [2018-11-23 00:33:31,704 INFO L226 Difference]: Without dead ends: 46 [2018-11-23 00:33:31,704 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 33 GetRequests, 28 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2018-11-23 00:33:31,704 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states. [2018-11-23 00:33:31,707 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 40. [2018-11-23 00:33:31,708 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 40 states. [2018-11-23 00:33:31,708 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 40 states and 50 transitions. [2018-11-23 00:33:31,709 INFO L78 Accepts]: Start accepts. Automaton has 40 states and 50 transitions. Word has length 27 [2018-11-23 00:33:31,709 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 00:33:31,709 INFO L480 AbstractCegarLoop]: Abstraction has 40 states and 50 transitions. [2018-11-23 00:33:31,709 INFO L481 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-11-23 00:33:31,709 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 50 transitions. [2018-11-23 00:33:31,710 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 35 [2018-11-23 00:33:31,710 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 00:33:31,710 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 00:33:31,710 INFO L423 AbstractCegarLoop]: === Iteration 5 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 00:33:31,711 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 00:33:31,711 INFO L82 PathProgramCache]: Analyzing trace with hash -802898906, now seen corresponding path program 1 times [2018-11-23 00:33:31,712 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 00:33:31,712 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 00:33:31,713 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,713 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 00:33:31,713 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 00:33:31,795 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 9 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:31,795 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 00:33:31,795 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/z3 Starting monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 00:33:31,802 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 00:33:31,824 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 00:33:31,826 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 00:33:31,835 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 9 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:31,849 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 00:33:31,849 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7] total 7 [2018-11-23 00:33:31,849 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-11-23 00:33:31,850 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-11-23 00:33:31,850 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2018-11-23 00:33:31,850 INFO L87 Difference]: Start difference. First operand 40 states and 50 transitions. Second operand 7 states. [2018-11-23 00:33:31,884 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 00:33:31,884 INFO L93 Difference]: Finished difference Result 70 states and 91 transitions. [2018-11-23 00:33:31,885 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2018-11-23 00:33:31,885 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 34 [2018-11-23 00:33:31,885 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 00:33:31,886 INFO L225 Difference]: With dead ends: 70 [2018-11-23 00:33:31,886 INFO L226 Difference]: Without dead ends: 53 [2018-11-23 00:33:31,886 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 41 GetRequests, 35 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=18, Invalid=38, Unknown=0, NotChecked=0, Total=56 [2018-11-23 00:33:31,886 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 53 states. [2018-11-23 00:33:31,891 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 53 to 47. [2018-11-23 00:33:31,891 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 47 states. [2018-11-23 00:33:31,892 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 47 states and 59 transitions. [2018-11-23 00:33:31,892 INFO L78 Accepts]: Start accepts. Automaton has 47 states and 59 transitions. Word has length 34 [2018-11-23 00:33:31,892 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 00:33:31,892 INFO L480 AbstractCegarLoop]: Abstraction has 47 states and 59 transitions. [2018-11-23 00:33:31,892 INFO L481 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-11-23 00:33:31,892 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 59 transitions. [2018-11-23 00:33:31,893 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 42 [2018-11-23 00:33:31,893 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 00:33:31,893 INFO L402 BasicCegarLoop]: trace histogram [3, 3, 3, 3, 3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 00:33:31,893 INFO L423 AbstractCegarLoop]: === Iteration 6 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 00:33:31,895 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 00:33:31,895 INFO L82 PathProgramCache]: Analyzing trace with hash -150096726, now seen corresponding path program 2 times [2018-11-23 00:33:31,895 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 00:33:31,895 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 00:33:31,896 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,896 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 00:33:31,897 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:31,910 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 00:33:31,978 INFO L134 CoverageAnalysis]: Checked inductivity of 24 backedges. 0 proven. 24 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:31,979 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 00:33:31,979 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/z3 Starting monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 00:33:31,991 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-11-23 00:33:32,022 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-11-23 00:33:32,022 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 00:33:32,024 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 00:33:32,036 INFO L134 CoverageAnalysis]: Checked inductivity of 24 backedges. 0 proven. 24 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:32,050 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 00:33:32,050 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 8 [2018-11-23 00:33:32,051 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2018-11-23 00:33:32,051 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-11-23 00:33:32,051 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=19, Invalid=37, Unknown=0, NotChecked=0, Total=56 [2018-11-23 00:33:32,051 INFO L87 Difference]: Start difference. First operand 47 states and 59 transitions. Second operand 8 states. [2018-11-23 00:33:32,096 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 00:33:32,096 INFO L93 Difference]: Finished difference Result 77 states and 100 transitions. [2018-11-23 00:33:32,098 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-11-23 00:33:32,098 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 41 [2018-11-23 00:33:32,098 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 00:33:32,099 INFO L225 Difference]: With dead ends: 77 [2018-11-23 00:33:32,099 INFO L226 Difference]: Without dead ends: 60 [2018-11-23 00:33:32,099 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 49 GetRequests, 42 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=23, Invalid=49, Unknown=0, NotChecked=0, Total=72 [2018-11-23 00:33:32,100 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 60 states. [2018-11-23 00:33:32,104 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 60 to 54. [2018-11-23 00:33:32,104 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 54 states. [2018-11-23 00:33:32,105 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 54 states and 68 transitions. [2018-11-23 00:33:32,105 INFO L78 Accepts]: Start accepts. Automaton has 54 states and 68 transitions. Word has length 41 [2018-11-23 00:33:32,105 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 00:33:32,106 INFO L480 AbstractCegarLoop]: Abstraction has 54 states and 68 transitions. [2018-11-23 00:33:32,107 INFO L481 AbstractCegarLoop]: Interpolant automaton has 8 states. [2018-11-23 00:33:32,107 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 68 transitions. [2018-11-23 00:33:32,107 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 49 [2018-11-23 00:33:32,107 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 00:33:32,108 INFO L402 BasicCegarLoop]: trace histogram [4, 4, 4, 4, 4, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 00:33:32,108 INFO L423 AbstractCegarLoop]: === Iteration 7 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 00:33:32,108 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 00:33:32,108 INFO L82 PathProgramCache]: Analyzing trace with hash 1857609638, now seen corresponding path program 3 times [2018-11-23 00:33:32,108 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 00:33:32,108 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 00:33:32,109 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:32,111 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 00:33:32,111 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:32,127 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 00:33:32,197 INFO L134 CoverageAnalysis]: Checked inductivity of 46 backedges. 0 proven. 46 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 00:33:32,198 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 00:33:32,198 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/z3 Starting monitored process 5 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 00:33:32,211 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST2 [2018-11-23 00:33:34,070 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 4 check-sat command(s) [2018-11-23 00:33:34,070 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 00:33:34,077 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 00:33:34,096 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2018-11-23 00:33:34,098 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,100 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,101 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 1 variables, input treesize:6, output treesize:5 [2018-11-23 00:33:34,128 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,128 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,129 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 2 select indices, 2 select index equivalence classes, 2 disjoint index pairs (out of 1 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 4 [2018-11-23 00:33:34,130 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,133 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,133 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 1 variables, input treesize:14, output treesize:8 [2018-11-23 00:33:34,159 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 13 [2018-11-23 00:33:34,162 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 13 treesize of output 16 [2018-11-23 00:33:34,165 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,166 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 23 [2018-11-23 00:33:34,167 INFO L267 ElimStorePlain]: Start of recursive call 4: End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,171 INFO L267 ElimStorePlain]: Start of recursive call 3: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,176 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,181 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,182 INFO L202 ElimStorePlain]: Needed 4 recursive calls to eliminate 1 variables, input treesize:24, output treesize:24 [2018-11-23 00:33:34,204 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 41 treesize of output 34 [2018-11-23 00:33:34,208 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,209 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,210 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,213 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 2 select indices, 2 select index equivalence classes, 3 disjoint index pairs (out of 1 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 34 treesize of output 56 [2018-11-23 00:33:34,219 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,220 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,221 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,222 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,223 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,224 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,229 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 3 select indices, 3 select index equivalence classes, 6 disjoint index pairs (out of 3 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 36 treesize of output 68 [2018-11-23 00:33:34,229 INFO L267 ElimStorePlain]: Start of recursive call 4: End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,240 INFO L267 ElimStorePlain]: Start of recursive call 3: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,245 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,257 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 45 treesize of output 36 [2018-11-23 00:33:34,261 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,262 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,263 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,263 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,264 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,265 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 00:33:34,269 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 3 select indices, 3 select index equivalence classes, 6 disjoint index pairs (out of 3 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 36 treesize of output 68 [2018-11-23 00:33:34,270 INFO L267 ElimStorePlain]: Start of recursive call 6: End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,280 INFO L267 ElimStorePlain]: Start of recursive call 5: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,287 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 2 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,287 INFO L202 ElimStorePlain]: Needed 6 recursive calls to eliminate 3 variables, input treesize:67, output treesize:24 [2018-11-23 00:33:34,295 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 2 select indices, 2 select index equivalence classes, 1 disjoint index pairs (out of 1 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 36 treesize of output 37 [2018-11-23 00:33:34,298 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 1 [2018-11-23 00:33:34,299 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,303 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,309 INFO L267 ElimStorePlain]: Start of recursive call 1: 2 dim-0 vars, 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-23 00:33:34,309 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 3 variables, input treesize:43, output treesize:20 [2018-11-23 00:33:34,438 INFO L134 CoverageAnalysis]: Checked inductivity of 46 backedges. 30 proven. 7 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2018-11-23 00:33:34,462 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 00:33:34,462 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 13] total 20 [2018-11-23 00:33:34,463 INFO L459 AbstractCegarLoop]: Interpolant automaton has 20 states [2018-11-23 00:33:34,463 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 20 interpolants. [2018-11-23 00:33:34,463 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=49, Invalid=331, Unknown=0, NotChecked=0, Total=380 [2018-11-23 00:33:34,463 INFO L87 Difference]: Start difference. First operand 54 states and 68 transitions. Second operand 20 states. [2018-11-23 00:33:35,251 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 00:33:35,252 INFO L93 Difference]: Finished difference Result 97 states and 128 transitions. [2018-11-23 00:33:35,252 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 27 states. [2018-11-23 00:33:35,252 INFO L78 Accepts]: Start accepts. Automaton has 20 states. Word has length 48 [2018-11-23 00:33:35,252 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 00:33:35,252 INFO L225 Difference]: With dead ends: 97 [2018-11-23 00:33:35,253 INFO L226 Difference]: Without dead ends: 80 [2018-11-23 00:33:35,254 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 86 GetRequests, 45 SyntacticMatches, 0 SemanticMatches, 41 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 323 ImplicationChecksByTransitivity, 0.6s TimeCoverageRelationStatistics Valid=277, Invalid=1529, Unknown=0, NotChecked=0, Total=1806 [2018-11-23 00:33:35,254 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 80 states. [2018-11-23 00:33:35,258 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 80 to 66. [2018-11-23 00:33:35,258 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 66 states. [2018-11-23 00:33:35,259 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 66 states to 66 states and 83 transitions. [2018-11-23 00:33:35,260 INFO L78 Accepts]: Start accepts. Automaton has 66 states and 83 transitions. Word has length 48 [2018-11-23 00:33:35,260 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 00:33:35,260 INFO L480 AbstractCegarLoop]: Abstraction has 66 states and 83 transitions. [2018-11-23 00:33:35,260 INFO L481 AbstractCegarLoop]: Interpolant automaton has 20 states. [2018-11-23 00:33:35,260 INFO L276 IsEmpty]: Start isEmpty. Operand 66 states and 83 transitions. [2018-11-23 00:33:35,261 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 56 [2018-11-23 00:33:35,261 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 00:33:35,261 INFO L402 BasicCegarLoop]: trace histogram [5, 5, 5, 5, 5, 5, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 00:33:35,261 INFO L423 AbstractCegarLoop]: === Iteration 8 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 00:33:35,261 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 00:33:35,261 INFO L82 PathProgramCache]: Analyzing trace with hash 1135782060, now seen corresponding path program 1 times [2018-11-23 00:33:35,262 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 00:33:35,262 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 00:33:35,265 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:35,265 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 00:33:35,265 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 00:33:35,323 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 00:33:35,358 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 00:33:35,380 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=43, |#NULL.offset|=60, |old(#NULL.base)|=43, |old(#NULL.offset)|=60] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=43, |old(#NULL.offset)|=60] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=43, |old(#NULL.offset)|=60] [?] RET #117#return; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret20 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] ~len~0 := 5; VAL [main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5] [?] ~len := #in~len;~head~0.base, ~head~0.offset := 0, 0; VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=5] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=5] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] assume !(~head~0.base != 0 || ~head~0.offset != 0); VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=4] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=4] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] assume ~head~0.base != 0 || ~head~0.offset != 0;call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=3] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=3] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] assume ~head~0.base != 0 || ~head~0.offset != 0;call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=2] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=2] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] assume ~head~0.base != 0 || ~head~0.offset != 0;call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=1] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=1] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] assume ~head~0.base != 0 || ~head~0.offset != 0;call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=54, dll_create_~head~0.offset=0, dll_create_~len=0, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] assume !(~len > 0); VAL [dll_create_~head~0.base=54, dll_create_~head~0.offset=0, dll_create_~len=0, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] #res.base, #res.offset := ~head~0.base, ~head~0.offset; VAL [dll_create_~head~0.base=54, dll_create_~head~0.offset=0, dll_create_~len=0, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#res.base|=54, |dll_create_#res.offset|=0, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] assume true; VAL [dll_create_~head~0.base=54, dll_create_~head~0.offset=0, dll_create_~len=0, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#res.base|=54, |dll_create_#res.offset|=0, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] RET #121#return; VAL [main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~ret6.base|=54, |main_#t~ret6.offset|=0] [?] ~head~1.base, ~head~1.offset := #t~ret6.base, #t~ret6.offset;havoc #t~ret6.base, #t~ret6.offset; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0] [?] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(~head~1.base, 4 + ~head~1.offset, 4); VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem13.base|=69, |main_#t~mem13.offset|=0] [?] assume !!(#t~mem13.base != 0 || #t~mem13.offset != 0);havoc #t~mem13.base, #t~mem13.offset;call #t~mem7 := read~int(~head~1.base, ~head~1.offset, 4);#t~short9 := 0 != #t~mem7; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem7|=0, |main_#t~short9|=false] [?] assume !#t~short9;call #t~mem8 := read~int(~head~1.base, 8 + ~head~1.offset, 4);#t~short9 := 0 != #t~mem8; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem7|=0, |main_#t~mem8|=0, |main_#t~short9|=false] [?] #t~short11 := #t~short9; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem7|=0, |main_#t~mem8|=0, |main_#t~short11|=false, |main_#t~short9|=false] [?] assume !#t~short11;call #t~mem10 := read~int(~head~1.base, 16 + ~head~1.offset, 4);#t~short11 := 0 != #t~mem10; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem10|=1, |main_#t~mem7|=0, |main_#t~mem8|=0, |main_#t~short11|=true, |main_#t~short9|=false] [?] assume #t~short11;havoc #t~mem7;havoc #t~short11;havoc #t~mem10;havoc #t~mem8;havoc #t~short9; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0] [?] assume !false; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=43, #NULL.offset=60, old(#NULL.base)=43, old(#NULL.offset)=60] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=60] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L588] ~len~0 := 5; VAL [#NULL.base=0, #NULL.offset=0, ~len~0=5] [L589] CALL call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0.base, ~head~0.offset := 0, 0; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, #t~nondet3=5, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=47, #t~malloc2.offset=0, #t~nondet3=5, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L579-L581] assume !(~head~0.base != 0 || ~head~0.offset != 0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=47, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, #t~nondet3=4, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=29, #t~malloc2.offset=0, #t~nondet3=4, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=29, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, #t~nondet3=3, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=71, #t~malloc2.offset=0, #t~nondet3=3, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=71, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, #t~nondet3=2, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=69, #t~malloc2.offset=0, #t~nondet3=2, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=69, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, #t~nondet3=1, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=54, #t~malloc2.offset=0, #t~nondet3=1, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L569-L584] assume !(~len > 0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L585] #res.base, #res.offset := ~head~0.base, ~head~0.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #res.base=54, #res.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L567-L586] ensures true; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #res.base=54, #res.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L589] RET call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [#NULL.base=0, #NULL.offset=0, #t~ret6.base=54, #t~ret6.offset=0, ~len~0=5] [L589] ~head~1.base, ~head~1.offset := #t~ret6.base, #t~ret6.offset; [L589] havoc #t~ret6.base, #t~ret6.offset; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L590] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(~head~1.base, 4 + ~head~1.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem13.base=69, #t~mem13.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L590-L595] assume !!(#t~mem13.base != 0 || #t~mem13.offset != 0); [L590] havoc #t~mem13.base, #t~mem13.offset; [L591] call #t~mem7 := read~int(~head~1.base, ~head~1.offset, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] assume !#t~short9; [L591] call #t~mem8 := read~int(~head~1.base, 8 + ~head~1.offset, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] assume !#t~short11; [L591] call #t~mem10 := read~int(~head~1.base, 16 + ~head~1.offset, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL.base=0, #NULL.offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591-L593] assume #t~short11; [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L605] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=43, #NULL.offset=60, old(#NULL.base)=43, old(#NULL.offset)=60] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=60] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L588] ~len~0 := 5; VAL [#NULL.base=0, #NULL.offset=0, ~len~0=5] [L589] CALL call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0.base, ~head~0.offset := 0, 0; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, #t~nondet3=5, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=47, #t~malloc2.offset=0, #t~nondet3=5, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L579-L581] assume !(~head~0.base != 0 || ~head~0.offset != 0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=47, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, #t~nondet3=4, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=29, #t~malloc2.offset=0, #t~nondet3=4, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=29, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, #t~nondet3=3, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=71, #t~malloc2.offset=0, #t~nondet3=3, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=71, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, #t~nondet3=2, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=69, #t~malloc2.offset=0, #t~nondet3=2, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=69, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, #t~nondet3=1, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=54, #t~malloc2.offset=0, #t~nondet3=1, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L569-L584] assume !(~len > 0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L585] #res.base, #res.offset := ~head~0.base, ~head~0.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #res.base=54, #res.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L567-L586] ensures true; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #res.base=54, #res.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L589] RET call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [#NULL.base=0, #NULL.offset=0, #t~ret6.base=54, #t~ret6.offset=0, ~len~0=5] [L589] ~head~1.base, ~head~1.offset := #t~ret6.base, #t~ret6.offset; [L589] havoc #t~ret6.base, #t~ret6.offset; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L590] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(~head~1.base, 4 + ~head~1.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem13.base=69, #t~mem13.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L590-L595] assume !!(#t~mem13.base != 0 || #t~mem13.offset != 0); [L590] havoc #t~mem13.base, #t~mem13.offset; [L591] call #t~mem7 := read~int(~head~1.base, ~head~1.offset, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] assume !#t~short9; [L591] call #t~mem8 := read~int(~head~1.base, 8 + ~head~1.offset, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] assume !#t~short11; [L591] call #t~mem10 := read~int(~head~1.base, 16 + ~head~1.offset, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL.base=0, #NULL.offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591-L593] assume #t~short11; [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L605] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=60, old(#NULL!base)=43, old(#NULL!offset)=60] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L588] ~len~0 := 5; VAL [#NULL!base=0, #NULL!offset=0, ~len~0=5] [L589] CALL call #t~ret6 := dll_create(~len~0); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0 := { base: 0, offset: 0 }; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L579-L581] COND FALSE !(~head~0 != { base: 0, offset: 0 }) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=47, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=29, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=71, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=69, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L569-L584] COND TRUE !(~len > 0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L585] #res := ~head~0; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #res!base=54, #res!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L589] RET call #t~ret6 := dll_create(~len~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret6!base=54, #t~ret6!offset=0, ~len~0=5] [L589] ~head~1 := #t~ret6; [L589] havoc #t~ret6; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590] FCALL call #t~mem13 := read~$Pointer$({ base: ~head~1!base, offset: 4 + ~head~1!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem13!base=69, #t~mem13!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590-L595] COND FALSE !(!(#t~mem13 != { base: 0, offset: 0 })) [L590] havoc #t~mem13; [L591] FCALL call #t~mem7 := read~int({ base: ~head~1!base, offset: ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short9) [L591] FCALL call #t~mem8 := read~int({ base: ~head~1!base, offset: 8 + ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short11) [L591] FCALL call #t~mem10 := read~int({ base: ~head~1!base, offset: 16 + ~head~1!offset }, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND TRUE #t~short11 [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L605] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=60, old(#NULL!base)=43, old(#NULL!offset)=60] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L588] ~len~0 := 5; VAL [#NULL!base=0, #NULL!offset=0, ~len~0=5] [L589] CALL call #t~ret6 := dll_create(~len~0); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0 := { base: 0, offset: 0 }; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L579-L581] COND FALSE !(~head~0 != { base: 0, offset: 0 }) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=47, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=29, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=71, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=69, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L569-L584] COND TRUE !(~len > 0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L585] #res := ~head~0; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #res!base=54, #res!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L589] RET call #t~ret6 := dll_create(~len~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret6!base=54, #t~ret6!offset=0, ~len~0=5] [L589] ~head~1 := #t~ret6; [L589] havoc #t~ret6; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590] FCALL call #t~mem13 := read~$Pointer$({ base: ~head~1!base, offset: 4 + ~head~1!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem13!base=69, #t~mem13!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590-L595] COND FALSE !(!(#t~mem13 != { base: 0, offset: 0 })) [L590] havoc #t~mem13; [L591] FCALL call #t~mem7 := read~int({ base: ~head~1!base, offset: ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short9) [L591] FCALL call #t~mem8 := read~int({ base: ~head~1!base, offset: 8 + ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short11) [L591] FCALL call #t~mem10 := read~int({ base: ~head~1!base, offset: 16 + ~head~1!offset }, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND TRUE #t~short11 [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L605] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=60, old(#NULL!base)=43, old(#NULL!offset)=60] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L588] ~len~0 := 5; VAL [#NULL!base=0, #NULL!offset=0, ~len~0=5] [L589] CALL call #t~ret6 := dll_create(~len~0); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0 := { base: 0, offset: 0 }; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L579-L581] COND FALSE !(~head~0 != { base: 0, offset: 0 }) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=47, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=29, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=71, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=69, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L569-L584] COND TRUE !(~len > 0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L585] #res := ~head~0; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #res!base=54, #res!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L589] RET call #t~ret6 := dll_create(~len~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret6!base=54, #t~ret6!offset=0, ~len~0=5] [L589] ~head~1 := #t~ret6; [L589] havoc #t~ret6; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590] FCALL call #t~mem13 := read~$Pointer$({ base: ~head~1!base, offset: 4 + ~head~1!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem13!base=69, #t~mem13!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590-L595] COND FALSE !(!(#t~mem13 != { base: 0, offset: 0 })) [L590] havoc #t~mem13; [L591] FCALL call #t~mem7 := read~int({ base: ~head~1!base, offset: ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short9) [L591] FCALL call #t~mem8 := read~int({ base: ~head~1!base, offset: 8 + ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short11) [L591] FCALL call #t~mem10 := read~int({ base: ~head~1!base, offset: 16 + ~head~1!offset }, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND TRUE #t~short11 [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L605] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=60, old(#NULL!base)=43, old(#NULL!offset)=60] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L588] ~len~0 := 5; VAL [#NULL!base=0, #NULL!offset=0, ~len~0=5] [L589] CALL call #t~ret6 := dll_create(~len~0); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0 := { base: 0, offset: 0 }; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L579-L581] COND FALSE !(~head~0 != { base: 0, offset: 0 }) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=47, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=29, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=71, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=69, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L569-L584] COND TRUE !(~len > 0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L585] #res := ~head~0; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #res!base=54, #res!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L589] RET call #t~ret6 := dll_create(~len~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret6!base=54, #t~ret6!offset=0, ~len~0=5] [L589] ~head~1 := #t~ret6; [L589] havoc #t~ret6; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590] FCALL call #t~mem13 := read~$Pointer$({ base: ~head~1!base, offset: 4 + ~head~1!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem13!base=69, #t~mem13!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590-L595] COND FALSE !(!(#t~mem13 != { base: 0, offset: 0 })) [L590] havoc #t~mem13; [L591] FCALL call #t~mem7 := read~int({ base: ~head~1!base, offset: ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short9) [L591] FCALL call #t~mem8 := read~int({ base: ~head~1!base, offset: 8 + ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short11) [L591] FCALL call #t~mem10 := read~int({ base: ~head~1!base, offset: 16 + ~head~1!offset }, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND TRUE #t~short11 [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L605] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L588] const int len = 5; VAL [len=5] [L589] CALL, EXPR dll_create(len) VAL [\old(len)=5] [L568] DLL head = ((void *)0); VAL [\old(len)=5, head={0:0}, len=5] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=5, __VERIFIER_nondet_int() == len? 1 : 0=1, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L579] COND FALSE !(\read(head)) VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=4, __VERIFIER_nondet_int() == len? 1 : 0=1, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=3, __VERIFIER_nondet_int() == len? 1 : 0=1, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=2, __VERIFIER_nondet_int() == len? 1 : 0=1, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=1, __VERIFIER_nondet_int() == len? 1 : 0=1, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={54:0}, len=0, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L569] COND FALSE !(len > 0) VAL [\old(len)=5, head={54:0}, len=0, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L585] return head; VAL [\old(len)=5, \result={54:0}, head={54:0}, len=0, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L589] RET, EXPR dll_create(len) VAL [dll_create(len)={54:0}, len=5] [L589] DLL head = dll_create(len); [L590] head->next VAL [head={54:0}, head->next={69:0}, len=5] [L590] COND TRUE head->next [L591] EXPR head->data_0 [L591] EXPR 0 != head->data_0 || 0 != head->data_1 [L591] EXPR head->data_1 [L591] EXPR 0 != head->data_0 || 0 != head->data_1 VAL [0 != head->data_0 || 0 != head->data_1=0, head={54:0}, head->data_0=0, head->data_1=0, len=5] [L591] 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2 [L591] EXPR head->data_2 [L591] 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2 VAL [0 != head->data_0 || 0 != head->data_1=0, 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2=1, head={54:0}, head->data_0=0, head->data_1=0, head->data_2=1, len=5] [L591] COND TRUE 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2 [L605] __VERIFIER_error() VAL [head={54:0}, len=5] ----- [2018-11-23 00:33:35,555 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 12:33:35 BoogieIcfgContainer [2018-11-23 00:33:35,561 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 00:33:35,561 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 00:33:35,561 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 00:33:35,561 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 00:33:35,562 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 12:33:31" (3/4) ... [2018-11-23 00:33:35,563 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=43, |#NULL.offset|=60, |old(#NULL.base)|=43, |old(#NULL.offset)|=60] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=43, |old(#NULL.offset)|=60] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=43, |old(#NULL.offset)|=60] [?] RET #117#return; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret20 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] ~len~0 := 5; VAL [main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5] [?] ~len := #in~len;~head~0.base, ~head~0.offset := 0, 0; VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=5] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=5] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] assume !(~head~0.base != 0 || ~head~0.offset != 0); VAL [dll_create_~head~0.base=0, dll_create_~head~0.offset=0, dll_create_~len=5, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=47, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=47, |dll_create_#t~malloc2.offset|=0] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=4] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=4] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] assume ~head~0.base != 0 || ~head~0.offset != 0;call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [dll_create_~head~0.base=47, dll_create_~head~0.offset=0, dll_create_~len=4, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=29, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=29, |dll_create_#t~malloc2.offset|=0] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=3] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=3] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] assume ~head~0.base != 0 || ~head~0.offset != 0;call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [dll_create_~head~0.base=29, dll_create_~head~0.offset=0, dll_create_~len=3, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=71, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=71, |dll_create_#t~malloc2.offset|=0] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=2] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=2] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] assume ~head~0.base != 0 || ~head~0.offset != 0;call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [dll_create_~head~0.base=71, dll_create_~head~0.offset=0, dll_create_~len=2, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=69, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=69, |dll_create_#t~malloc2.offset|=0] [?] assume !!(~len > 0);call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20);~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4);call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4);assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=1] [?] assume #t~nondet3 == ~len;#t~ite4 := 1; VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~ite4|=1, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0, |dll_create_#t~nondet3|=1] [?] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4);havoc #t~nondet3;havoc #t~ite4;call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4);call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] assume ~head~0.base != 0 || ~head~0.offset != 0;call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [dll_create_~head~0.base=69, dll_create_~head~0.offset=0, dll_create_~len=1, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset;#t~post5 := ~len;~len := #t~post5 - 1;havoc #t~post5; VAL [dll_create_~head~0.base=54, dll_create_~head~0.offset=0, dll_create_~len=0, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] assume !(~len > 0); VAL [dll_create_~head~0.base=54, dll_create_~head~0.offset=0, dll_create_~len=0, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] #res.base, #res.offset := ~head~0.base, ~head~0.offset; VAL [dll_create_~head~0.base=54, dll_create_~head~0.offset=0, dll_create_~len=0, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#res.base|=54, |dll_create_#res.offset|=0, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] assume true; VAL [dll_create_~head~0.base=54, dll_create_~head~0.offset=0, dll_create_~len=0, dll_create_~new_head~0.base=54, dll_create_~new_head~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |dll_create_#in~len|=5, |dll_create_#res.base|=54, |dll_create_#res.offset|=0, |dll_create_#t~malloc2.base|=54, |dll_create_#t~malloc2.offset|=0] [?] RET #121#return; VAL [main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~ret6.base|=54, |main_#t~ret6.offset|=0] [?] ~head~1.base, ~head~1.offset := #t~ret6.base, #t~ret6.offset;havoc #t~ret6.base, #t~ret6.offset; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0] [?] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(~head~1.base, 4 + ~head~1.offset, 4); VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem13.base|=69, |main_#t~mem13.offset|=0] [?] assume !!(#t~mem13.base != 0 || #t~mem13.offset != 0);havoc #t~mem13.base, #t~mem13.offset;call #t~mem7 := read~int(~head~1.base, ~head~1.offset, 4);#t~short9 := 0 != #t~mem7; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem7|=0, |main_#t~short9|=false] [?] assume !#t~short9;call #t~mem8 := read~int(~head~1.base, 8 + ~head~1.offset, 4);#t~short9 := 0 != #t~mem8; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem7|=0, |main_#t~mem8|=0, |main_#t~short9|=false] [?] #t~short11 := #t~short9; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem7|=0, |main_#t~mem8|=0, |main_#t~short11|=false, |main_#t~short9|=false] [?] assume !#t~short11;call #t~mem10 := read~int(~head~1.base, 16 + ~head~1.offset, 4);#t~short11 := 0 != #t~mem10; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem10|=1, |main_#t~mem7|=0, |main_#t~mem8|=0, |main_#t~short11|=true, |main_#t~short9|=false] [?] assume #t~short11;havoc #t~mem7;havoc #t~short11;havoc #t~mem10;havoc #t~mem8;havoc #t~short9; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0] [?] assume !false; VAL [main_~head~1.base=54, main_~head~1.offset=0, main_~len~0=5, |#NULL.base|=0, |#NULL.offset|=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=43, #NULL.offset=60, old(#NULL.base)=43, old(#NULL.offset)=60] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=60] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L588] ~len~0 := 5; VAL [#NULL.base=0, #NULL.offset=0, ~len~0=5] [L589] CALL call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0.base, ~head~0.offset := 0, 0; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, #t~nondet3=5, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=47, #t~malloc2.offset=0, #t~nondet3=5, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L579-L581] assume !(~head~0.base != 0 || ~head~0.offset != 0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=47, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, #t~nondet3=4, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=29, #t~malloc2.offset=0, #t~nondet3=4, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=29, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, #t~nondet3=3, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=71, #t~malloc2.offset=0, #t~nondet3=3, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=71, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, #t~nondet3=2, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=69, #t~malloc2.offset=0, #t~nondet3=2, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=69, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, #t~nondet3=1, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=54, #t~malloc2.offset=0, #t~nondet3=1, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L569-L584] assume !(~len > 0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L585] #res.base, #res.offset := ~head~0.base, ~head~0.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #res.base=54, #res.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L567-L586] ensures true; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #res.base=54, #res.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L589] RET call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [#NULL.base=0, #NULL.offset=0, #t~ret6.base=54, #t~ret6.offset=0, ~len~0=5] [L589] ~head~1.base, ~head~1.offset := #t~ret6.base, #t~ret6.offset; [L589] havoc #t~ret6.base, #t~ret6.offset; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L590] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(~head~1.base, 4 + ~head~1.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem13.base=69, #t~mem13.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L590-L595] assume !!(#t~mem13.base != 0 || #t~mem13.offset != 0); [L590] havoc #t~mem13.base, #t~mem13.offset; [L591] call #t~mem7 := read~int(~head~1.base, ~head~1.offset, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] assume !#t~short9; [L591] call #t~mem8 := read~int(~head~1.base, 8 + ~head~1.offset, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] assume !#t~short11; [L591] call #t~mem10 := read~int(~head~1.base, 16 + ~head~1.offset, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL.base=0, #NULL.offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591-L593] assume #t~short11; [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L605] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=43, #NULL.offset=60, old(#NULL.base)=43, old(#NULL.offset)=60] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=60] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L588] ~len~0 := 5; VAL [#NULL.base=0, #NULL.offset=0, ~len~0=5] [L589] CALL call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0.base, ~head~0.offset := 0, 0; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, #t~nondet3=5, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=47, #t~malloc2.offset=0, #t~nondet3=5, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L579-L581] assume !(~head~0.base != 0 || ~head~0.offset != 0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=0, ~head~0.offset=0, ~len=5, ~new_head~0.base=47, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=47, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=47, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, #t~nondet3=4, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=29, #t~malloc2.offset=0, #t~nondet3=4, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=47, ~head~0.offset=0, ~len=4, ~new_head~0.base=29, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=29, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=29, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, #t~nondet3=3, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=71, #t~malloc2.offset=0, #t~nondet3=3, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=29, ~head~0.offset=0, ~len=3, ~new_head~0.base=71, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=71, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=71, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, #t~nondet3=2, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=69, #t~malloc2.offset=0, #t~nondet3=2, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=71, ~head~0.offset=0, ~len=2, ~new_head~0.base=69, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=69, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=69, ~new_head~0.offset=0] [L569-L584] assume !!(~len > 0); [L570] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(20); [L570] ~new_head~0.base, ~new_head~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L571-L573] assume !(0 == ~new_head~0.base && 0 == ~new_head~0.offset); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L574] call write~int(0, ~new_head~0.base, ~new_head~0.offset, 4); [L575] call write~int(0, ~new_head~0.base, 8 + ~new_head~0.offset, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, #t~nondet3=1, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L576] assume #t~nondet3 == ~len; [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~ite4=1, #t~malloc2.base=54, #t~malloc2.offset=0, #t~nondet3=1, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L576] call write~int(#t~ite4, ~new_head~0.base, 16 + ~new_head~0.offset, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] call write~$Pointer$(~head~0.base, ~head~0.offset, ~new_head~0.base, 4 + ~new_head~0.offset, 4); [L578] call write~$Pointer$(0, 0, ~new_head~0.base, 12 + ~new_head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L579-L581] assume ~head~0.base != 0 || ~head~0.offset != 0; [L580] call write~$Pointer$(~new_head~0.base, ~new_head~0.offset, ~head~0.base, 12 + ~head~0.offset, 4); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=69, ~head~0.offset=0, ~len=1, ~new_head~0.base=54, ~new_head~0.offset=0] [L582] ~head~0.base, ~head~0.offset := ~new_head~0.base, ~new_head~0.offset; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L569-L584] assume !(~len > 0); VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L585] #res.base, #res.offset := ~head~0.base, ~head~0.offset; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #res.base=54, #res.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L567-L586] ensures true; VAL [#in~len=5, #NULL.base=0, #NULL.offset=0, #res.base=54, #res.offset=0, #t~malloc2.base=54, #t~malloc2.offset=0, ~head~0.base=54, ~head~0.offset=0, ~len=0, ~new_head~0.base=54, ~new_head~0.offset=0] [L589] RET call #t~ret6.base, #t~ret6.offset := dll_create(~len~0); VAL [#NULL.base=0, #NULL.offset=0, #t~ret6.base=54, #t~ret6.offset=0, ~len~0=5] [L589] ~head~1.base, ~head~1.offset := #t~ret6.base, #t~ret6.offset; [L589] havoc #t~ret6.base, #t~ret6.offset; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L590] call #t~mem13.base, #t~mem13.offset := read~$Pointer$(~head~1.base, 4 + ~head~1.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem13.base=69, #t~mem13.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L590-L595] assume !!(#t~mem13.base != 0 || #t~mem13.offset != 0); [L590] havoc #t~mem13.base, #t~mem13.offset; [L591] call #t~mem7 := read~int(~head~1.base, ~head~1.offset, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] assume !#t~short9; [L591] call #t~mem8 := read~int(~head~1.base, 8 + ~head~1.offset, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL.base=0, #NULL.offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591] assume !#t~short11; [L591] call #t~mem10 := read~int(~head~1.base, 16 + ~head~1.offset, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL.base=0, #NULL.offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L591-L593] assume #t~short11; [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [L605] assert false; VAL [#NULL.base=0, #NULL.offset=0, ~head~1.base=54, ~head~1.offset=0, ~len~0=5] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=60, old(#NULL!base)=43, old(#NULL!offset)=60] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L588] ~len~0 := 5; VAL [#NULL!base=0, #NULL!offset=0, ~len~0=5] [L589] CALL call #t~ret6 := dll_create(~len~0); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0 := { base: 0, offset: 0 }; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L579-L581] COND FALSE !(~head~0 != { base: 0, offset: 0 }) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=47, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=29, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=71, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=69, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L569-L584] COND TRUE !(~len > 0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L585] #res := ~head~0; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #res!base=54, #res!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L589] RET call #t~ret6 := dll_create(~len~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret6!base=54, #t~ret6!offset=0, ~len~0=5] [L589] ~head~1 := #t~ret6; [L589] havoc #t~ret6; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590] FCALL call #t~mem13 := read~$Pointer$({ base: ~head~1!base, offset: 4 + ~head~1!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem13!base=69, #t~mem13!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590-L595] COND FALSE !(!(#t~mem13 != { base: 0, offset: 0 })) [L590] havoc #t~mem13; [L591] FCALL call #t~mem7 := read~int({ base: ~head~1!base, offset: ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short9) [L591] FCALL call #t~mem8 := read~int({ base: ~head~1!base, offset: 8 + ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short11) [L591] FCALL call #t~mem10 := read~int({ base: ~head~1!base, offset: 16 + ~head~1!offset }, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND TRUE #t~short11 [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L605] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=60, old(#NULL!base)=43, old(#NULL!offset)=60] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L588] ~len~0 := 5; VAL [#NULL!base=0, #NULL!offset=0, ~len~0=5] [L589] CALL call #t~ret6 := dll_create(~len~0); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0 := { base: 0, offset: 0 }; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L579-L581] COND FALSE !(~head~0 != { base: 0, offset: 0 }) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=47, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=29, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=71, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=69, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L569-L584] COND TRUE !(~len > 0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L585] #res := ~head~0; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #res!base=54, #res!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L589] RET call #t~ret6 := dll_create(~len~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret6!base=54, #t~ret6!offset=0, ~len~0=5] [L589] ~head~1 := #t~ret6; [L589] havoc #t~ret6; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590] FCALL call #t~mem13 := read~$Pointer$({ base: ~head~1!base, offset: 4 + ~head~1!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem13!base=69, #t~mem13!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590-L595] COND FALSE !(!(#t~mem13 != { base: 0, offset: 0 })) [L590] havoc #t~mem13; [L591] FCALL call #t~mem7 := read~int({ base: ~head~1!base, offset: ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short9) [L591] FCALL call #t~mem8 := read~int({ base: ~head~1!base, offset: 8 + ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short11) [L591] FCALL call #t~mem10 := read~int({ base: ~head~1!base, offset: 16 + ~head~1!offset }, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND TRUE #t~short11 [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L605] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=60, old(#NULL!base)=43, old(#NULL!offset)=60] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L588] ~len~0 := 5; VAL [#NULL!base=0, #NULL!offset=0, ~len~0=5] [L589] CALL call #t~ret6 := dll_create(~len~0); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0 := { base: 0, offset: 0 }; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L579-L581] COND FALSE !(~head~0 != { base: 0, offset: 0 }) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=47, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=29, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=71, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=69, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L569-L584] COND TRUE !(~len > 0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L585] #res := ~head~0; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #res!base=54, #res!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L589] RET call #t~ret6 := dll_create(~len~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret6!base=54, #t~ret6!offset=0, ~len~0=5] [L589] ~head~1 := #t~ret6; [L589] havoc #t~ret6; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590] FCALL call #t~mem13 := read~$Pointer$({ base: ~head~1!base, offset: 4 + ~head~1!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem13!base=69, #t~mem13!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590-L595] COND FALSE !(!(#t~mem13 != { base: 0, offset: 0 })) [L590] havoc #t~mem13; [L591] FCALL call #t~mem7 := read~int({ base: ~head~1!base, offset: ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short9) [L591] FCALL call #t~mem8 := read~int({ base: ~head~1!base, offset: 8 + ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short11) [L591] FCALL call #t~mem10 := read~int({ base: ~head~1!base, offset: 16 + ~head~1!offset }, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND TRUE #t~short11 [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L605] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=60, old(#NULL!base)=43, old(#NULL!offset)=60] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=60] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret20 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L588] ~len~0 := 5; VAL [#NULL!base=0, #NULL!offset=0, ~len~0=5] [L589] CALL call #t~ret6 := dll_create(~len~0); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0] [L567-L586] ~len := #in~len; [L568] ~head~0 := { base: 0, offset: 0 }; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=47, #t~malloc2!offset=0, #t~nondet3=5, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L579-L581] COND FALSE !(~head~0 != { base: 0, offset: 0 }) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=0, ~head~0!offset=0, ~len=5, ~new_head~0!base=47, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=47, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=47, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=29, #t~malloc2!offset=0, #t~nondet3=4, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=47, ~head~0!offset=0, ~len=4, ~new_head~0!base=29, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=29, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=29, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=71, #t~malloc2!offset=0, #t~nondet3=3, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=29, ~head~0!offset=0, ~len=3, ~new_head~0!base=71, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=71, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=71, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=69, #t~malloc2!offset=0, #t~nondet3=2, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=71, ~head~0!offset=0, ~len=2, ~new_head~0!base=69, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=69, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=69, ~new_head~0!offset=0] [L569-L584] COND FALSE !(!(~len > 0)) [L570] FCALL call #t~malloc2 := #Ultimate.alloc(20); [L570] ~new_head~0 := #t~malloc2; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L571] COND FALSE !({ base: 0, offset: 0 } == ~new_head~0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L574] FCALL call write~int(0, { base: ~new_head~0!base, offset: ~new_head~0!offset }, 4); [L575] FCALL call write~int(0, { base: ~new_head~0!base, offset: 8 + ~new_head~0!offset }, 4); [L576] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] COND TRUE #t~nondet3 == ~len [L576] #t~ite4 := 1; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~ite4=1, #t~malloc2!base=54, #t~malloc2!offset=0, #t~nondet3=1, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L576] FCALL call write~int(#t~ite4, { base: ~new_head~0!base, offset: 16 + ~new_head~0!offset }, 4); [L576] havoc #t~nondet3; [L576] havoc #t~ite4; [L577] FCALL call write~$Pointer$(~head~0, { base: ~new_head~0!base, offset: 4 + ~new_head~0!offset }, 4); [L578] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~new_head~0!base, offset: 12 + ~new_head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L579-L581] COND TRUE ~head~0 != { base: 0, offset: 0 } [L580] FCALL call write~$Pointer$(~new_head~0, { base: ~head~0!base, offset: 12 + ~head~0!offset }, 4); VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=69, ~head~0!offset=0, ~len=1, ~new_head~0!base=54, ~new_head~0!offset=0] [L582] ~head~0 := ~new_head~0; [L583] #t~post5 := ~len; [L583] ~len := #t~post5 - 1; [L583] havoc #t~post5; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L569-L584] COND TRUE !(~len > 0) VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L585] #res := ~head~0; VAL [#in~len=5, #NULL!base=0, #NULL!offset=0, #res!base=54, #res!offset=0, #t~malloc2!base=54, #t~malloc2!offset=0, ~head~0!base=54, ~head~0!offset=0, ~len=0, ~new_head~0!base=54, ~new_head~0!offset=0] [L589] RET call #t~ret6 := dll_create(~len~0); VAL [#NULL!base=0, #NULL!offset=0, #t~ret6!base=54, #t~ret6!offset=0, ~len~0=5] [L589] ~head~1 := #t~ret6; [L589] havoc #t~ret6; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590] FCALL call #t~mem13 := read~$Pointer$({ base: ~head~1!base, offset: 4 + ~head~1!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem13!base=69, #t~mem13!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L590-L595] COND FALSE !(!(#t~mem13 != { base: 0, offset: 0 })) [L590] havoc #t~mem13; [L591] FCALL call #t~mem7 := read~int({ base: ~head~1!base, offset: ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem7; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short9) [L591] FCALL call #t~mem8 := read~int({ base: ~head~1!base, offset: 8 + ~head~1!offset }, 4); [L591] #t~short9 := 0 != #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] #t~short11 := #t~short9; VAL [#NULL!base=0, #NULL!offset=0, #t~mem7=0, #t~mem8=0, #t~short11=false, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND FALSE !(#t~short11) [L591] FCALL call #t~mem10 := read~int({ base: ~head~1!base, offset: 16 + ~head~1!offset }, 4); [L591] #t~short11 := 0 != #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, #t~mem10=1, #t~mem7=0, #t~mem8=0, #t~short11=true, #t~short9=false, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L591] COND TRUE #t~short11 [L591] havoc #t~mem7; [L591] havoc #t~short11; [L591] havoc #t~mem10; [L591] havoc #t~mem8; [L591] havoc #t~short9; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L605] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~head~1!base=54, ~head~1!offset=0, ~len~0=5] [L588] const int len = 5; VAL [len=5] [L589] CALL, EXPR dll_create(len) VAL [\old(len)=5] [L568] DLL head = ((void *)0); VAL [\old(len)=5, head={0:0}, len=5] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=5, __VERIFIER_nondet_int() == len? 1 : 0=1, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L579] COND FALSE !(\read(head)) VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=4, __VERIFIER_nondet_int() == len? 1 : 0=1, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=3, __VERIFIER_nondet_int() == len? 1 : 0=1, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=2, __VERIFIER_nondet_int() == len? 1 : 0=1, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=1, __VERIFIER_nondet_int() == len? 1 : 0=1, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={54:0}, len=0, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L569] COND FALSE !(len > 0) VAL [\old(len)=5, head={54:0}, len=0, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L585] return head; VAL [\old(len)=5, \result={54:0}, head={54:0}, len=0, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L589] RET, EXPR dll_create(len) VAL [dll_create(len)={54:0}, len=5] [L589] DLL head = dll_create(len); [L590] head->next VAL [head={54:0}, head->next={69:0}, len=5] [L590] COND TRUE head->next [L591] EXPR head->data_0 [L591] EXPR 0 != head->data_0 || 0 != head->data_1 [L591] EXPR head->data_1 [L591] EXPR 0 != head->data_0 || 0 != head->data_1 VAL [0 != head->data_0 || 0 != head->data_1=0, head={54:0}, head->data_0=0, head->data_1=0, len=5] [L591] 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2 [L591] EXPR head->data_2 [L591] 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2 VAL [0 != head->data_0 || 0 != head->data_1=0, 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2=1, head={54:0}, head->data_0=0, head->data_1=0, head->data_2=1, len=5] [L591] COND TRUE 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2 [L605] __VERIFIER_error() VAL [head={54:0}, len=5] ----- [2018-11-23 00:33:35,985 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_2a305c59-ebf3-483d-a536-b5f42591ec7f/bin-2019/uautomizer/witness.graphml [2018-11-23 00:33:35,985 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 00:33:35,986 INFO L168 Benchmark]: Toolchain (without parser) took 5535.96 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 159.9 MB). Free memory was 956.6 MB in the beginning and 909.5 MB in the end (delta: 47.0 MB). Peak memory consumption was 206.9 MB. Max. memory is 11.5 GB. [2018-11-23 00:33:35,987 INFO L168 Benchmark]: CDTParser took 0.11 ms. Allocated memory is still 1.0 GB. Free memory is still 985.6 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 00:33:35,987 INFO L168 Benchmark]: CACSL2BoogieTranslator took 325.99 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 159.9 MB). Free memory was 956.6 MB in the beginning and 1.1 GB in the end (delta: -192.1 MB). Peak memory consumption was 31.7 MB. Max. memory is 11.5 GB. [2018-11-23 00:33:35,987 INFO L168 Benchmark]: Boogie Procedure Inliner took 21.16 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 00:33:35,987 INFO L168 Benchmark]: Boogie Preprocessor took 24.13 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 00:33:35,988 INFO L168 Benchmark]: RCFGBuilder took 285.00 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: 23.0 MB). Peak memory consumption was 23.0 MB. Max. memory is 11.5 GB. [2018-11-23 00:33:35,988 INFO L168 Benchmark]: TraceAbstraction took 4451.71 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 923.2 MB in the end (delta: 197.1 MB). Peak memory consumption was 197.1 MB. Max. memory is 11.5 GB. [2018-11-23 00:33:35,988 INFO L168 Benchmark]: Witness Printer took 424.56 ms. Allocated memory is still 1.2 GB. Free memory was 923.2 MB in the beginning and 909.5 MB in the end (delta: 13.7 MB). Peak memory consumption was 13.7 MB. Max. memory is 11.5 GB. [2018-11-23 00:33:35,990 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.11 ms. Allocated memory is still 1.0 GB. Free memory is still 985.6 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 325.99 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 159.9 MB). Free memory was 956.6 MB in the beginning and 1.1 GB in the end (delta: -192.1 MB). Peak memory consumption was 31.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 21.16 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. * Boogie Preprocessor took 24.13 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 285.00 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: 23.0 MB). Peak memory consumption was 23.0 MB. Max. memory is 11.5 GB. * TraceAbstraction took 4451.71 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 923.2 MB in the end (delta: 197.1 MB). Peak memory consumption was 197.1 MB. Max. memory is 11.5 GB. * Witness Printer took 424.56 ms. Allocated memory is still 1.2 GB. Free memory was 923.2 MB in the beginning and 909.5 MB in the end (delta: 13.7 MB). Peak memory consumption was 13.7 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 605]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L588] const int len = 5; VAL [len=5] [L589] CALL, EXPR dll_create(len) VAL [\old(len)=5] [L568] DLL head = ((void *)0); VAL [\old(len)=5, head={0:0}, len=5] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=5, __VERIFIER_nondet_int() == len? 1 : 0=1, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L579] COND FALSE !(\read(head)) VAL [\old(len)=5, head={0:0}, len=5, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={47:0}, new_head={47:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=4, __VERIFIER_nondet_int() == len? 1 : 0=1, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={47:0}, len=4, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={29:0}, new_head={29:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=3, __VERIFIER_nondet_int() == len? 1 : 0=1, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={29:0}, len=3, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={71:0}, new_head={71:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=2, __VERIFIER_nondet_int() == len? 1 : 0=1, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={71:0}, len=2, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={69:0}, new_head={69:0}] [L569] COND TRUE len > 0 [L570] DLL new_head = (DLL) malloc(sizeof(struct node)); VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L571] COND FALSE !(((void *)0) == new_head) VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L574] new_head->data_0 = 0 [L575] new_head->data_1 = 0 [L576] EXPR __VERIFIER_nondet_int() == len? 1 : 0 VAL [\old(len)=5, __VERIFIER_nondet_int()=1, __VERIFIER_nondet_int() == len? 1 : 0=1, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L576] new_head->data_2 = __VERIFIER_nondet_int() == len? 1 : 0 [L577] new_head->next = head [L578] new_head->prev = ((void *)0) VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L579] COND TRUE \read(head) [L580] head->prev = new_head VAL [\old(len)=5, head={69:0}, len=1, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L582] head = new_head [L583] len-- VAL [\old(len)=5, head={54:0}, len=0, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L569] COND FALSE !(len > 0) VAL [\old(len)=5, head={54:0}, len=0, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L585] return head; VAL [\old(len)=5, \result={54:0}, head={54:0}, len=0, malloc(sizeof(struct node))={54:0}, new_head={54:0}] [L589] RET, EXPR dll_create(len) VAL [dll_create(len)={54:0}, len=5] [L589] DLL head = dll_create(len); [L590] head->next VAL [head={54:0}, head->next={69:0}, len=5] [L590] COND TRUE head->next [L591] EXPR head->data_0 [L591] EXPR 0 != head->data_0 || 0 != head->data_1 [L591] EXPR head->data_1 [L591] EXPR 0 != head->data_0 || 0 != head->data_1 VAL [0 != head->data_0 || 0 != head->data_1=0, head={54:0}, head->data_0=0, head->data_1=0, len=5] [L591] 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2 [L591] EXPR head->data_2 [L591] 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2 VAL [0 != head->data_0 || 0 != head->data_1=0, 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2=1, head={54:0}, head->data_0=0, head->data_1=0, head->data_2=1, len=5] [L591] COND TRUE 0 != head->data_0 || 0 != head->data_1 || 0 != head->data_2 [L605] __VERIFIER_error() VAL [head={54:0}, len=5] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 42 locations, 1 error locations. UNSAFE Result, 4.4s OverallTime, 8 OverallIterations, 5 TraceHistogramMax, 1.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 253 SDtfs, 345 SDslu, 832 SDs, 0 SdLazy, 664 SolverSat, 105 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.4s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 220 GetRequests, 156 SyntacticMatches, 0 SemanticMatches, 64 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 329 ImplicationChecksByTransitivity, 0.7s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=66occurred in iteration=7, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 7 MinimizatonAttempts, 39 StatesRemovedByMinimization, 6 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 2.0s SatisfiabilityAnalysisTime, 0.7s InterpolantComputationTime, 422 NumberOfCodeBlocks, 415 NumberOfCodeBlocksAsserted, 16 NumberOfCheckSat, 356 ConstructedInterpolants, 0 QuantifiedInterpolants, 43666 SizeOfPredicates, 21 NumberOfNonLiveVariables, 684 ConjunctsInSsa, 56 ConjunctsInUnsatCore, 11 InterpolantComputations, 3 PerfectInterpolantSequences, 40/161 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...