./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/forester-heap/dll-sorted_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_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/forester-heap/dll-sorted_false-unreach-call_false-valid-memcleanup.i -s /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/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 3d1a973dcd7009ffcd2eda1338249f4d290fb62a ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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 11:51:10,633 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:51:10,634 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:51:10,642 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:51:10,642 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:51:10,643 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:51:10,644 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:51:10,645 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:51:10,646 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:51:10,647 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:51:10,647 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:51:10,647 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:51:10,648 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:51:10,649 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:51:10,649 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:51:10,650 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:51:10,650 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:51:10,652 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:51:10,653 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:51:10,654 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:51:10,655 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:51:10,656 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:51:10,657 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:51:10,658 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:51:10,658 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:51:10,658 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:51:10,659 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:51:10,660 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:51:10,660 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:51:10,661 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:51:10,661 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:51:10,662 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:51:10,662 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:51:10,662 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:51:10,663 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:51:10,663 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:51:10,663 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf [2018-11-23 11:51:10,674 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:51:10,674 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:51:10,674 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 11:51:10,675 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 11:51:10,675 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:51:10,675 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:51:10,675 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:51:10,676 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:51:10,676 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:51:10,676 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 11:51:10,676 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:51:10,676 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:51:10,676 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 11:51:10,676 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 11:51:10,676 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 11:51:10,677 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:51:10,677 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:51:10,677 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:51:10,677 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 11:51:10,677 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:51:10,677 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:51:10,677 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 11:51:10,677 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 11:51:10,677 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:51:10,677 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:51:10,678 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 11:51:10,678 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 11:51:10,678 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 11:51:10,678 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 11:51:10,678 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 11:51:10,678 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_7140f338-3941-4f33-b372-da9534d6878c/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 -> 3d1a973dcd7009ffcd2eda1338249f4d290fb62a [2018-11-23 11:51:10,701 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:51:10,710 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:51:10,713 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:51:10,714 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:51:10,714 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:51:10,715 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/../../sv-benchmarks/c/forester-heap/dll-sorted_false-unreach-call_false-valid-memcleanup.i [2018-11-23 11:51:10,755 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/data/62b92efe4/47f1e6b6390a48819d52001cbcbd26d7/FLAG76e3f04cb [2018-11-23 11:51:11,186 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:51:11,187 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/sv-benchmarks/c/forester-heap/dll-sorted_false-unreach-call_false-valid-memcleanup.i [2018-11-23 11:51:11,194 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/data/62b92efe4/47f1e6b6390a48819d52001cbcbd26d7/FLAG76e3f04cb [2018-11-23 11:51:11,202 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/data/62b92efe4/47f1e6b6390a48819d52001cbcbd26d7 [2018-11-23 11:51:11,204 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:51:11,205 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:51:11,206 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:51:11,206 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:51:11,209 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:51:11,209 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,211 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4d05c556 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11, skipping insertion in model container [2018-11-23 11:51:11,211 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,217 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:51:11,245 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:51:11,437 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:51:11,445 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:51:11,531 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:51:11,554 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:51:11,554 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11 WrapperNode [2018-11-23 11:51:11,554 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:51:11,555 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:51:11,555 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:51:11,555 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:51:11,560 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,572 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,579 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:51:11,580 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:51:11,580 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:51:11,580 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:51:11,586 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,587 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,589 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,589 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,597 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,602 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,603 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... [2018-11-23 11:51:11,604 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:51:11,605 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:51:11,605 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:51:11,605 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:51:11,605 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/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 11:51:11,644 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:51:11,644 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 11:51:11,644 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 11:51:11,644 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 11:51:11,644 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 11:51:11,644 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 11:51:11,644 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 11:51:11,644 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 11:51:11,645 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 11:51:11,645 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 11:51:11,645 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:51:11,645 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:51:12,006 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:51:12,006 INFO L280 CfgBuilder]: Removed 18 assue(true) statements. [2018-11-23 11:51:12,007 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:51:12 BoogieIcfgContainer [2018-11-23 11:51:12,007 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:51:12,008 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 11:51:12,008 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 11:51:12,010 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 11:51:12,010 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 11:51:11" (1/3) ... [2018-11-23 11:51:12,011 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1e2c677b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:51:12, skipping insertion in model container [2018-11-23 11:51:12,011 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:51:11" (2/3) ... [2018-11-23 11:51:12,011 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1e2c677b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:51:12, skipping insertion in model container [2018-11-23 11:51:12,011 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:51:12" (3/3) ... [2018-11-23 11:51:12,013 INFO L112 eAbstractionObserver]: Analyzing ICFG dll-sorted_false-unreach-call_false-valid-memcleanup.i [2018-11-23 11:51:12,019 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 11:51:12,024 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 6 error locations. [2018-11-23 11:51:12,034 INFO L257 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2018-11-23 11:51:12,055 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:51:12,055 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 11:51:12,055 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 11:51:12,055 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 11:51:12,055 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:51:12,056 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:51:12,056 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 11:51:12,056 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:51:12,056 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 11:51:12,069 INFO L276 IsEmpty]: Start isEmpty. Operand 61 states. [2018-11-23 11:51:12,073 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2018-11-23 11:51:12,074 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:51:12,074 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:51:12,076 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION, mainErr3ASSERT_VIOLATIONERROR_FUNCTION, mainErr2ASSERT_VIOLATIONERROR_FUNCTION, mainErr4ASSERT_VIOLATIONERROR_FUNCTION, mainErr1ASSERT_VIOLATIONERROR_FUNCTION, mainErr5ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:51:12,081 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:51:12,082 INFO L82 PathProgramCache]: Analyzing trace with hash 1783331453, now seen corresponding path program 1 times [2018-11-23 11:51:12,083 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:51:12,083 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:51:12,117 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:51:12,118 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:51:12,118 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:51:12,144 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:51:12,174 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:51:12,176 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:51:12,176 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 11:51:12,179 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 11:51:12,186 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 11:51:12,187 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 11:51:12,188 INFO L87 Difference]: Start difference. First operand 61 states. Second operand 2 states. [2018-11-23 11:51:12,205 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:51:12,205 INFO L93 Difference]: Finished difference Result 112 states and 178 transitions. [2018-11-23 11:51:12,206 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 11:51:12,206 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 10 [2018-11-23 11:51:12,207 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:51:12,213 INFO L225 Difference]: With dead ends: 112 [2018-11-23 11:51:12,213 INFO L226 Difference]: Without dead ends: 54 [2018-11-23 11:51:12,216 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 11:51:12,227 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states. [2018-11-23 11:51:12,240 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 54. [2018-11-23 11:51:12,240 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 54 states. [2018-11-23 11:51:12,241 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 54 states and 64 transitions. [2018-11-23 11:51:12,243 INFO L78 Accepts]: Start accepts. Automaton has 54 states and 64 transitions. Word has length 10 [2018-11-23 11:51:12,243 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:51:12,243 INFO L480 AbstractCegarLoop]: Abstraction has 54 states and 64 transitions. [2018-11-23 11:51:12,243 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 11:51:12,243 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 64 transitions. [2018-11-23 11:51:12,243 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2018-11-23 11:51:12,243 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:51:12,243 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:51:12,244 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION, mainErr3ASSERT_VIOLATIONERROR_FUNCTION, mainErr2ASSERT_VIOLATIONERROR_FUNCTION, mainErr4ASSERT_VIOLATIONERROR_FUNCTION, mainErr1ASSERT_VIOLATIONERROR_FUNCTION, mainErr5ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:51:12,244 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:51:12,244 INFO L82 PathProgramCache]: Analyzing trace with hash -569388701, now seen corresponding path program 1 times [2018-11-23 11:51:12,244 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:51:12,244 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:51:12,246 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:51:12,246 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:51:12,246 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:51:12,257 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:51:12,290 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:51:12,290 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:51:12,290 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 11:51:12,291 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 11:51:12,291 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 11:51:12,291 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 11:51:12,292 INFO L87 Difference]: Start difference. First operand 54 states and 64 transitions. Second operand 3 states. [2018-11-23 11:51:12,326 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:51:12,327 INFO L93 Difference]: Finished difference Result 107 states and 130 transitions. [2018-11-23 11:51:12,327 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 11:51:12,327 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 11 [2018-11-23 11:51:12,327 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:51:12,328 INFO L225 Difference]: With dead ends: 107 [2018-11-23 11:51:12,328 INFO L226 Difference]: Without dead ends: 59 [2018-11-23 11:51:12,329 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 11:51:12,329 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 59 states. [2018-11-23 11:51:12,333 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 59 to 58. [2018-11-23 11:51:12,333 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 58 states. [2018-11-23 11:51:12,334 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 58 states to 58 states and 69 transitions. [2018-11-23 11:51:12,334 INFO L78 Accepts]: Start accepts. Automaton has 58 states and 69 transitions. Word has length 11 [2018-11-23 11:51:12,335 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:51:12,335 INFO L480 AbstractCegarLoop]: Abstraction has 58 states and 69 transitions. [2018-11-23 11:51:12,335 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 11:51:12,335 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 69 transitions. [2018-11-23 11:51:12,335 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-11-23 11:51:12,335 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:51:12,335 INFO L402 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:51:12,335 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION, mainErr3ASSERT_VIOLATIONERROR_FUNCTION, mainErr2ASSERT_VIOLATIONERROR_FUNCTION, mainErr4ASSERT_VIOLATIONERROR_FUNCTION, mainErr1ASSERT_VIOLATIONERROR_FUNCTION, mainErr5ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:51:12,336 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:51:12,336 INFO L82 PathProgramCache]: Analyzing trace with hash -846164232, now seen corresponding path program 1 times [2018-11-23 11:51:12,336 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:51:12,336 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:51:12,337 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:51:12,337 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:51:12,337 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:51:12,354 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:51:12,405 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2018-11-23 11:51:12,405 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:51:12,406 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-11-23 11:51:12,406 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-11-23 11:51:12,406 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-23 11:51:12,406 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-11-23 11:51:12,406 INFO L87 Difference]: Start difference. First operand 58 states and 69 transitions. Second operand 4 states. [2018-11-23 11:51:12,537 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:51:12,538 INFO L93 Difference]: Finished difference Result 91 states and 109 transitions. [2018-11-23 11:51:12,539 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-23 11:51:12,539 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 15 [2018-11-23 11:51:12,539 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:51:12,540 INFO L225 Difference]: With dead ends: 91 [2018-11-23 11:51:12,540 INFO L226 Difference]: Without dead ends: 89 [2018-11-23 11:51:12,540 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2018-11-23 11:51:12,541 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 89 states. [2018-11-23 11:51:12,545 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 89 to 56. [2018-11-23 11:51:12,545 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 56 states. [2018-11-23 11:51:12,546 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 56 states to 56 states and 67 transitions. [2018-11-23 11:51:12,546 INFO L78 Accepts]: Start accepts. Automaton has 56 states and 67 transitions. Word has length 15 [2018-11-23 11:51:12,546 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:51:12,547 INFO L480 AbstractCegarLoop]: Abstraction has 56 states and 67 transitions. [2018-11-23 11:51:12,547 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-11-23 11:51:12,547 INFO L276 IsEmpty]: Start isEmpty. Operand 56 states and 67 transitions. [2018-11-23 11:51:12,547 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 11:51:12,547 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:51:12,547 INFO L402 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:51:12,548 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION, mainErr3ASSERT_VIOLATIONERROR_FUNCTION, mainErr2ASSERT_VIOLATIONERROR_FUNCTION, mainErr4ASSERT_VIOLATIONERROR_FUNCTION, mainErr1ASSERT_VIOLATIONERROR_FUNCTION, mainErr5ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:51:12,548 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:51:12,548 INFO L82 PathProgramCache]: Analyzing trace with hash 936567374, now seen corresponding path program 1 times [2018-11-23 11:51:12,548 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:51:12,548 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:51:12,549 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:51:12,549 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:51:12,549 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:51:12,579 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:51:12,600 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:51:12,623 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=23, |#NULL.offset|=13, |old(#NULL.base)|=23, |old(#NULL.offset)|=13] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=23, |old(#NULL.offset)|=13] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=23, |old(#NULL.offset)|=13] [?] RET #235#return; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret29 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(12);~head~0.base, ~head~0.offset := #t~malloc0.base, #t~malloc0.offset;call write~$Pointer$(0, 0, ~head~0.base, ~head~0.offset, 4);call write~$Pointer$(0, 0, ~head~0.base, 4 + ~head~0.offset, 4);call write~int(0, ~head~0.base, 8 + ~head~0.offset, 4);~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset;~marked~0 := 0; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0] [?] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~nondet1|=1] [?] assume !!(0 != #t~nondet1 || 0 == ~marked~0);havoc #t~nondet1;call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(12);call write~$Pointer$(#t~malloc2.base, #t~malloc2.offset, ~x~0.base, ~x~0.offset, 4);call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);call write~$Pointer$(~x~0.base, ~x~0.offset, #t~mem3.base, 4 + #t~mem3.offset, 4);havoc #t~mem3.base, #t~mem3.offset;call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);~x~0.base, ~x~0.offset := #t~mem4.base, #t~mem4.offset;havoc #t~mem4.base, #t~mem4.offset;call write~$Pointer$(0, 0, ~x~0.base, ~x~0.offset, 4);assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~nondet5|=1] [?] assume 0 != #t~nondet5;havoc #t~nondet5;~marked~0 := 1; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] assume 0 != ~marked~0;call write~int(1, ~x~0.base, 8 + ~x~0.offset, 4); VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~nondet1|=0] [?] assume !(0 != #t~nondet1 || 0 == ~marked~0);havoc #t~nondet1; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] assume !!(0 != ~x~0.base || 0 != ~x~0.offset); VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] goto; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] ~marked~0 := 0; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);#t~short9 := #t~mem6.base != 0 || #t~mem6.offset != 0; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem6.base|=19, |main_#t~mem6.offset|=0, |main_#t~short9|=true] [?] assume #t~short9;call #t~mem7.base, #t~mem7.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);call #t~mem8 := read~int(#t~mem7.base, 8 + #t~mem7.offset, 4);#t~short9 := 0 == #t~mem8; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem6.base|=19, |main_#t~mem6.offset|=0, |main_#t~mem7.base|=19, |main_#t~mem7.offset|=0, |main_#t~mem8|=1, |main_#t~short9|=false] [?] assume !#t~short9;havoc #t~mem8;havoc #t~short9;havoc #t~mem7.base, #t~mem7.offset;havoc #t~mem6.base, #t~mem6.offset; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] call #t~mem11.base, #t~mem11.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);#t~short13 := #t~mem11.base != 0 || #t~mem11.offset != 0; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem11.base|=19, |main_#t~mem11.offset|=0, |main_#t~short13|=true] [?] assume #t~short13;assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647;#t~short13 := 0 != #t~nondet12; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem11.base|=19, |main_#t~mem11.offset|=0, |main_#t~nondet12|=1, |main_#t~short13|=true] [?] assume !!#t~short13;havoc #t~nondet12;havoc #t~mem11.base, #t~mem11.offset;havoc #t~short13;call #t~mem14.base, #t~mem14.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);~x~0.base, ~x~0.offset := #t~mem14.base, #t~mem14.offset;havoc #t~mem14.base, #t~mem14.offset; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] call #t~mem15 := read~int(~x~0.base, 8 + ~x~0.offset, 4); VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem15|=1] [?] assume !(1 != #t~mem15);havoc #t~mem15; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] assume !false; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=23, #NULL.offset=13, old(#NULL.base)=23, old(#NULL.offset)=13] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=23, old(#NULL.offset)=13] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=23, old(#NULL.offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L986] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(12); [L986] ~head~0.base, ~head~0.offset := #t~malloc0.base, #t~malloc0.offset; [L987] call write~$Pointer$(0, 0, ~head~0.base, ~head~0.offset, 4); [L988] call write~$Pointer$(0, 0, ~head~0.base, 4 + ~head~0.offset, 4); [L989] call write~int(0, ~head~0.base, 8 + ~head~0.offset, 4); [L991] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; [L992] ~marked~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~nondet1=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L995-L1012] assume !!(0 != #t~nondet1 || 0 == ~marked~0); [L995] havoc #t~nondet1; [L998] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(12); [L998] call write~$Pointer$(#t~malloc2.base, #t~malloc2.offset, ~x~0.base, ~x~0.offset, 4); [L999] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L999] call write~$Pointer$(~x~0.base, ~x~0.offset, #t~mem3.base, 4 + #t~mem3.offset, 4); [L999] havoc #t~mem3.base, #t~mem3.offset; [L1000] call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1000] ~x~0.base, ~x~0.offset := #t~mem4.base, #t~mem4.offset; [L1000] havoc #t~mem4.base, #t~mem4.offset; [L1001] call write~$Pointer$(0, 0, ~x~0.base, ~x~0.offset, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~nondet5=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1003-L1006] assume 0 != #t~nondet5; [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L1008-L1011] assume 0 != ~marked~0; [L1009] call write~int(1, ~x~0.base, 8 + ~x~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~nondet1=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L995-L1012] assume !(0 != #t~nondet1 || 0 == ~marked~0); [L995] havoc #t~nondet1; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L1014] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=21, ~x~0.offset=0] [L1016] assume !!(0 != ~x~0.base || 0 != ~x~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=21, ~x~0.offset=0] [L1017] ~marked~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1019] #t~short9 := #t~mem6.base != 0 || #t~mem6.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem6.base=19, #t~mem6.offset=0, #t~short9=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019] assume #t~short9; [L1019] call #t~mem7.base, #t~mem7.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1019] call #t~mem8 := read~int(#t~mem7.base, 8 + #t~mem7.offset, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem6.base=19, #t~mem6.offset=0, #t~mem7.base=19, #t~mem7.offset=0, #t~mem8=1, #t~short9=false, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019-L1022] assume !#t~short9; [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7.base, #t~mem7.offset; [L1019] havoc #t~mem6.base, #t~mem6.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024] call #t~mem11.base, #t~mem11.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1024] #t~short13 := #t~mem11.base != 0 || #t~mem11.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem11.base=19, #t~mem11.offset=0, #t~short13=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024] assume #t~short13; [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem11.base=19, #t~mem11.offset=0, #t~nondet12=1, #t~short13=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024-L1028] assume !!#t~short13; [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11.base, #t~mem11.offset; [L1024] havoc #t~short13; [L1026] call #t~mem14.base, #t~mem14.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1026] ~x~0.base, ~x~0.offset := #t~mem14.base, #t~mem14.offset; [L1026] havoc #t~mem14.base, #t~mem14.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] call #t~mem15 := read~int(~x~0.base, 8 + ~x~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem15=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] assume !(1 != #t~mem15); [L1027] havoc #t~mem15; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] assert false; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=23, #NULL.offset=13, old(#NULL.base)=23, old(#NULL.offset)=13] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=23, old(#NULL.offset)=13] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=23, old(#NULL.offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L986] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(12); [L986] ~head~0.base, ~head~0.offset := #t~malloc0.base, #t~malloc0.offset; [L987] call write~$Pointer$(0, 0, ~head~0.base, ~head~0.offset, 4); [L988] call write~$Pointer$(0, 0, ~head~0.base, 4 + ~head~0.offset, 4); [L989] call write~int(0, ~head~0.base, 8 + ~head~0.offset, 4); [L991] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; [L992] ~marked~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~nondet1=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L995-L1012] assume !!(0 != #t~nondet1 || 0 == ~marked~0); [L995] havoc #t~nondet1; [L998] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(12); [L998] call write~$Pointer$(#t~malloc2.base, #t~malloc2.offset, ~x~0.base, ~x~0.offset, 4); [L999] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L999] call write~$Pointer$(~x~0.base, ~x~0.offset, #t~mem3.base, 4 + #t~mem3.offset, 4); [L999] havoc #t~mem3.base, #t~mem3.offset; [L1000] call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1000] ~x~0.base, ~x~0.offset := #t~mem4.base, #t~mem4.offset; [L1000] havoc #t~mem4.base, #t~mem4.offset; [L1001] call write~$Pointer$(0, 0, ~x~0.base, ~x~0.offset, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~nondet5=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1003-L1006] assume 0 != #t~nondet5; [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L1008-L1011] assume 0 != ~marked~0; [L1009] call write~int(1, ~x~0.base, 8 + ~x~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~nondet1=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L995-L1012] assume !(0 != #t~nondet1 || 0 == ~marked~0); [L995] havoc #t~nondet1; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L1014] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=21, ~x~0.offset=0] [L1016] assume !!(0 != ~x~0.base || 0 != ~x~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=21, ~x~0.offset=0] [L1017] ~marked~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1019] #t~short9 := #t~mem6.base != 0 || #t~mem6.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem6.base=19, #t~mem6.offset=0, #t~short9=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019] assume #t~short9; [L1019] call #t~mem7.base, #t~mem7.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1019] call #t~mem8 := read~int(#t~mem7.base, 8 + #t~mem7.offset, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem6.base=19, #t~mem6.offset=0, #t~mem7.base=19, #t~mem7.offset=0, #t~mem8=1, #t~short9=false, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019-L1022] assume !#t~short9; [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7.base, #t~mem7.offset; [L1019] havoc #t~mem6.base, #t~mem6.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024] call #t~mem11.base, #t~mem11.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1024] #t~short13 := #t~mem11.base != 0 || #t~mem11.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem11.base=19, #t~mem11.offset=0, #t~short13=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024] assume #t~short13; [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem11.base=19, #t~mem11.offset=0, #t~nondet12=1, #t~short13=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024-L1028] assume !!#t~short13; [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11.base, #t~mem11.offset; [L1024] havoc #t~short13; [L1026] call #t~mem14.base, #t~mem14.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1026] ~x~0.base, ~x~0.offset := #t~mem14.base, #t~mem14.offset; [L1026] havoc #t~mem14.base, #t~mem14.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] call #t~mem15 := read~int(~x~0.base, 8 + ~x~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem15=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] assume !(1 != #t~mem15); [L1027] havoc #t~mem15; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] assert false; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=23, #NULL!offset=13, old(#NULL!base)=23, old(#NULL!offset)=13] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=23, old(#NULL!offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L986] FCALL call #t~malloc0 := #Ultimate.alloc(12); [L986] ~head~0 := #t~malloc0; [L987] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: ~head~0!offset }, 4); [L988] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: 4 + ~head~0!offset }, 4); [L989] FCALL call write~int(0, { base: ~head~0!base, offset: 8 + ~head~0!offset }, 4); [L991] ~x~0 := ~head~0; [L992] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~nondet1=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995-L1012] COND FALSE !(!(0 != #t~nondet1 || 0 == ~marked~0)) [L995] havoc #t~nondet1; [L998] FCALL call #t~malloc2 := #Ultimate.alloc(12); [L998] FCALL call write~$Pointer$(#t~malloc2, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call #t~mem3 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call write~$Pointer$(~x~0, { base: #t~mem3!base, offset: 4 + #t~mem3!offset }, 4); [L999] havoc #t~mem3; [L1000] FCALL call #t~mem4 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1000] ~x~0 := #t~mem4; [L1000] havoc #t~mem4; [L1001] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet5=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1003-L1006] COND TRUE 0 != #t~nondet5 [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1008-L1011] COND TRUE 0 != ~marked~0 [L1009] FCALL call write~int(1, { base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet1=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995-L1012] COND TRUE !(0 != #t~nondet1 || 0 == ~marked~0) [L995] havoc #t~nondet1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1014] ~x~0 := ~head~0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1016] COND FALSE !(!({ base: 0, offset: 0 } != ~x~0)) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1017] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] FCALL call #t~mem6 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] #t~short9 := #t~mem6 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~short9=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] COND TRUE #t~short9 [L1019] FCALL call #t~mem7 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] FCALL call #t~mem8 := read~int({ base: #t~mem7!base, offset: 8 + #t~mem7!offset }, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~mem7!base=19, #t~mem7!offset=0, #t~mem8=1, #t~short9=false, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019-L1022] COND TRUE !#t~short9 [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7; [L1019] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] FCALL call #t~mem11 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1024] #t~short13 := #t~mem11 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] COND TRUE #t~short13 [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~nondet12=1, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024-L1028] COND FALSE !(!#t~short13) [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11; [L1024] havoc #t~short13; [L1026] FCALL call #t~mem14 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1026] ~x~0 := #t~mem14; [L1026] havoc #t~mem14; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] FCALL call #t~mem15 := read~int({ base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem15=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] COND TRUE !(1 != #t~mem15) [L1027] havoc #t~mem15; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] assert false; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=23, #NULL!offset=13, old(#NULL!base)=23, old(#NULL!offset)=13] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=23, old(#NULL!offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L986] FCALL call #t~malloc0 := #Ultimate.alloc(12); [L986] ~head~0 := #t~malloc0; [L987] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: ~head~0!offset }, 4); [L988] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: 4 + ~head~0!offset }, 4); [L989] FCALL call write~int(0, { base: ~head~0!base, offset: 8 + ~head~0!offset }, 4); [L991] ~x~0 := ~head~0; [L992] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~nondet1=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995-L1012] COND FALSE !(!(0 != #t~nondet1 || 0 == ~marked~0)) [L995] havoc #t~nondet1; [L998] FCALL call #t~malloc2 := #Ultimate.alloc(12); [L998] FCALL call write~$Pointer$(#t~malloc2, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call #t~mem3 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call write~$Pointer$(~x~0, { base: #t~mem3!base, offset: 4 + #t~mem3!offset }, 4); [L999] havoc #t~mem3; [L1000] FCALL call #t~mem4 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1000] ~x~0 := #t~mem4; [L1000] havoc #t~mem4; [L1001] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet5=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1003-L1006] COND TRUE 0 != #t~nondet5 [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1008-L1011] COND TRUE 0 != ~marked~0 [L1009] FCALL call write~int(1, { base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet1=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995-L1012] COND TRUE !(0 != #t~nondet1 || 0 == ~marked~0) [L995] havoc #t~nondet1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1014] ~x~0 := ~head~0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1016] COND FALSE !(!({ base: 0, offset: 0 } != ~x~0)) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1017] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] FCALL call #t~mem6 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] #t~short9 := #t~mem6 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~short9=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] COND TRUE #t~short9 [L1019] FCALL call #t~mem7 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] FCALL call #t~mem8 := read~int({ base: #t~mem7!base, offset: 8 + #t~mem7!offset }, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~mem7!base=19, #t~mem7!offset=0, #t~mem8=1, #t~short9=false, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019-L1022] COND TRUE !#t~short9 [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7; [L1019] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] FCALL call #t~mem11 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1024] #t~short13 := #t~mem11 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] COND TRUE #t~short13 [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~nondet12=1, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024-L1028] COND FALSE !(!#t~short13) [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11; [L1024] havoc #t~short13; [L1026] FCALL call #t~mem14 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1026] ~x~0 := #t~mem14; [L1026] havoc #t~mem14; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] FCALL call #t~mem15 := read~int({ base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem15=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] COND TRUE !(1 != #t~mem15) [L1027] havoc #t~mem15; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] assert false; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=23, #NULL!offset=13, old(#NULL!base)=23, old(#NULL!offset)=13] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=23, old(#NULL!offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L986] FCALL call #t~malloc0 := #Ultimate.alloc(12); [L986] ~head~0 := #t~malloc0; [L987] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: ~head~0!offset }, 4); [L988] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: 4 + ~head~0!offset }, 4); [L989] FCALL call write~int(0, { base: ~head~0!base, offset: 8 + ~head~0!offset }, 4); [L991] ~x~0 := ~head~0; [L992] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~nondet1=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995-L1012] COND FALSE !(!(0 != #t~nondet1 || 0 == ~marked~0)) [L995] havoc #t~nondet1; [L998] FCALL call #t~malloc2 := #Ultimate.alloc(12); [L998] FCALL call write~$Pointer$(#t~malloc2, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call #t~mem3 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call write~$Pointer$(~x~0, { base: #t~mem3!base, offset: 4 + #t~mem3!offset }, 4); [L999] havoc #t~mem3; [L1000] FCALL call #t~mem4 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1000] ~x~0 := #t~mem4; [L1000] havoc #t~mem4; [L1001] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet5=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1003-L1006] COND TRUE 0 != #t~nondet5 [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1008-L1011] COND TRUE 0 != ~marked~0 [L1009] FCALL call write~int(1, { base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet1=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995-L1012] COND TRUE !(0 != #t~nondet1 || 0 == ~marked~0) [L995] havoc #t~nondet1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1014] ~x~0 := ~head~0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1016] COND FALSE !(!({ base: 0, offset: 0 } != ~x~0)) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1017] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] FCALL call #t~mem6 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] #t~short9 := #t~mem6 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~short9=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] COND TRUE #t~short9 [L1019] FCALL call #t~mem7 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] FCALL call #t~mem8 := read~int({ base: #t~mem7!base, offset: 8 + #t~mem7!offset }, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~mem7!base=19, #t~mem7!offset=0, #t~mem8=1, #t~short9=false, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019-L1022] COND TRUE !#t~short9 [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7; [L1019] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] FCALL call #t~mem11 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1024] #t~short13 := #t~mem11 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] COND TRUE #t~short13 [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~nondet12=1, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024-L1028] COND FALSE !(!#t~short13) [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11; [L1024] havoc #t~short13; [L1026] FCALL call #t~mem14 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1026] ~x~0 := #t~mem14; [L1026] havoc #t~mem14; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] FCALL call #t~mem15 := read~int({ base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem15=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] COND TRUE !(1 != #t~mem15) [L1027] havoc #t~mem15; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] assert false; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=23, #NULL!offset=13, old(#NULL!base)=23, old(#NULL!offset)=13] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=23, old(#NULL!offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L986] FCALL call #t~malloc0 := #Ultimate.alloc(12); [L986] ~head~0 := #t~malloc0; [L987] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: ~head~0!offset }, 4); [L988] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: 4 + ~head~0!offset }, 4); [L989] FCALL call write~int(0, { base: ~head~0!base, offset: 8 + ~head~0!offset }, 4); [L991] ~x~0 := ~head~0; [L992] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~nondet1=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995-L1012] COND FALSE !(!(0 != #t~nondet1 || 0 == ~marked~0)) [L995] havoc #t~nondet1; [L998] FCALL call #t~malloc2 := #Ultimate.alloc(12); [L998] FCALL call write~$Pointer$(#t~malloc2, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call #t~mem3 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call write~$Pointer$(~x~0, { base: #t~mem3!base, offset: 4 + #t~mem3!offset }, 4); [L999] havoc #t~mem3; [L1000] FCALL call #t~mem4 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1000] ~x~0 := #t~mem4; [L1000] havoc #t~mem4; [L1001] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet5=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1003-L1006] COND TRUE 0 != #t~nondet5 [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1008-L1011] COND TRUE 0 != ~marked~0 [L1009] FCALL call write~int(1, { base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet1=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995-L1012] COND TRUE !(0 != #t~nondet1 || 0 == ~marked~0) [L995] havoc #t~nondet1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1014] ~x~0 := ~head~0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1016] COND FALSE !(!({ base: 0, offset: 0 } != ~x~0)) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1017] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] FCALL call #t~mem6 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] #t~short9 := #t~mem6 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~short9=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] COND TRUE #t~short9 [L1019] FCALL call #t~mem7 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] FCALL call #t~mem8 := read~int({ base: #t~mem7!base, offset: 8 + #t~mem7!offset }, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~mem7!base=19, #t~mem7!offset=0, #t~mem8=1, #t~short9=false, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019-L1022] COND TRUE !#t~short9 [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7; [L1019] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] FCALL call #t~mem11 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1024] #t~short13 := #t~mem11 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] COND TRUE #t~short13 [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~nondet12=1, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024-L1028] COND FALSE !(!#t~short13) [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11; [L1024] havoc #t~short13; [L1026] FCALL call #t~mem14 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1026] ~x~0 := #t~mem14; [L1026] havoc #t~mem14; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] FCALL call #t~mem15 := read~int({ base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem15=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] COND TRUE !(1 != #t~mem15) [L1027] havoc #t~mem15; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] assert false; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L986] SLL* head = malloc(sizeof(SLL)); [L987] head->next = ((void*)0) [L988] head->prev = ((void*)0) [L989] head->data = 0 [L991] SLL* x = head; [L992] int marked = 0; VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, marked=0, x={21:0}] [L995] COND TRUE __VERIFIER_nondet_int() || !marked [L998] x->next = malloc(sizeof(SLL)) [L999] EXPR x->next [L999] x->next->prev = x [L1000] EXPR x->next [L1000] x = x->next [L1001] x->next = ((void*)0) [L1003] COND TRUE __VERIFIER_nondet_int() [L1005] marked = 1 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={19:0}] [L1008] COND TRUE \read(marked) [L1009] x->data = 1 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={19:0}] [L995] COND FALSE !(__VERIFIER_nondet_int() || !marked) [L1014] x = head VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={21:0}] [L1016] COND FALSE !(!(((void*)0) != x)) VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={21:0}] [L1017] marked = 0 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={21:0}] [L1019] EXPR x->next [L1019] x->next != ((void*)0) && x->next->data == 0 [L1019] EXPR x->next [L1019] EXPR x->next->data [L1019] x->next != ((void*)0) && x->next->data == 0 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={21:0}, x->next={19:0}, x->next={19:0}, x->next != ((void*)0) && x->next->data == 0=0, x->next->data=1] [L1019] COND FALSE !(x->next != ((void*)0) && x->next->data == 0) [L1024] EXPR x->next [L1024] x->next != ((void*)0) && __VERIFIER_nondet_int() [L1024] x->next != ((void*)0) && __VERIFIER_nondet_int() VAL [__VERIFIER_nondet_int()=1, head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={21:0}, x->next={19:0}, x->next != ((void*)0) && __VERIFIER_nondet_int()=1] [L1024] COND TRUE x->next != ((void*)0) && __VERIFIER_nondet_int() [L1026] EXPR x->next [L1026] x = x->next [L1027] EXPR x->data VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={19:0}, x->data=1] [L1027] COND TRUE !(x->data != 1) [L1027] __VERIFIER_error() VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={19:0}] ----- [2018-11-23 11:51:12,685 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 11:51:12 BoogieIcfgContainer [2018-11-23 11:51:12,685 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 11:51:12,685 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:51:12,685 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:51:12,685 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:51:12,686 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:51:12" (3/4) ... [2018-11-23 11:51:12,688 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|=23, |#NULL.offset|=13, |old(#NULL.base)|=23, |old(#NULL.offset)|=13] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=23, |old(#NULL.offset)|=13] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=23, |old(#NULL.offset)|=13] [?] RET #235#return; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret29 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(12);~head~0.base, ~head~0.offset := #t~malloc0.base, #t~malloc0.offset;call write~$Pointer$(0, 0, ~head~0.base, ~head~0.offset, 4);call write~$Pointer$(0, 0, ~head~0.base, 4 + ~head~0.offset, 4);call write~int(0, ~head~0.base, 8 + ~head~0.offset, 4);~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset;~marked~0 := 0; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0] [?] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~nondet1|=1] [?] assume !!(0 != #t~nondet1 || 0 == ~marked~0);havoc #t~nondet1;call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(12);call write~$Pointer$(#t~malloc2.base, #t~malloc2.offset, ~x~0.base, ~x~0.offset, 4);call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);call write~$Pointer$(~x~0.base, ~x~0.offset, #t~mem3.base, 4 + #t~mem3.offset, 4);havoc #t~mem3.base, #t~mem3.offset;call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);~x~0.base, ~x~0.offset := #t~mem4.base, #t~mem4.offset;havoc #t~mem4.base, #t~mem4.offset;call write~$Pointer$(0, 0, ~x~0.base, ~x~0.offset, 4);assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~nondet5|=1] [?] assume 0 != #t~nondet5;havoc #t~nondet5;~marked~0 := 1; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] assume 0 != ~marked~0;call write~int(1, ~x~0.base, 8 + ~x~0.offset, 4); VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~nondet1|=0] [?] assume !(0 != #t~nondet1 || 0 == ~marked~0);havoc #t~nondet1; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] assume !!(0 != ~x~0.base || 0 != ~x~0.offset); VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] goto; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=1, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] ~marked~0 := 0; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);#t~short9 := #t~mem6.base != 0 || #t~mem6.offset != 0; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem6.base|=19, |main_#t~mem6.offset|=0, |main_#t~short9|=true] [?] assume #t~short9;call #t~mem7.base, #t~mem7.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);call #t~mem8 := read~int(#t~mem7.base, 8 + #t~mem7.offset, 4);#t~short9 := 0 == #t~mem8; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem6.base|=19, |main_#t~mem6.offset|=0, |main_#t~mem7.base|=19, |main_#t~mem7.offset|=0, |main_#t~mem8|=1, |main_#t~short9|=false] [?] assume !#t~short9;havoc #t~mem8;havoc #t~short9;havoc #t~mem7.base, #t~mem7.offset;havoc #t~mem6.base, #t~mem6.offset; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] call #t~mem11.base, #t~mem11.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);#t~short13 := #t~mem11.base != 0 || #t~mem11.offset != 0; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem11.base|=19, |main_#t~mem11.offset|=0, |main_#t~short13|=true] [?] assume #t~short13;assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647;#t~short13 := 0 != #t~nondet12; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=21, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem11.base|=19, |main_#t~mem11.offset|=0, |main_#t~nondet12|=1, |main_#t~short13|=true] [?] assume !!#t~short13;havoc #t~nondet12;havoc #t~mem11.base, #t~mem11.offset;havoc #t~short13;call #t~mem14.base, #t~mem14.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4);~x~0.base, ~x~0.offset := #t~mem14.base, #t~mem14.offset;havoc #t~mem14.base, #t~mem14.offset; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] call #t~mem15 := read~int(~x~0.base, 8 + ~x~0.offset, 4); VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0, |main_#t~mem15|=1] [?] assume !(1 != #t~mem15);havoc #t~mem15; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] assume !false; VAL [main_~head~0.base=21, main_~head~0.offset=0, main_~marked~0=0, main_~x~0.base=19, main_~x~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc0.base|=21, |main_#t~malloc0.offset|=0, |main_#t~malloc2.base|=19, |main_#t~malloc2.offset|=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=23, #NULL.offset=13, old(#NULL.base)=23, old(#NULL.offset)=13] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=23, old(#NULL.offset)=13] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=23, old(#NULL.offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L986] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(12); [L986] ~head~0.base, ~head~0.offset := #t~malloc0.base, #t~malloc0.offset; [L987] call write~$Pointer$(0, 0, ~head~0.base, ~head~0.offset, 4); [L988] call write~$Pointer$(0, 0, ~head~0.base, 4 + ~head~0.offset, 4); [L989] call write~int(0, ~head~0.base, 8 + ~head~0.offset, 4); [L991] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; [L992] ~marked~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~nondet1=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L995-L1012] assume !!(0 != #t~nondet1 || 0 == ~marked~0); [L995] havoc #t~nondet1; [L998] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(12); [L998] call write~$Pointer$(#t~malloc2.base, #t~malloc2.offset, ~x~0.base, ~x~0.offset, 4); [L999] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L999] call write~$Pointer$(~x~0.base, ~x~0.offset, #t~mem3.base, 4 + #t~mem3.offset, 4); [L999] havoc #t~mem3.base, #t~mem3.offset; [L1000] call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1000] ~x~0.base, ~x~0.offset := #t~mem4.base, #t~mem4.offset; [L1000] havoc #t~mem4.base, #t~mem4.offset; [L1001] call write~$Pointer$(0, 0, ~x~0.base, ~x~0.offset, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~nondet5=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1003-L1006] assume 0 != #t~nondet5; [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L1008-L1011] assume 0 != ~marked~0; [L1009] call write~int(1, ~x~0.base, 8 + ~x~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~nondet1=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L995-L1012] assume !(0 != #t~nondet1 || 0 == ~marked~0); [L995] havoc #t~nondet1; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L1014] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=21, ~x~0.offset=0] [L1016] assume !!(0 != ~x~0.base || 0 != ~x~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=21, ~x~0.offset=0] [L1017] ~marked~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1019] #t~short9 := #t~mem6.base != 0 || #t~mem6.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem6.base=19, #t~mem6.offset=0, #t~short9=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019] assume #t~short9; [L1019] call #t~mem7.base, #t~mem7.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1019] call #t~mem8 := read~int(#t~mem7.base, 8 + #t~mem7.offset, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem6.base=19, #t~mem6.offset=0, #t~mem7.base=19, #t~mem7.offset=0, #t~mem8=1, #t~short9=false, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019-L1022] assume !#t~short9; [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7.base, #t~mem7.offset; [L1019] havoc #t~mem6.base, #t~mem6.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024] call #t~mem11.base, #t~mem11.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1024] #t~short13 := #t~mem11.base != 0 || #t~mem11.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem11.base=19, #t~mem11.offset=0, #t~short13=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024] assume #t~short13; [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem11.base=19, #t~mem11.offset=0, #t~nondet12=1, #t~short13=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024-L1028] assume !!#t~short13; [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11.base, #t~mem11.offset; [L1024] havoc #t~short13; [L1026] call #t~mem14.base, #t~mem14.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1026] ~x~0.base, ~x~0.offset := #t~mem14.base, #t~mem14.offset; [L1026] havoc #t~mem14.base, #t~mem14.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] call #t~mem15 := read~int(~x~0.base, 8 + ~x~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem15=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] assume !(1 != #t~mem15); [L1027] havoc #t~mem15; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] assert false; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=23, #NULL.offset=13, old(#NULL.base)=23, old(#NULL.offset)=13] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=23, old(#NULL.offset)=13] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=23, old(#NULL.offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L986] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(12); [L986] ~head~0.base, ~head~0.offset := #t~malloc0.base, #t~malloc0.offset; [L987] call write~$Pointer$(0, 0, ~head~0.base, ~head~0.offset, 4); [L988] call write~$Pointer$(0, 0, ~head~0.base, 4 + ~head~0.offset, 4); [L989] call write~int(0, ~head~0.base, 8 + ~head~0.offset, 4); [L991] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; [L992] ~marked~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~nondet1=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L995-L1012] assume !!(0 != #t~nondet1 || 0 == ~marked~0); [L995] havoc #t~nondet1; [L998] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(12); [L998] call write~$Pointer$(#t~malloc2.base, #t~malloc2.offset, ~x~0.base, ~x~0.offset, 4); [L999] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L999] call write~$Pointer$(~x~0.base, ~x~0.offset, #t~mem3.base, 4 + #t~mem3.offset, 4); [L999] havoc #t~mem3.base, #t~mem3.offset; [L1000] call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1000] ~x~0.base, ~x~0.offset := #t~mem4.base, #t~mem4.offset; [L1000] havoc #t~mem4.base, #t~mem4.offset; [L1001] call write~$Pointer$(0, 0, ~x~0.base, ~x~0.offset, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~nondet5=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1003-L1006] assume 0 != #t~nondet5; [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L1008-L1011] assume 0 != ~marked~0; [L1009] call write~int(1, ~x~0.base, 8 + ~x~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~nondet1=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L995-L1012] assume !(0 != #t~nondet1 || 0 == ~marked~0); [L995] havoc #t~nondet1; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=19, ~x~0.offset=0] [L1014] ~x~0.base, ~x~0.offset := ~head~0.base, ~head~0.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=21, ~x~0.offset=0] [L1016] assume !!(0 != ~x~0.base || 0 != ~x~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=1, ~x~0.base=21, ~x~0.offset=0] [L1017] ~marked~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1019] #t~short9 := #t~mem6.base != 0 || #t~mem6.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem6.base=19, #t~mem6.offset=0, #t~short9=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019] assume #t~short9; [L1019] call #t~mem7.base, #t~mem7.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1019] call #t~mem8 := read~int(#t~mem7.base, 8 + #t~mem7.offset, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem6.base=19, #t~mem6.offset=0, #t~mem7.base=19, #t~mem7.offset=0, #t~mem8=1, #t~short9=false, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1019-L1022] assume !#t~short9; [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7.base, #t~mem7.offset; [L1019] havoc #t~mem6.base, #t~mem6.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024] call #t~mem11.base, #t~mem11.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1024] #t~short13 := #t~mem11.base != 0 || #t~mem11.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem11.base=19, #t~mem11.offset=0, #t~short13=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024] assume #t~short13; [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem11.base=19, #t~mem11.offset=0, #t~nondet12=1, #t~short13=true, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=21, ~x~0.offset=0] [L1024-L1028] assume !!#t~short13; [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11.base, #t~mem11.offset; [L1024] havoc #t~short13; [L1026] call #t~mem14.base, #t~mem14.offset := read~$Pointer$(~x~0.base, ~x~0.offset, 4); [L1026] ~x~0.base, ~x~0.offset := #t~mem14.base, #t~mem14.offset; [L1026] havoc #t~mem14.base, #t~mem14.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] call #t~mem15 := read~int(~x~0.base, 8 + ~x~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, #t~mem15=1, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] assume !(1 != #t~mem15); [L1027] havoc #t~mem15; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [L1027] assert false; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc0.base=21, #t~malloc0.offset=0, #t~malloc2.base=19, #t~malloc2.offset=0, ~head~0.base=21, ~head~0.offset=0, ~marked~0=0, ~x~0.base=19, ~x~0.offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=23, #NULL!offset=13, old(#NULL!base)=23, old(#NULL!offset)=13] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=23, old(#NULL!offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L986] FCALL call #t~malloc0 := #Ultimate.alloc(12); [L986] ~head~0 := #t~malloc0; [L987] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: ~head~0!offset }, 4); [L988] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: 4 + ~head~0!offset }, 4); [L989] FCALL call write~int(0, { base: ~head~0!base, offset: 8 + ~head~0!offset }, 4); [L991] ~x~0 := ~head~0; [L992] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~nondet1=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995-L1012] COND FALSE !(!(0 != #t~nondet1 || 0 == ~marked~0)) [L995] havoc #t~nondet1; [L998] FCALL call #t~malloc2 := #Ultimate.alloc(12); [L998] FCALL call write~$Pointer$(#t~malloc2, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call #t~mem3 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call write~$Pointer$(~x~0, { base: #t~mem3!base, offset: 4 + #t~mem3!offset }, 4); [L999] havoc #t~mem3; [L1000] FCALL call #t~mem4 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1000] ~x~0 := #t~mem4; [L1000] havoc #t~mem4; [L1001] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet5=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1003-L1006] COND TRUE 0 != #t~nondet5 [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1008-L1011] COND TRUE 0 != ~marked~0 [L1009] FCALL call write~int(1, { base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet1=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995-L1012] COND TRUE !(0 != #t~nondet1 || 0 == ~marked~0) [L995] havoc #t~nondet1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1014] ~x~0 := ~head~0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1016] COND FALSE !(!({ base: 0, offset: 0 } != ~x~0)) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1017] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] FCALL call #t~mem6 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] #t~short9 := #t~mem6 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~short9=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] COND TRUE #t~short9 [L1019] FCALL call #t~mem7 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] FCALL call #t~mem8 := read~int({ base: #t~mem7!base, offset: 8 + #t~mem7!offset }, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~mem7!base=19, #t~mem7!offset=0, #t~mem8=1, #t~short9=false, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019-L1022] COND TRUE !#t~short9 [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7; [L1019] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] FCALL call #t~mem11 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1024] #t~short13 := #t~mem11 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] COND TRUE #t~short13 [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~nondet12=1, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024-L1028] COND FALSE !(!#t~short13) [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11; [L1024] havoc #t~short13; [L1026] FCALL call #t~mem14 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1026] ~x~0 := #t~mem14; [L1026] havoc #t~mem14; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] FCALL call #t~mem15 := read~int({ base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem15=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] COND TRUE !(1 != #t~mem15) [L1027] havoc #t~mem15; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] assert false; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=23, #NULL!offset=13, old(#NULL!base)=23, old(#NULL!offset)=13] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=23, old(#NULL!offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L986] FCALL call #t~malloc0 := #Ultimate.alloc(12); [L986] ~head~0 := #t~malloc0; [L987] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: ~head~0!offset }, 4); [L988] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: 4 + ~head~0!offset }, 4); [L989] FCALL call write~int(0, { base: ~head~0!base, offset: 8 + ~head~0!offset }, 4); [L991] ~x~0 := ~head~0; [L992] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~nondet1=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995-L1012] COND FALSE !(!(0 != #t~nondet1 || 0 == ~marked~0)) [L995] havoc #t~nondet1; [L998] FCALL call #t~malloc2 := #Ultimate.alloc(12); [L998] FCALL call write~$Pointer$(#t~malloc2, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call #t~mem3 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call write~$Pointer$(~x~0, { base: #t~mem3!base, offset: 4 + #t~mem3!offset }, 4); [L999] havoc #t~mem3; [L1000] FCALL call #t~mem4 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1000] ~x~0 := #t~mem4; [L1000] havoc #t~mem4; [L1001] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet5=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1003-L1006] COND TRUE 0 != #t~nondet5 [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1008-L1011] COND TRUE 0 != ~marked~0 [L1009] FCALL call write~int(1, { base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet1=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995-L1012] COND TRUE !(0 != #t~nondet1 || 0 == ~marked~0) [L995] havoc #t~nondet1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1014] ~x~0 := ~head~0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1016] COND FALSE !(!({ base: 0, offset: 0 } != ~x~0)) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1017] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] FCALL call #t~mem6 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] #t~short9 := #t~mem6 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~short9=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] COND TRUE #t~short9 [L1019] FCALL call #t~mem7 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] FCALL call #t~mem8 := read~int({ base: #t~mem7!base, offset: 8 + #t~mem7!offset }, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~mem7!base=19, #t~mem7!offset=0, #t~mem8=1, #t~short9=false, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019-L1022] COND TRUE !#t~short9 [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7; [L1019] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] FCALL call #t~mem11 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1024] #t~short13 := #t~mem11 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] COND TRUE #t~short13 [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~nondet12=1, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024-L1028] COND FALSE !(!#t~short13) [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11; [L1024] havoc #t~short13; [L1026] FCALL call #t~mem14 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1026] ~x~0 := #t~mem14; [L1026] havoc #t~mem14; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] FCALL call #t~mem15 := read~int({ base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem15=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] COND TRUE !(1 != #t~mem15) [L1027] havoc #t~mem15; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] assert false; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=23, #NULL!offset=13, old(#NULL!base)=23, old(#NULL!offset)=13] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=23, old(#NULL!offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L986] FCALL call #t~malloc0 := #Ultimate.alloc(12); [L986] ~head~0 := #t~malloc0; [L987] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: ~head~0!offset }, 4); [L988] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: 4 + ~head~0!offset }, 4); [L989] FCALL call write~int(0, { base: ~head~0!base, offset: 8 + ~head~0!offset }, 4); [L991] ~x~0 := ~head~0; [L992] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~nondet1=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995-L1012] COND FALSE !(!(0 != #t~nondet1 || 0 == ~marked~0)) [L995] havoc #t~nondet1; [L998] FCALL call #t~malloc2 := #Ultimate.alloc(12); [L998] FCALL call write~$Pointer$(#t~malloc2, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call #t~mem3 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call write~$Pointer$(~x~0, { base: #t~mem3!base, offset: 4 + #t~mem3!offset }, 4); [L999] havoc #t~mem3; [L1000] FCALL call #t~mem4 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1000] ~x~0 := #t~mem4; [L1000] havoc #t~mem4; [L1001] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet5=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1003-L1006] COND TRUE 0 != #t~nondet5 [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1008-L1011] COND TRUE 0 != ~marked~0 [L1009] FCALL call write~int(1, { base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet1=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995-L1012] COND TRUE !(0 != #t~nondet1 || 0 == ~marked~0) [L995] havoc #t~nondet1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1014] ~x~0 := ~head~0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1016] COND FALSE !(!({ base: 0, offset: 0 } != ~x~0)) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1017] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] FCALL call #t~mem6 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] #t~short9 := #t~mem6 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~short9=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] COND TRUE #t~short9 [L1019] FCALL call #t~mem7 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] FCALL call #t~mem8 := read~int({ base: #t~mem7!base, offset: 8 + #t~mem7!offset }, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~mem7!base=19, #t~mem7!offset=0, #t~mem8=1, #t~short9=false, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019-L1022] COND TRUE !#t~short9 [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7; [L1019] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] FCALL call #t~mem11 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1024] #t~short13 := #t~mem11 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] COND TRUE #t~short13 [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~nondet12=1, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024-L1028] COND FALSE !(!#t~short13) [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11; [L1024] havoc #t~short13; [L1026] FCALL call #t~mem14 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1026] ~x~0 := #t~mem14; [L1026] havoc #t~mem14; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] FCALL call #t~mem15 := read~int({ base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem15=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] COND TRUE !(1 != #t~mem15) [L1027] havoc #t~mem15; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] assert false; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=23, #NULL!offset=13, old(#NULL!base)=23, old(#NULL!offset)=13] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=23, old(#NULL!offset)=13] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L986] FCALL call #t~malloc0 := #Ultimate.alloc(12); [L986] ~head~0 := #t~malloc0; [L987] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: ~head~0!offset }, 4); [L988] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~head~0!base, offset: 4 + ~head~0!offset }, 4); [L989] FCALL call write~int(0, { base: ~head~0!base, offset: 8 + ~head~0!offset }, 4); [L991] ~x~0 := ~head~0; [L992] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~nondet1=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L995-L1012] COND FALSE !(!(0 != #t~nondet1 || 0 == ~marked~0)) [L995] havoc #t~nondet1; [L998] FCALL call #t~malloc2 := #Ultimate.alloc(12); [L998] FCALL call write~$Pointer$(#t~malloc2, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call #t~mem3 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L999] FCALL call write~$Pointer$(~x~0, { base: #t~mem3!base, offset: 4 + #t~mem3!offset }, 4); [L999] havoc #t~mem3; [L1000] FCALL call #t~mem4 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1000] ~x~0 := #t~mem4; [L1000] havoc #t~mem4; [L1001] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~x~0!base, offset: ~x~0!offset }, 4); [L1003] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet5=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1003-L1006] COND TRUE 0 != #t~nondet5 [L1003] havoc #t~nondet5; [L1005] ~marked~0 := 1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1008-L1011] COND TRUE 0 != ~marked~0 [L1009] FCALL call write~int(1, { base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~nondet1=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L995-L1012] COND TRUE !(0 != #t~nondet1 || 0 == ~marked~0) [L995] havoc #t~nondet1; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=19, ~x~0!offset=0] [L1014] ~x~0 := ~head~0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1016] COND FALSE !(!({ base: 0, offset: 0 } != ~x~0)) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=1, ~x~0!base=21, ~x~0!offset=0] [L1017] ~marked~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] FCALL call #t~mem6 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] #t~short9 := #t~mem6 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~short9=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019] COND TRUE #t~short9 [L1019] FCALL call #t~mem7 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1019] FCALL call #t~mem8 := read~int({ base: #t~mem7!base, offset: 8 + #t~mem7!offset }, 4); [L1019] #t~short9 := 0 == #t~mem8; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem6!base=19, #t~mem6!offset=0, #t~mem7!base=19, #t~mem7!offset=0, #t~mem8=1, #t~short9=false, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1019-L1022] COND TRUE !#t~short9 [L1019] havoc #t~mem8; [L1019] havoc #t~short9; [L1019] havoc #t~mem7; [L1019] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] FCALL call #t~mem11 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1024] #t~short13 := #t~mem11 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024] COND TRUE #t~short13 [L1024] assume -2147483648 <= #t~nondet12 && #t~nondet12 <= 2147483647; [L1024] #t~short13 := 0 != #t~nondet12; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem11!base=19, #t~mem11!offset=0, #t~nondet12=1, #t~short13=true, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=21, ~x~0!offset=0] [L1024-L1028] COND FALSE !(!#t~short13) [L1024] havoc #t~nondet12; [L1024] havoc #t~mem11; [L1024] havoc #t~short13; [L1026] FCALL call #t~mem14 := read~$Pointer$({ base: ~x~0!base, offset: ~x~0!offset }, 4); [L1026] ~x~0 := #t~mem14; [L1026] havoc #t~mem14; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] FCALL call #t~mem15 := read~int({ base: ~x~0!base, offset: 8 + ~x~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, #t~mem15=1, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] COND TRUE !(1 != #t~mem15) [L1027] havoc #t~mem15; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L1027] assert false; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc0!base=21, #t~malloc0!offset=0, #t~malloc2!base=19, #t~malloc2!offset=0, ~head~0!base=21, ~head~0!offset=0, ~marked~0=0, ~x~0!base=19, ~x~0!offset=0] [L986] SLL* head = malloc(sizeof(SLL)); [L987] head->next = ((void*)0) [L988] head->prev = ((void*)0) [L989] head->data = 0 [L991] SLL* x = head; [L992] int marked = 0; VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, marked=0, x={21:0}] [L995] COND TRUE __VERIFIER_nondet_int() || !marked [L998] x->next = malloc(sizeof(SLL)) [L999] EXPR x->next [L999] x->next->prev = x [L1000] EXPR x->next [L1000] x = x->next [L1001] x->next = ((void*)0) [L1003] COND TRUE __VERIFIER_nondet_int() [L1005] marked = 1 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={19:0}] [L1008] COND TRUE \read(marked) [L1009] x->data = 1 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={19:0}] [L995] COND FALSE !(__VERIFIER_nondet_int() || !marked) [L1014] x = head VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={21:0}] [L1016] COND FALSE !(!(((void*)0) != x)) VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={21:0}] [L1017] marked = 0 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={21:0}] [L1019] EXPR x->next [L1019] x->next != ((void*)0) && x->next->data == 0 [L1019] EXPR x->next [L1019] EXPR x->next->data [L1019] x->next != ((void*)0) && x->next->data == 0 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={21:0}, x->next={19:0}, x->next={19:0}, x->next != ((void*)0) && x->next->data == 0=0, x->next->data=1] [L1019] COND FALSE !(x->next != ((void*)0) && x->next->data == 0) [L1024] EXPR x->next [L1024] x->next != ((void*)0) && __VERIFIER_nondet_int() [L1024] x->next != ((void*)0) && __VERIFIER_nondet_int() VAL [__VERIFIER_nondet_int()=1, head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={21:0}, x->next={19:0}, x->next != ((void*)0) && __VERIFIER_nondet_int()=1] [L1024] COND TRUE x->next != ((void*)0) && __VERIFIER_nondet_int() [L1026] EXPR x->next [L1026] x = x->next [L1027] EXPR x->data VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={19:0}, x->data=1] [L1027] COND TRUE !(x->data != 1) [L1027] __VERIFIER_error() VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={19:0}] ----- [2018-11-23 11:51:12,791 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_7140f338-3941-4f33-b372-da9534d6878c/bin-2019/uautomizer/witness.graphml [2018-11-23 11:51:12,791 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:51:12,792 INFO L168 Benchmark]: Toolchain (without parser) took 1587.31 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.8 MB). Free memory was 956.6 MB in the beginning and 1.0 GB in the end (delta: -70.7 MB). Peak memory consumption was 76.1 MB. Max. memory is 11.5 GB. [2018-11-23 11:51:12,793 INFO L168 Benchmark]: CDTParser took 0.14 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 11:51:12,793 INFO L168 Benchmark]: CACSL2BoogieTranslator took 348.76 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.8 MB). Free memory was 956.6 MB in the beginning and 1.1 GB in the end (delta: -179.0 MB). Peak memory consumption was 29.1 MB. Max. memory is 11.5 GB. [2018-11-23 11:51:12,794 INFO L168 Benchmark]: Boogie Procedure Inliner took 24.83 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 11:51:12,794 INFO L168 Benchmark]: Boogie Preprocessor took 24.80 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 11:51:12,795 INFO L168 Benchmark]: RCFGBuilder took 402.37 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: 33.1 MB). Peak memory consumption was 33.1 MB. Max. memory is 11.5 GB. [2018-11-23 11:51:12,795 INFO L168 Benchmark]: TraceAbstraction took 677.41 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 61.8 MB). Peak memory consumption was 61.8 MB. Max. memory is 11.5 GB. [2018-11-23 11:51:12,795 INFO L168 Benchmark]: Witness Printer took 106.04 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 1.0 GB in the end (delta: 8.1 MB). Peak memory consumption was 8.1 MB. Max. memory is 11.5 GB. [2018-11-23 11:51:12,798 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.14 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 348.76 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.8 MB). Free memory was 956.6 MB in the beginning and 1.1 GB in the end (delta: -179.0 MB). Peak memory consumption was 29.1 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 24.83 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.80 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 402.37 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: 33.1 MB). Peak memory consumption was 33.1 MB. Max. memory is 11.5 GB. * TraceAbstraction took 677.41 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 61.8 MB). Peak memory consumption was 61.8 MB. Max. memory is 11.5 GB. * Witness Printer took 106.04 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 1.0 GB in the end (delta: 8.1 MB). Peak memory consumption was 8.1 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 1027]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L986] SLL* head = malloc(sizeof(SLL)); [L987] head->next = ((void*)0) [L988] head->prev = ((void*)0) [L989] head->data = 0 [L991] SLL* x = head; [L992] int marked = 0; VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, marked=0, x={21:0}] [L995] COND TRUE __VERIFIER_nondet_int() || !marked [L998] x->next = malloc(sizeof(SLL)) [L999] EXPR x->next [L999] x->next->prev = x [L1000] EXPR x->next [L1000] x = x->next [L1001] x->next = ((void*)0) [L1003] COND TRUE __VERIFIER_nondet_int() [L1005] marked = 1 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={19:0}] [L1008] COND TRUE \read(marked) [L1009] x->data = 1 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={19:0}] [L995] COND FALSE !(__VERIFIER_nondet_int() || !marked) [L1014] x = head VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={21:0}] [L1016] COND FALSE !(!(((void*)0) != x)) VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=1, x={21:0}] [L1017] marked = 0 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={21:0}] [L1019] EXPR x->next [L1019] x->next != ((void*)0) && x->next->data == 0 [L1019] EXPR x->next [L1019] EXPR x->next->data [L1019] x->next != ((void*)0) && x->next->data == 0 VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={21:0}, x->next={19:0}, x->next={19:0}, x->next != ((void*)0) && x->next->data == 0=0, x->next->data=1] [L1019] COND FALSE !(x->next != ((void*)0) && x->next->data == 0) [L1024] EXPR x->next [L1024] x->next != ((void*)0) && __VERIFIER_nondet_int() [L1024] x->next != ((void*)0) && __VERIFIER_nondet_int() VAL [__VERIFIER_nondet_int()=1, head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={21:0}, x->next={19:0}, x->next != ((void*)0) && __VERIFIER_nondet_int()=1] [L1024] COND TRUE x->next != ((void*)0) && __VERIFIER_nondet_int() [L1026] EXPR x->next [L1026] x = x->next [L1027] EXPR x->data VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={19:0}, x->data=1] [L1027] COND TRUE !(x->data != 1) [L1027] __VERIFIER_error() VAL [head={21:0}, malloc(sizeof(SLL))={21:0}, malloc(sizeof(SLL))={19:0}, marked=0, x={19:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 61 locations, 6 error locations. UNSAFE Result, 0.6s OverallTime, 4 OverallIterations, 2 TraceHistogramMax, 0.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 175 SDtfs, 155 SDslu, 63 SDs, 0 SdLazy, 50 SolverSat, 15 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 10 GetRequests, 6 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=61occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 34 StatesRemovedByMinimization, 2 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 61 NumberOfCodeBlocks, 61 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 33 ConstructedInterpolants, 0 QuantifiedInterpolants, 753 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 2/2 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...