java -ea -Xmx8000000000 -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc ../../../trunk/examples/toolchains/AutomizerCInline_WitnessPrinter.xml -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Bitvector.epf -i ../../../trunk/examples/svcomp/ldv-regression/recursive_list_true-termination.c_false-unreach-call.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-61f4311 [2018-11-23 11:06:10,839 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:06:10,841 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:06:10,853 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:06:10,854 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:06:10,855 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:06:10,856 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:06:10,858 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:06:10,859 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:06:10,860 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:06:10,861 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:06:10,861 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:06:10,862 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:06:10,863 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:06:10,864 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:06:10,865 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:06:10,866 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:06:10,868 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:06:10,870 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:06:10,872 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:06:10,873 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:06:10,874 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:06:10,876 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:06:10,877 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:06:10,877 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:06:10,878 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:06:10,879 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:06:10,880 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:06:10,880 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:06:10,882 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:06:10,882 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:06:10,882 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:06:10,883 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:06:10,883 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:06:10,884 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:06:10,885 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:06:10,885 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Bitvector.epf [2018-11-23 11:06:10,903 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:06:10,903 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:06:10,905 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 11:06:10,905 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 11:06:10,906 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:06:10,906 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:06:10,906 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:06:10,906 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:06:10,907 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:06:10,907 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:06:10,907 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:06:10,907 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 11:06:10,907 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 11:06:10,908 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 11:06:10,908 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 11:06:10,908 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 11:06:10,908 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:06:10,908 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:06:10,909 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:06:10,909 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 11:06:10,909 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:06:10,909 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:06:10,909 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 11:06:10,910 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 11:06:10,910 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:06:10,910 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:06:10,910 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 11:06:10,910 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 11:06:10,911 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 11:06:10,911 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 11:06:10,911 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 11:06:10,911 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 11:06:10,911 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 11:06:10,956 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:06:10,970 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:06:10,973 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:06:10,975 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:06:10,975 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:06:10,976 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-regression/recursive_list_true-termination.c_false-unreach-call.i [2018-11-23 11:06:11,035 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c7eb433c9/f504e5fb1c9d4c15990ac36e855c8148/FLAG849ba2b15 [2018-11-23 11:06:11,478 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:06:11,479 INFO L161 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-regression/recursive_list_true-termination.c_false-unreach-call.i [2018-11-23 11:06:11,485 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c7eb433c9/f504e5fb1c9d4c15990ac36e855c8148/FLAG849ba2b15 [2018-11-23 11:06:11,861 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c7eb433c9/f504e5fb1c9d4c15990ac36e855c8148 [2018-11-23 11:06:11,870 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:06:11,872 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:06:11,873 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:06:11,873 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:06:11,877 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:06:11,878 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:06:11" (1/1) ... [2018-11-23 11:06:11,881 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5bfbb1ef and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:11, skipping insertion in model container [2018-11-23 11:06:11,881 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:06:11" (1/1) ... [2018-11-23 11:06:11,892 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:06:11,917 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:06:12,148 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:06:12,170 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:06:12,192 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:06:12,217 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:06:12,218 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12 WrapperNode [2018-11-23 11:06:12,218 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:06:12,219 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:06:12,219 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:06:12,219 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:06:12,228 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:06:12" (1/1) ... [2018-11-23 11:06:12,237 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:06:12" (1/1) ... [2018-11-23 11:06:12,245 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:06:12,245 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:06:12,245 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:06:12,246 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:06:12,254 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12" (1/1) ... [2018-11-23 11:06:12,254 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12" (1/1) ... [2018-11-23 11:06:12,257 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12" (1/1) ... [2018-11-23 11:06:12,257 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12" (1/1) ... [2018-11-23 11:06:12,271 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12" (1/1) ... [2018-11-23 11:06:12,273 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12" (1/1) ... [2018-11-23 11:06:12,275 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12" (1/1) ... [2018-11-23 11:06:12,277 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:06:12,278 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:06:12,278 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:06:12,278 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:06:12,279 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:06:12,413 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 11:06:12,414 INFO L130 BoogieDeclarations]: Found specification of procedure err [2018-11-23 11:06:12,414 INFO L138 BoogieDeclarations]: Found implementation of procedure err [2018-11-23 11:06:12,414 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 11:06:12,414 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 11:06:12,414 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 11:06:12,415 INFO L130 BoogieDeclarations]: Found specification of procedure allocate_memory [2018-11-23 11:06:12,415 INFO L138 BoogieDeclarations]: Found implementation of procedure allocate_memory [2018-11-23 11:06:12,415 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 11:06:12,415 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 11:06:12,415 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:06:12,415 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 11:06:12,416 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:06:12,416 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:06:12,416 INFO L130 BoogieDeclarations]: Found specification of procedure append [2018-11-23 11:06:12,416 INFO L138 BoogieDeclarations]: Found implementation of procedure append [2018-11-23 11:06:12,416 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 11:06:12,416 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 11:06:13,047 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:06:13,048 INFO L280 CfgBuilder]: Removed 0 assue(true) statements. [2018-11-23 11:06:13,049 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:06:13 BoogieIcfgContainer [2018-11-23 11:06:13,049 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:06:13,050 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 11:06:13,050 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 11:06:13,054 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 11:06:13,054 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 11:06:11" (1/3) ... [2018-11-23 11:06:13,055 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1f0ecf3c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:06:13, skipping insertion in model container [2018-11-23 11:06:13,056 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:06:12" (2/3) ... [2018-11-23 11:06:13,056 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1f0ecf3c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:06:13, skipping insertion in model container [2018-11-23 11:06:13,056 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:06:13" (3/3) ... [2018-11-23 11:06:13,058 INFO L112 eAbstractionObserver]: Analyzing ICFG recursive_list_true-termination.c_false-unreach-call.i [2018-11-23 11:06:13,070 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 11:06:13,081 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 11:06:13,102 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 11:06:13,138 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:06:13,139 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 11:06:13,139 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 11:06:13,139 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 11:06:13,140 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:06:13,140 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:06:13,140 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 11:06:13,141 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:06:13,141 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 11:06:13,163 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states. [2018-11-23 11:06:13,170 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2018-11-23 11:06:13,170 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:06:13,171 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:06:13,173 INFO L423 AbstractCegarLoop]: === Iteration 1 === [errErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:06:13,179 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:06:13,179 INFO L82 PathProgramCache]: Analyzing trace with hash -1107831234, now seen corresponding path program 1 times [2018-11-23 11:06:13,185 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:06:13,186 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 2 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:06:13,211 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:06:13,406 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:06:13,582 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:06:13,709 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~i~0)|=(_ bv0 32), ~i~0=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];~i~0 := 1bv32; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~i~0)|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~i~0)|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #29#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret7 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] havoc ~l~0.base, ~l~0.offset;call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(8bv32);~l~0.base, ~l~0.offset := ~#m~0.base, ~#m~0.offset;call write~$Pointer$(0bv32, 0bv32, ~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32);call write~intINTTYPE4(0bv32, ~l~0.base, ~l~0.offset, 4bv32); VAL [main_~l~0.base=(_ bv4292345375 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), ~i~0=(_ bv1 32)] [?] ~l.base, ~l.offset := #in~l.base, #in~l.offset;~n := #in~n;havoc ~new_el~0.base, ~new_el~0.offset; VAL [append_~l.base=(_ bv4292345375 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);#res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |allocate_memory_#res.base|=(_ bv1076494816 32), |allocate_memory_#res.offset|=(_ bv0 32), |allocate_memory_#t~malloc0.base|=(_ bv1076494816 32), |allocate_memory_#t~malloc0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |allocate_memory_#res.base|=(_ bv1076494816 32), |allocate_memory_#res.offset|=(_ bv0 32), |allocate_memory_#t~malloc0.base|=(_ bv1076494816 32), |allocate_memory_#t~malloc0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #39#return; VAL [append_~l.base=(_ bv4292345375 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), |append_#t~ret1.base|=(_ bv1076494816 32), |append_#t~ret1.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset;havoc #t~ret1.base, #t~ret1.offset;call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32);call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32);#res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [append_~l.base=(_ bv4292345375 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv1 32), append_~new_el~0.base=(_ bv1076494816 32), append_~new_el~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), |append_#res.base|=(_ bv1076494816 32), |append_#res.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [append_~l.base=(_ bv4292345375 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv1 32), append_~new_el~0.base=(_ bv1076494816 32), append_~new_el~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), |append_#res.base|=(_ bv1076494816 32), |append_#res.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #33#return; VAL [main_~l~0.base=(_ bv4292345375 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret2.base|=(_ bv1076494816 32), |main_#t~ret2.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] ~l~0.base, ~l~0.offset := #t~ret2.base, #t~ret2.offset;havoc #t~ret2.base, #t~ret2.offset; VAL [main_~l~0.base=(_ bv1076494816 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), ~i~0=(_ bv1 32)] [?] ~l.base, ~l.offset := #in~l.base, #in~l.offset;~n := #in~n;havoc ~new_el~0.base, ~new_el~0.offset; VAL [append_~l.base=(_ bv1076494816 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv2 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);#res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |allocate_memory_#res.base|=(_ bv2269706252 32), |allocate_memory_#res.offset|=(_ bv0 32), |allocate_memory_#t~malloc0.base|=(_ bv2269706252 32), |allocate_memory_#t~malloc0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |allocate_memory_#res.base|=(_ bv2269706252 32), |allocate_memory_#res.offset|=(_ bv0 32), |allocate_memory_#t~malloc0.base|=(_ bv2269706252 32), |allocate_memory_#t~malloc0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #39#return; VAL [append_~l.base=(_ bv1076494816 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv2 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), |append_#t~ret1.base|=(_ bv2269706252 32), |append_#t~ret1.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset;havoc #t~ret1.base, #t~ret1.offset;call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32);call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32);#res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [append_~l.base=(_ bv1076494816 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv2 32), append_~new_el~0.base=(_ bv2269706252 32), append_~new_el~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), |append_#res.base|=(_ bv2269706252 32), |append_#res.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [append_~l.base=(_ bv1076494816 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv2 32), append_~new_el~0.base=(_ bv2269706252 32), append_~new_el~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), |append_#res.base|=(_ bv2269706252 32), |append_#res.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #35#return; VAL [main_~l~0.base=(_ bv1076494816 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret3.base|=(_ bv2269706252 32), |main_#t~ret3.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] ~l~0.base, ~l~0.offset := #t~ret3.base, #t~ret3.offset;havoc #t~ret3.base, #t~ret3.offset;call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32);call #t~mem5.base, #t~mem5.offset := read~$Pointer$(#t~mem4.base, ~bvadd32(4bv32, #t~mem4.offset), 4bv32);call #t~mem6 := read~intINTTYPE4(#t~mem5.base, #t~mem5.offset, 4bv32); VAL [main_~l~0.base=(_ bv2269706252 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem4.base|=(_ bv1076494816 32), |main_#t~mem4.offset|=(_ bv0 32), |main_#t~mem5.base|=(_ bv4292345375 32), |main_#t~mem5.offset|=(_ bv0 32), |main_#t~mem6|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume 0bv32 == #t~mem6;havoc #t~mem6;havoc #t~mem5.base, #t~mem5.offset;havoc #t~mem4.base, #t~mem4.offset; VAL [main_~l~0.base=(_ bv2269706252 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call err(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume !false; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L17] ~i~0 := 1bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0.base, ~l~0.offset; [L37] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(8bv32); [L38] ~l~0.base, ~l~0.offset := ~#m~0.base, ~#m~0.offset; [L39] call write~$Pointer$(0bv32, 0bv32, ~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32); [L40] call write~intINTTYPE4(0bv32, ~l~0.base, ~l~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=4292345375bv32, ~l~0.offset=0bv32] [L42] CALL call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L23-L33] ~l.base, ~l.offset := #in~l.base, #in~l.offset; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L20] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L20] #res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, #t~malloc0.base=1076494816bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L18-L21] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, #t~malloc0.base=1076494816bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret1.base=1076494816bv32, #t~ret1.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32] [L27] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset; [L27] havoc #t~ret1.base, #t~ret1.offset; [L29] call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32); [L30] call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32); [L32] #res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32, ~new_el~0.base=1076494816bv32, ~new_el~0.offset=0bv32] [L23-L33] ensures true; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32, ~new_el~0.base=1076494816bv32, ~new_el~0.offset=0bv32] [L42] RET call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret2.base=1076494816bv32, #t~ret2.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=4292345375bv32, ~l~0.offset=0bv32] [L42] ~l~0.base, ~l~0.offset := #t~ret2.base, #t~ret2.offset; [L42] havoc #t~ret2.base, #t~ret2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=1076494816bv32, ~l~0.offset=0bv32] [L43] CALL call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L23-L33] ~l.base, ~l.offset := #in~l.base, #in~l.offset; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L20] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L20] #res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, #t~malloc0.base=2269706252bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L18-L21] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, #t~malloc0.base=2269706252bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret1.base=2269706252bv32, #t~ret1.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32] [L27] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset; [L27] havoc #t~ret1.base, #t~ret1.offset; [L29] call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32); [L30] call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32); [L32] #res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32, ~new_el~0.base=2269706252bv32, ~new_el~0.offset=0bv32] [L23-L33] ensures true; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32, ~new_el~0.base=2269706252bv32, ~new_el~0.offset=0bv32] [L43] RET call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret3.base=2269706252bv32, #t~ret3.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=1076494816bv32, ~l~0.offset=0bv32] [L43] ~l~0.base, ~l~0.offset := #t~ret3.base, #t~ret3.offset; [L43] havoc #t~ret3.base, #t~ret3.offset; [L48] call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32); [L48] call #t~mem5.base, #t~mem5.offset := read~$Pointer$(#t~mem4.base, ~bvadd32(4bv32, #t~mem4.offset), 4bv32); [L48] call #t~mem6 := read~intINTTYPE4(#t~mem5.base, #t~mem5.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4.base=1076494816bv32, #t~mem4.offset=0bv32, #t~mem5.base=4292345375bv32, #t~mem5.offset=0bv32, #t~mem6=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=2269706252bv32, ~l~0.offset=0bv32] [L48] assume 0bv32 == #t~mem6; [L48] havoc #t~mem6; [L48] havoc #t~mem5.base, #t~mem5.offset; [L48] havoc #t~mem4.base, #t~mem4.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=2269706252bv32, ~l~0.offset=0bv32] [L48] CALL call err(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L17] ~i~0 := 1bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0.base, ~l~0.offset; [L37] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(8bv32); [L38] ~l~0.base, ~l~0.offset := ~#m~0.base, ~#m~0.offset; [L39] call write~$Pointer$(0bv32, 0bv32, ~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32); [L40] call write~intINTTYPE4(0bv32, ~l~0.base, ~l~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=4292345375bv32, ~l~0.offset=0bv32] [L42] CALL call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L23-L33] ~l.base, ~l.offset := #in~l.base, #in~l.offset; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L20] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L20] #res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, #t~malloc0.base=1076494816bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L18-L21] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, #t~malloc0.base=1076494816bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret1.base=1076494816bv32, #t~ret1.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32] [L27] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset; [L27] havoc #t~ret1.base, #t~ret1.offset; [L29] call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32); [L30] call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32); [L32] #res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32, ~new_el~0.base=1076494816bv32, ~new_el~0.offset=0bv32] [L23-L33] ensures true; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32, ~new_el~0.base=1076494816bv32, ~new_el~0.offset=0bv32] [L42] RET call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret2.base=1076494816bv32, #t~ret2.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=4292345375bv32, ~l~0.offset=0bv32] [L42] ~l~0.base, ~l~0.offset := #t~ret2.base, #t~ret2.offset; [L42] havoc #t~ret2.base, #t~ret2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=1076494816bv32, ~l~0.offset=0bv32] [L43] CALL call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L23-L33] ~l.base, ~l.offset := #in~l.base, #in~l.offset; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L20] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L20] #res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, #t~malloc0.base=2269706252bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L18-L21] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, #t~malloc0.base=2269706252bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret1.base=2269706252bv32, #t~ret1.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32] [L27] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset; [L27] havoc #t~ret1.base, #t~ret1.offset; [L29] call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32); [L30] call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32); [L32] #res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32, ~new_el~0.base=2269706252bv32, ~new_el~0.offset=0bv32] [L23-L33] ensures true; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32, ~new_el~0.base=2269706252bv32, ~new_el~0.offset=0bv32] [L43] RET call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret3.base=2269706252bv32, #t~ret3.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=1076494816bv32, ~l~0.offset=0bv32] [L43] ~l~0.base, ~l~0.offset := #t~ret3.base, #t~ret3.offset; [L43] havoc #t~ret3.base, #t~ret3.offset; [L48] call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32); [L48] call #t~mem5.base, #t~mem5.offset := read~$Pointer$(#t~mem4.base, ~bvadd32(4bv32, #t~mem4.offset), 4bv32); [L48] call #t~mem6 := read~intINTTYPE4(#t~mem5.base, #t~mem5.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4.base=1076494816bv32, #t~mem4.offset=0bv32, #t~mem5.base=4292345375bv32, #t~mem5.offset=0bv32, #t~mem6=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=2269706252bv32, ~l~0.offset=0bv32] [L48] assume 0bv32 == #t~mem6; [L48] havoc #t~mem6; [L48] havoc #t~mem5.base, #t~mem5.offset; [L48] havoc #t~mem4.base, #t~mem4.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=2269706252bv32, ~l~0.offset=0bv32] [L48] CALL call err(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~i~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0; [L37] FCALL call ~#m~0 := #Ultimate.alloc(8bv32); [L38] ~l~0 := ~#m~0; [L39] FCALL call write~$Pointer$({ base: 0bv32, offset: 0bv32 }, { base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L40] FCALL call write~intINTTYPE4(0bv32, { base: ~l~0!base, offset: ~l~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] CALL call #t~ret2 := append(~l~0, 1bv32); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, #t~malloc0!base=1076494816bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=1076494816bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32, ~new_el~0!base=1076494816bv32, ~new_el~0!offset=0bv32] [L42] RET call #t~ret2 := append(~l~0, 1bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret2!base=1076494816bv32, #t~ret2!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] ~l~0 := #t~ret2; [L42] havoc #t~ret2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] CALL call #t~ret3 := append(~l~0, 2bv32); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, #t~malloc0!base=2269706252bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=2269706252bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32, ~new_el~0!base=2269706252bv32, ~new_el~0!offset=0bv32] [L43] RET call #t~ret3 := append(~l~0, 2bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret3!base=2269706252bv32, #t~ret3!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] ~l~0 := #t~ret3; [L43] havoc #t~ret3; [L48] FCALL call #t~mem4 := read~$Pointer$({ base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L48] FCALL call #t~mem5 := read~$Pointer$({ base: #t~mem4!base, offset: ~bvadd32(4bv32, #t~mem4!offset) }, 4bv32); [L48] FCALL call #t~mem6 := read~intINTTYPE4({ base: #t~mem5!base, offset: #t~mem5!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4!base=1076494816bv32, #t~mem4!offset=0bv32, #t~mem5!base=4292345375bv32, #t~mem5!offset=0bv32, #t~mem6=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] COND TRUE 0bv32 == #t~mem6 [L48] havoc #t~mem6; [L48] havoc #t~mem5; [L48] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~i~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0; [L37] FCALL call ~#m~0 := #Ultimate.alloc(8bv32); [L38] ~l~0 := ~#m~0; [L39] FCALL call write~$Pointer$({ base: 0bv32, offset: 0bv32 }, { base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L40] FCALL call write~intINTTYPE4(0bv32, { base: ~l~0!base, offset: ~l~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] CALL call #t~ret2 := append(~l~0, 1bv32); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, #t~malloc0!base=1076494816bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=1076494816bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32, ~new_el~0!base=1076494816bv32, ~new_el~0!offset=0bv32] [L42] RET call #t~ret2 := append(~l~0, 1bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret2!base=1076494816bv32, #t~ret2!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] ~l~0 := #t~ret2; [L42] havoc #t~ret2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] CALL call #t~ret3 := append(~l~0, 2bv32); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, #t~malloc0!base=2269706252bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=2269706252bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32, ~new_el~0!base=2269706252bv32, ~new_el~0!offset=0bv32] [L43] RET call #t~ret3 := append(~l~0, 2bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret3!base=2269706252bv32, #t~ret3!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] ~l~0 := #t~ret3; [L43] havoc #t~ret3; [L48] FCALL call #t~mem4 := read~$Pointer$({ base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L48] FCALL call #t~mem5 := read~$Pointer$({ base: #t~mem4!base, offset: ~bvadd32(4bv32, #t~mem4!offset) }, 4bv32); [L48] FCALL call #t~mem6 := read~intINTTYPE4({ base: #t~mem5!base, offset: #t~mem5!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4!base=1076494816bv32, #t~mem4!offset=0bv32, #t~mem5!base=4292345375bv32, #t~mem5!offset=0bv32, #t~mem6=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] COND TRUE 0bv32 == #t~mem6 [L48] havoc #t~mem6; [L48] havoc #t~mem5; [L48] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~i~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0; [L37] FCALL call ~#m~0 := #Ultimate.alloc(8bv32); [L38] ~l~0 := ~#m~0; [L39] FCALL call write~$Pointer$({ base: 0bv32, offset: 0bv32 }, { base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L40] FCALL call write~intINTTYPE4(0bv32, { base: ~l~0!base, offset: ~l~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] CALL call #t~ret2 := append(~l~0, 1bv32); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, #t~malloc0!base=1076494816bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=1076494816bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32, ~new_el~0!base=1076494816bv32, ~new_el~0!offset=0bv32] [L42] RET call #t~ret2 := append(~l~0, 1bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret2!base=1076494816bv32, #t~ret2!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] ~l~0 := #t~ret2; [L42] havoc #t~ret2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] CALL call #t~ret3 := append(~l~0, 2bv32); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, #t~malloc0!base=2269706252bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=2269706252bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32, ~new_el~0!base=2269706252bv32, ~new_el~0!offset=0bv32] [L43] RET call #t~ret3 := append(~l~0, 2bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret3!base=2269706252bv32, #t~ret3!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] ~l~0 := #t~ret3; [L43] havoc #t~ret3; [L48] FCALL call #t~mem4 := read~$Pointer$({ base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L48] FCALL call #t~mem5 := read~$Pointer$({ base: #t~mem4!base, offset: ~bvadd32(4bv32, #t~mem4!offset) }, 4bv32); [L48] FCALL call #t~mem6 := read~intINTTYPE4({ base: #t~mem5!base, offset: #t~mem5!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4!base=1076494816bv32, #t~mem4!offset=0bv32, #t~mem5!base=4292345375bv32, #t~mem5!offset=0bv32, #t~mem6=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] COND TRUE 0bv32 == #t~mem6 [L48] havoc #t~mem6; [L48] havoc #t~mem5; [L48] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~i~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0; [L37] FCALL call ~#m~0 := #Ultimate.alloc(8bv32); [L38] ~l~0 := ~#m~0; [L39] FCALL call write~$Pointer$({ base: 0bv32, offset: 0bv32 }, { base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L40] FCALL call write~intINTTYPE4(0bv32, { base: ~l~0!base, offset: ~l~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] CALL call #t~ret2 := append(~l~0, 1bv32); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, #t~malloc0!base=1076494816bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=1076494816bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32, ~new_el~0!base=1076494816bv32, ~new_el~0!offset=0bv32] [L42] RET call #t~ret2 := append(~l~0, 1bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret2!base=1076494816bv32, #t~ret2!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] ~l~0 := #t~ret2; [L42] havoc #t~ret2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] CALL call #t~ret3 := append(~l~0, 2bv32); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, #t~malloc0!base=2269706252bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=2269706252bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32, ~new_el~0!base=2269706252bv32, ~new_el~0!offset=0bv32] [L43] RET call #t~ret3 := append(~l~0, 2bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret3!base=2269706252bv32, #t~ret3!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] ~l~0 := #t~ret3; [L43] havoc #t~ret3; [L48] FCALL call #t~mem4 := read~$Pointer$({ base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L48] FCALL call #t~mem5 := read~$Pointer$({ base: #t~mem4!base, offset: ~bvadd32(4bv32, #t~mem4!offset) }, 4bv32); [L48] FCALL call #t~mem6 := read~intINTTYPE4({ base: #t~mem5!base, offset: #t~mem5!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4!base=1076494816bv32, #t~mem4!offset=0bv32, #t~mem5!base=4292345375bv32, #t~mem5!offset=0bv32, #t~mem6=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] COND TRUE 0bv32 == #t~mem6 [L48] havoc #t~mem6; [L48] havoc #t~mem5; [L48] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L17] int i = 1; VAL [\old(i)=0, i=1] [L37] struct list *l,m; [L38] l = &m [L39] l->next = 0 [L40] l->n = 0 VAL [i=1, l={-2621921:0}, m={-2621921:0}] [L42] CALL, EXPR append(l, 1) VAL [\old(n)=1, i=1, l={-2621921:0}] [L25] struct list *new_el; VAL [\old(n)=1, i=1, l={-2621921:0}, l={-2621921:0}, n=1] [L27] CALL, EXPR allocate_memory() VAL [i=1] [L20] return malloc(8U); VAL [\result={1076494816:0}, i=1, malloc(8U)={1076494816:0}] [L27] RET, EXPR allocate_memory() VAL [\old(n)=1, allocate_memory()={1076494816:0}, i=1, l={-2621921:0}, l={-2621921:0}, n=1] [L27] new_el = allocate_memory() [L29] new_el->n = n [L30] new_el->next = l [L32] return new_el; VAL [\old(n)=1, \result={1076494816:0}, i=1, l={-2621921:0}, l={-2621921:0}, n=1, new_el={1076494816:0}] [L42] RET, EXPR append(l, 1) VAL [append(l, 1)={1076494816:0}, i=1, l={-2621921:0}, m={-2621921:0}] [L42] l = append(l, 1) [L43] CALL, EXPR append(l, 2) VAL [\old(n)=2, i=1, l={1076494816:0}] [L25] struct list *new_el; VAL [\old(n)=2, i=1, l={1076494816:0}, l={1076494816:0}, n=2] [L27] CALL, EXPR allocate_memory() VAL [i=1] [L20] return malloc(8U); VAL [\result={-2025261044:0}, i=1, malloc(8U)={-2025261044:0}] [L27] RET, EXPR allocate_memory() VAL [\old(n)=2, allocate_memory()={-2025261044:0}, i=1, l={1076494816:0}, l={1076494816:0}, n=2] [L27] new_el = allocate_memory() [L29] new_el->n = n [L30] new_el->next = l [L32] return new_el; VAL [\old(n)=2, \result={-2025261044:0}, i=1, l={1076494816:0}, l={1076494816:0}, n=2, new_el={-2025261044:0}] [L43] RET, EXPR append(l, 2) VAL [append(l, 2)={-2025261044:0}, i=1, l={1076494816:0}, m={-2621921:0}] [L43] l = append(l, 2) [L48] EXPR l->next [L48] EXPR l->next->next [L48] EXPR l->next->next->n VAL [i=1, l={-2025261044:0}, l->next={1076494816:0}, l->next->next={-2621921:0}, l->next->next->n=0, m={-2621921:0}] [L48] COND TRUE l->next->next->n == 0 [L48] CALL err() VAL [i=1] [L8] __VERIFIER_error() VAL [i=1] ----- [2018-11-23 11:06:13,833 WARN L170 areAnnotationChecker]: allocate_memoryENTRY has no Hoare annotation [2018-11-23 11:06:13,833 WARN L170 areAnnotationChecker]: ULTIMATE.initENTRY has no Hoare annotation [2018-11-23 11:06:13,834 WARN L170 areAnnotationChecker]: errENTRY has no Hoare annotation [2018-11-23 11:06:13,834 WARN L170 areAnnotationChecker]: errENTRY has no Hoare annotation [2018-11-23 11:06:13,834 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:06:13,834 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:06:13,835 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:06:13,835 WARN L170 areAnnotationChecker]: appendENTRY has no Hoare annotation [2018-11-23 11:06:13,835 WARN L170 areAnnotationChecker]: allocate_memoryFINAL has no Hoare annotation [2018-11-23 11:06:13,835 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2018-11-23 11:06:13,835 WARN L170 areAnnotationChecker]: errFINAL has no Hoare annotation [2018-11-23 11:06:13,835 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:06:13,835 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:06:13,836 WARN L170 areAnnotationChecker]: L42 has no Hoare annotation [2018-11-23 11:06:13,836 WARN L170 areAnnotationChecker]: L42 has no Hoare annotation [2018-11-23 11:06:13,836 WARN L170 areAnnotationChecker]: L27 has no Hoare annotation [2018-11-23 11:06:13,836 WARN L170 areAnnotationChecker]: L27 has no Hoare annotation [2018-11-23 11:06:13,836 WARN L170 areAnnotationChecker]: allocate_memoryEXIT has no Hoare annotation [2018-11-23 11:06:13,836 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2018-11-23 11:06:13,836 WARN L170 areAnnotationChecker]: errEXIT has no Hoare annotation [2018-11-23 11:06:13,837 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2018-11-23 11:06:13,837 WARN L170 areAnnotationChecker]: L42-1 has no Hoare annotation [2018-11-23 11:06:13,837 WARN L170 areAnnotationChecker]: L27-1 has no Hoare annotation [2018-11-23 11:06:13,837 WARN L170 areAnnotationChecker]: L48-3 has no Hoare annotation [2018-11-23 11:06:13,837 WARN L170 areAnnotationChecker]: L43 has no Hoare annotation [2018-11-23 11:06:13,837 WARN L170 areAnnotationChecker]: L43 has no Hoare annotation [2018-11-23 11:06:13,837 WARN L170 areAnnotationChecker]: appendFINAL has no Hoare annotation [2018-11-23 11:06:13,838 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2018-11-23 11:06:13,838 WARN L170 areAnnotationChecker]: L43-1 has no Hoare annotation [2018-11-23 11:06:13,838 WARN L170 areAnnotationChecker]: appendEXIT has no Hoare annotation [2018-11-23 11:06:13,838 WARN L170 areAnnotationChecker]: appendEXIT has no Hoare annotation [2018-11-23 11:06:13,838 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2018-11-23 11:06:13,838 WARN L170 areAnnotationChecker]: L48 has no Hoare annotation [2018-11-23 11:06:13,839 WARN L170 areAnnotationChecker]: L48 has no Hoare annotation [2018-11-23 11:06:13,839 WARN L170 areAnnotationChecker]: L48-1 has no Hoare annotation [2018-11-23 11:06:13,839 WARN L170 areAnnotationChecker]: L48-1 has no Hoare annotation [2018-11-23 11:06:13,839 INFO L163 areAnnotationChecker]: CFG has 0 edges. 0 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. 0 times interpolants missing. [2018-11-23 11:06:13,842 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 11:06:13 BoogieIcfgContainer [2018-11-23 11:06:13,842 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 11:06:13,843 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:06:13,843 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:06:13,843 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:06:13,844 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:06:13" (3/4) ... [2018-11-23 11:06:13,847 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~i~0)|=(_ bv0 32), ~i~0=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];~i~0 := 1bv32; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~i~0)|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~i~0)|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #29#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret7 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] havoc ~l~0.base, ~l~0.offset;call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(8bv32);~l~0.base, ~l~0.offset := ~#m~0.base, ~#m~0.offset;call write~$Pointer$(0bv32, 0bv32, ~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32);call write~intINTTYPE4(0bv32, ~l~0.base, ~l~0.offset, 4bv32); VAL [main_~l~0.base=(_ bv4292345375 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), ~i~0=(_ bv1 32)] [?] ~l.base, ~l.offset := #in~l.base, #in~l.offset;~n := #in~n;havoc ~new_el~0.base, ~new_el~0.offset; VAL [append_~l.base=(_ bv4292345375 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);#res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |allocate_memory_#res.base|=(_ bv1076494816 32), |allocate_memory_#res.offset|=(_ bv0 32), |allocate_memory_#t~malloc0.base|=(_ bv1076494816 32), |allocate_memory_#t~malloc0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |allocate_memory_#res.base|=(_ bv1076494816 32), |allocate_memory_#res.offset|=(_ bv0 32), |allocate_memory_#t~malloc0.base|=(_ bv1076494816 32), |allocate_memory_#t~malloc0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #39#return; VAL [append_~l.base=(_ bv4292345375 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), |append_#t~ret1.base|=(_ bv1076494816 32), |append_#t~ret1.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset;havoc #t~ret1.base, #t~ret1.offset;call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32);call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32);#res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [append_~l.base=(_ bv4292345375 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv1 32), append_~new_el~0.base=(_ bv1076494816 32), append_~new_el~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), |append_#res.base|=(_ bv1076494816 32), |append_#res.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [append_~l.base=(_ bv4292345375 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv1 32), append_~new_el~0.base=(_ bv1076494816 32), append_~new_el~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv4292345375 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv1 32), |append_#res.base|=(_ bv1076494816 32), |append_#res.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #33#return; VAL [main_~l~0.base=(_ bv4292345375 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret2.base|=(_ bv1076494816 32), |main_#t~ret2.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] ~l~0.base, ~l~0.offset := #t~ret2.base, #t~ret2.offset;havoc #t~ret2.base, #t~ret2.offset; VAL [main_~l~0.base=(_ bv1076494816 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), ~i~0=(_ bv1 32)] [?] ~l.base, ~l.offset := #in~l.base, #in~l.offset;~n := #in~n;havoc ~new_el~0.base, ~new_el~0.offset; VAL [append_~l.base=(_ bv1076494816 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv2 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), ~i~0=(_ bv1 32)] [?] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);#res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |allocate_memory_#res.base|=(_ bv2269706252 32), |allocate_memory_#res.offset|=(_ bv0 32), |allocate_memory_#t~malloc0.base|=(_ bv2269706252 32), |allocate_memory_#t~malloc0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |allocate_memory_#res.base|=(_ bv2269706252 32), |allocate_memory_#res.offset|=(_ bv0 32), |allocate_memory_#t~malloc0.base|=(_ bv2269706252 32), |allocate_memory_#t~malloc0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #39#return; VAL [append_~l.base=(_ bv1076494816 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv2 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), |append_#t~ret1.base|=(_ bv2269706252 32), |append_#t~ret1.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset;havoc #t~ret1.base, #t~ret1.offset;call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32);call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32);#res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [append_~l.base=(_ bv1076494816 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv2 32), append_~new_el~0.base=(_ bv2269706252 32), append_~new_el~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), |append_#res.base|=(_ bv2269706252 32), |append_#res.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume true; VAL [append_~l.base=(_ bv1076494816 32), append_~l.offset=(_ bv0 32), append_~n=(_ bv2 32), append_~new_el~0.base=(_ bv2269706252 32), append_~new_el~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |append_#in~l.base|=(_ bv1076494816 32), |append_#in~l.offset|=(_ bv0 32), |append_#in~n|=(_ bv2 32), |append_#res.base|=(_ bv2269706252 32), |append_#res.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] RET #35#return; VAL [main_~l~0.base=(_ bv1076494816 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~ret3.base|=(_ bv2269706252 32), |main_#t~ret3.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] ~l~0.base, ~l~0.offset := #t~ret3.base, #t~ret3.offset;havoc #t~ret3.base, #t~ret3.offset;call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32);call #t~mem5.base, #t~mem5.offset := read~$Pointer$(#t~mem4.base, ~bvadd32(4bv32, #t~mem4.offset), 4bv32);call #t~mem6 := read~intINTTYPE4(#t~mem5.base, #t~mem5.offset, 4bv32); VAL [main_~l~0.base=(_ bv2269706252 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~mem4.base|=(_ bv1076494816 32), |main_#t~mem4.offset|=(_ bv0 32), |main_#t~mem5.base|=(_ bv4292345375 32), |main_#t~mem5.offset|=(_ bv0 32), |main_#t~mem6|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume 0bv32 == #t~mem6;havoc #t~mem6;havoc #t~mem5.base, #t~mem5.offset;havoc #t~mem4.base, #t~mem4.offset; VAL [main_~l~0.base=(_ bv2269706252 32), main_~l~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_~#m~0.base|=(_ bv4292345375 32), |main_~#m~0.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call err(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] assume !false; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), ~i~0=(_ bv1 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L17] ~i~0 := 1bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0.base, ~l~0.offset; [L37] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(8bv32); [L38] ~l~0.base, ~l~0.offset := ~#m~0.base, ~#m~0.offset; [L39] call write~$Pointer$(0bv32, 0bv32, ~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32); [L40] call write~intINTTYPE4(0bv32, ~l~0.base, ~l~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=4292345375bv32, ~l~0.offset=0bv32] [L42] CALL call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L23-L33] ~l.base, ~l.offset := #in~l.base, #in~l.offset; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L20] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L20] #res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, #t~malloc0.base=1076494816bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L18-L21] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, #t~malloc0.base=1076494816bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret1.base=1076494816bv32, #t~ret1.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32] [L27] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset; [L27] havoc #t~ret1.base, #t~ret1.offset; [L29] call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32); [L30] call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32); [L32] #res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32, ~new_el~0.base=1076494816bv32, ~new_el~0.offset=0bv32] [L23-L33] ensures true; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32, ~new_el~0.base=1076494816bv32, ~new_el~0.offset=0bv32] [L42] RET call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret2.base=1076494816bv32, #t~ret2.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=4292345375bv32, ~l~0.offset=0bv32] [L42] ~l~0.base, ~l~0.offset := #t~ret2.base, #t~ret2.offset; [L42] havoc #t~ret2.base, #t~ret2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=1076494816bv32, ~l~0.offset=0bv32] [L43] CALL call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L23-L33] ~l.base, ~l.offset := #in~l.base, #in~l.offset; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L20] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L20] #res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, #t~malloc0.base=2269706252bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L18-L21] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, #t~malloc0.base=2269706252bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret1.base=2269706252bv32, #t~ret1.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32] [L27] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset; [L27] havoc #t~ret1.base, #t~ret1.offset; [L29] call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32); [L30] call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32); [L32] #res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32, ~new_el~0.base=2269706252bv32, ~new_el~0.offset=0bv32] [L23-L33] ensures true; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32, ~new_el~0.base=2269706252bv32, ~new_el~0.offset=0bv32] [L43] RET call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret3.base=2269706252bv32, #t~ret3.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=1076494816bv32, ~l~0.offset=0bv32] [L43] ~l~0.base, ~l~0.offset := #t~ret3.base, #t~ret3.offset; [L43] havoc #t~ret3.base, #t~ret3.offset; [L48] call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32); [L48] call #t~mem5.base, #t~mem5.offset := read~$Pointer$(#t~mem4.base, ~bvadd32(4bv32, #t~mem4.offset), 4bv32); [L48] call #t~mem6 := read~intINTTYPE4(#t~mem5.base, #t~mem5.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4.base=1076494816bv32, #t~mem4.offset=0bv32, #t~mem5.base=4292345375bv32, #t~mem5.offset=0bv32, #t~mem6=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=2269706252bv32, ~l~0.offset=0bv32] [L48] assume 0bv32 == #t~mem6; [L48] havoc #t~mem6; [L48] havoc #t~mem5.base, #t~mem5.offset; [L48] havoc #t~mem4.base, #t~mem4.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=2269706252bv32, ~l~0.offset=0bv32] [L48] CALL call err(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L17] ~i~0 := 1bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0.base, ~l~0.offset; [L37] call ~#m~0.base, ~#m~0.offset := #Ultimate.alloc(8bv32); [L38] ~l~0.base, ~l~0.offset := ~#m~0.base, ~#m~0.offset; [L39] call write~$Pointer$(0bv32, 0bv32, ~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32); [L40] call write~intINTTYPE4(0bv32, ~l~0.base, ~l~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=4292345375bv32, ~l~0.offset=0bv32] [L42] CALL call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L23-L33] ~l.base, ~l.offset := #in~l.base, #in~l.offset; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L20] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L20] #res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, #t~malloc0.base=1076494816bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L18-L21] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, #t~malloc0.base=1076494816bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret1.base=1076494816bv32, #t~ret1.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32] [L27] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset; [L27] havoc #t~ret1.base, #t~ret1.offset; [L29] call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32); [L30] call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32); [L32] #res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32, ~new_el~0.base=1076494816bv32, ~new_el~0.offset=0bv32] [L23-L33] ensures true; VAL [#in~l.base=4292345375bv32, #in~l.offset=0bv32, #in~n=1bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=1076494816bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=4292345375bv32, ~l.offset=0bv32, ~n=1bv32, ~new_el~0.base=1076494816bv32, ~new_el~0.offset=0bv32] [L42] RET call #t~ret2.base, #t~ret2.offset := append(~l~0.base, ~l~0.offset, 1bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret2.base=1076494816bv32, #t~ret2.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=4292345375bv32, ~l~0.offset=0bv32] [L42] ~l~0.base, ~l~0.offset := #t~ret2.base, #t~ret2.offset; [L42] havoc #t~ret2.base, #t~ret2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=1076494816bv32, ~l~0.offset=0bv32] [L43] CALL call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L23-L33] ~l.base, ~l.offset := #in~l.base, #in~l.offset; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L20] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L20] #res.base, #res.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, #t~malloc0.base=2269706252bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L18-L21] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, #t~malloc0.base=2269706252bv32, #t~malloc0.offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1.base, #t~ret1.offset := allocate_memory(); VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret1.base=2269706252bv32, #t~ret1.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32] [L27] ~new_el~0.base, ~new_el~0.offset := #t~ret1.base, #t~ret1.offset; [L27] havoc #t~ret1.base, #t~ret1.offset; [L29] call write~intINTTYPE4(~n, ~new_el~0.base, ~new_el~0.offset, 4bv32); [L30] call write~$Pointer$(~l.base, ~l.offset, ~new_el~0.base, ~bvadd32(4bv32, ~new_el~0.offset), 4bv32); [L32] #res.base, #res.offset := ~new_el~0.base, ~new_el~0.offset; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32, ~new_el~0.base=2269706252bv32, ~new_el~0.offset=0bv32] [L23-L33] ensures true; VAL [#in~l.base=1076494816bv32, #in~l.offset=0bv32, #in~n=2bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2269706252bv32, #res.offset=0bv32, ~i~0=1bv32, ~l.base=1076494816bv32, ~l.offset=0bv32, ~n=2bv32, ~new_el~0.base=2269706252bv32, ~new_el~0.offset=0bv32] [L43] RET call #t~ret3.base, #t~ret3.offset := append(~l~0.base, ~l~0.offset, 2bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret3.base=2269706252bv32, #t~ret3.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=1076494816bv32, ~l~0.offset=0bv32] [L43] ~l~0.base, ~l~0.offset := #t~ret3.base, #t~ret3.offset; [L43] havoc #t~ret3.base, #t~ret3.offset; [L48] call #t~mem4.base, #t~mem4.offset := read~$Pointer$(~l~0.base, ~bvadd32(4bv32, ~l~0.offset), 4bv32); [L48] call #t~mem5.base, #t~mem5.offset := read~$Pointer$(#t~mem4.base, ~bvadd32(4bv32, #t~mem4.offset), 4bv32); [L48] call #t~mem6 := read~intINTTYPE4(#t~mem5.base, #t~mem5.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~mem4.base=1076494816bv32, #t~mem4.offset=0bv32, #t~mem5.base=4292345375bv32, #t~mem5.offset=0bv32, #t~mem6=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=2269706252bv32, ~l~0.offset=0bv32] [L48] assume 0bv32 == #t~mem6; [L48] havoc #t~mem6; [L48] havoc #t~mem5.base, #t~mem5.offset; [L48] havoc #t~mem4.base, #t~mem4.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#m~0.base=4292345375bv32, ~#m~0.offset=0bv32, ~i~0=1bv32, ~l~0.base=2269706252bv32, ~l~0.offset=0bv32] [L48] CALL call err(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~i~0=1bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~i~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0; [L37] FCALL call ~#m~0 := #Ultimate.alloc(8bv32); [L38] ~l~0 := ~#m~0; [L39] FCALL call write~$Pointer$({ base: 0bv32, offset: 0bv32 }, { base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L40] FCALL call write~intINTTYPE4(0bv32, { base: ~l~0!base, offset: ~l~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] CALL call #t~ret2 := append(~l~0, 1bv32); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, #t~malloc0!base=1076494816bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=1076494816bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32, ~new_el~0!base=1076494816bv32, ~new_el~0!offset=0bv32] [L42] RET call #t~ret2 := append(~l~0, 1bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret2!base=1076494816bv32, #t~ret2!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] ~l~0 := #t~ret2; [L42] havoc #t~ret2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] CALL call #t~ret3 := append(~l~0, 2bv32); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, #t~malloc0!base=2269706252bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=2269706252bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32, ~new_el~0!base=2269706252bv32, ~new_el~0!offset=0bv32] [L43] RET call #t~ret3 := append(~l~0, 2bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret3!base=2269706252bv32, #t~ret3!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] ~l~0 := #t~ret3; [L43] havoc #t~ret3; [L48] FCALL call #t~mem4 := read~$Pointer$({ base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L48] FCALL call #t~mem5 := read~$Pointer$({ base: #t~mem4!base, offset: ~bvadd32(4bv32, #t~mem4!offset) }, 4bv32); [L48] FCALL call #t~mem6 := read~intINTTYPE4({ base: #t~mem5!base, offset: #t~mem5!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4!base=1076494816bv32, #t~mem4!offset=0bv32, #t~mem5!base=4292345375bv32, #t~mem5!offset=0bv32, #t~mem6=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] COND TRUE 0bv32 == #t~mem6 [L48] havoc #t~mem6; [L48] havoc #t~mem5; [L48] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~i~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0; [L37] FCALL call ~#m~0 := #Ultimate.alloc(8bv32); [L38] ~l~0 := ~#m~0; [L39] FCALL call write~$Pointer$({ base: 0bv32, offset: 0bv32 }, { base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L40] FCALL call write~intINTTYPE4(0bv32, { base: ~l~0!base, offset: ~l~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] CALL call #t~ret2 := append(~l~0, 1bv32); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, #t~malloc0!base=1076494816bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=1076494816bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32, ~new_el~0!base=1076494816bv32, ~new_el~0!offset=0bv32] [L42] RET call #t~ret2 := append(~l~0, 1bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret2!base=1076494816bv32, #t~ret2!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] ~l~0 := #t~ret2; [L42] havoc #t~ret2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] CALL call #t~ret3 := append(~l~0, 2bv32); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, #t~malloc0!base=2269706252bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=2269706252bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32, ~new_el~0!base=2269706252bv32, ~new_el~0!offset=0bv32] [L43] RET call #t~ret3 := append(~l~0, 2bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret3!base=2269706252bv32, #t~ret3!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] ~l~0 := #t~ret3; [L43] havoc #t~ret3; [L48] FCALL call #t~mem4 := read~$Pointer$({ base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L48] FCALL call #t~mem5 := read~$Pointer$({ base: #t~mem4!base, offset: ~bvadd32(4bv32, #t~mem4!offset) }, 4bv32); [L48] FCALL call #t~mem6 := read~intINTTYPE4({ base: #t~mem5!base, offset: #t~mem5!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4!base=1076494816bv32, #t~mem4!offset=0bv32, #t~mem5!base=4292345375bv32, #t~mem5!offset=0bv32, #t~mem6=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] COND TRUE 0bv32 == #t~mem6 [L48] havoc #t~mem6; [L48] havoc #t~mem5; [L48] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~i~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0; [L37] FCALL call ~#m~0 := #Ultimate.alloc(8bv32); [L38] ~l~0 := ~#m~0; [L39] FCALL call write~$Pointer$({ base: 0bv32, offset: 0bv32 }, { base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L40] FCALL call write~intINTTYPE4(0bv32, { base: ~l~0!base, offset: ~l~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] CALL call #t~ret2 := append(~l~0, 1bv32); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, #t~malloc0!base=1076494816bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=1076494816bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32, ~new_el~0!base=1076494816bv32, ~new_el~0!offset=0bv32] [L42] RET call #t~ret2 := append(~l~0, 1bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret2!base=1076494816bv32, #t~ret2!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] ~l~0 := #t~ret2; [L42] havoc #t~ret2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] CALL call #t~ret3 := append(~l~0, 2bv32); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, #t~malloc0!base=2269706252bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=2269706252bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32, ~new_el~0!base=2269706252bv32, ~new_el~0!offset=0bv32] [L43] RET call #t~ret3 := append(~l~0, 2bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret3!base=2269706252bv32, #t~ret3!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] ~l~0 := #t~ret3; [L43] havoc #t~ret3; [L48] FCALL call #t~mem4 := read~$Pointer$({ base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L48] FCALL call #t~mem5 := read~$Pointer$({ base: #t~mem4!base, offset: ~bvadd32(4bv32, #t~mem4!offset) }, 4bv32); [L48] FCALL call #t~mem6 := read~intINTTYPE4({ base: #t~mem5!base, offset: #t~mem5!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4!base=1076494816bv32, #t~mem4!offset=0bv32, #t~mem5!base=4292345375bv32, #t~mem5!offset=0bv32, #t~mem6=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] COND TRUE 0bv32 == #t~mem6 [L48] havoc #t~mem6; [L48] havoc #t~mem5; [L48] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L17] ~i~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~i~0)=0bv32, ~i~0=1bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L37] havoc ~l~0; [L37] FCALL call ~#m~0 := #Ultimate.alloc(8bv32); [L38] ~l~0 := ~#m~0; [L39] FCALL call write~$Pointer$({ base: 0bv32, offset: 0bv32 }, { base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L40] FCALL call write~intINTTYPE4(0bv32, { base: ~l~0!base, offset: ~l~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] CALL call #t~ret2 := append(~l~0, 1bv32); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, #t~malloc0!base=1076494816bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=1076494816bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=4292345375bv32, #in~l!offset=0bv32, #in~n=1bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=1076494816bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=4292345375bv32, ~l!offset=0bv32, ~n=1bv32, ~new_el~0!base=1076494816bv32, ~new_el~0!offset=0bv32] [L42] RET call #t~ret2 := append(~l~0, 1bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret2!base=1076494816bv32, #t~ret2!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=4292345375bv32, ~l~0!offset=0bv32] [L42] ~l~0 := #t~ret2; [L42] havoc #t~ret2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] CALL call #t~ret3 := append(~l~0, 2bv32); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L23-L33] ~l := #in~l; [L23-L33] ~n := #in~n; [L25] havoc ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] CALL call #t~ret1 := allocate_memory(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L20] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L20] #res := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, #t~malloc0!base=2269706252bv32, #t~malloc0!offset=0bv32, ~i~0=1bv32] [L27] RET call #t~ret1 := allocate_memory(); VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret1!base=2269706252bv32, #t~ret1!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32] [L27] ~new_el~0 := #t~ret1; [L27] havoc #t~ret1; [L29] FCALL call write~intINTTYPE4(~n, { base: ~new_el~0!base, offset: ~new_el~0!offset }, 4bv32); [L30] FCALL call write~$Pointer$(~l, { base: ~new_el~0!base, offset: ~bvadd32(4bv32, ~new_el~0!offset) }, 4bv32); [L32] #res := ~new_el~0; VAL [#in~l!base=1076494816bv32, #in~l!offset=0bv32, #in~n=2bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2269706252bv32, #res!offset=0bv32, ~i~0=1bv32, ~l!base=1076494816bv32, ~l!offset=0bv32, ~n=2bv32, ~new_el~0!base=2269706252bv32, ~new_el~0!offset=0bv32] [L43] RET call #t~ret3 := append(~l~0, 2bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret3!base=2269706252bv32, #t~ret3!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=1076494816bv32, ~l~0!offset=0bv32] [L43] ~l~0 := #t~ret3; [L43] havoc #t~ret3; [L48] FCALL call #t~mem4 := read~$Pointer$({ base: ~l~0!base, offset: ~bvadd32(4bv32, ~l~0!offset) }, 4bv32); [L48] FCALL call #t~mem5 := read~$Pointer$({ base: #t~mem4!base, offset: ~bvadd32(4bv32, #t~mem4!offset) }, 4bv32); [L48] FCALL call #t~mem6 := read~intINTTYPE4({ base: #t~mem5!base, offset: #t~mem5!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~mem4!base=1076494816bv32, #t~mem4!offset=0bv32, #t~mem5!base=4292345375bv32, #t~mem5!offset=0bv32, #t~mem6=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] COND TRUE 0bv32 == #t~mem6 [L48] havoc #t~mem6; [L48] havoc #t~mem5; [L48] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#m~0!base=4292345375bv32, ~#m~0!offset=0bv32, ~i~0=1bv32, ~l~0!base=2269706252bv32, ~l~0!offset=0bv32] [L48] CALL call err(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L8] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~i~0=1bv32] [L17] int i = 1; VAL [\old(i)=0, i=1] [L37] struct list *l,m; [L38] l = &m [L39] l->next = 0 [L40] l->n = 0 VAL [i=1, l={-2621921:0}, m={-2621921:0}] [L42] CALL, EXPR append(l, 1) VAL [\old(n)=1, i=1, l={-2621921:0}] [L25] struct list *new_el; VAL [\old(n)=1, i=1, l={-2621921:0}, l={-2621921:0}, n=1] [L27] CALL, EXPR allocate_memory() VAL [i=1] [L20] return malloc(8U); VAL [\result={1076494816:0}, i=1, malloc(8U)={1076494816:0}] [L27] RET, EXPR allocate_memory() VAL [\old(n)=1, allocate_memory()={1076494816:0}, i=1, l={-2621921:0}, l={-2621921:0}, n=1] [L27] new_el = allocate_memory() [L29] new_el->n = n [L30] new_el->next = l [L32] return new_el; VAL [\old(n)=1, \result={1076494816:0}, i=1, l={-2621921:0}, l={-2621921:0}, n=1, new_el={1076494816:0}] [L42] RET, EXPR append(l, 1) VAL [append(l, 1)={1076494816:0}, i=1, l={-2621921:0}, m={-2621921:0}] [L42] l = append(l, 1) [L43] CALL, EXPR append(l, 2) VAL [\old(n)=2, i=1, l={1076494816:0}] [L25] struct list *new_el; VAL [\old(n)=2, i=1, l={1076494816:0}, l={1076494816:0}, n=2] [L27] CALL, EXPR allocate_memory() VAL [i=1] [L20] return malloc(8U); VAL [\result={-2025261044:0}, i=1, malloc(8U)={-2025261044:0}] [L27] RET, EXPR allocate_memory() VAL [\old(n)=2, allocate_memory()={-2025261044:0}, i=1, l={1076494816:0}, l={1076494816:0}, n=2] [L27] new_el = allocate_memory() [L29] new_el->n = n [L30] new_el->next = l [L32] return new_el; VAL [\old(n)=2, \result={-2025261044:0}, i=1, l={1076494816:0}, l={1076494816:0}, n=2, new_el={-2025261044:0}] [L43] RET, EXPR append(l, 2) VAL [append(l, 2)={-2025261044:0}, i=1, l={1076494816:0}, m={-2621921:0}] [L43] l = append(l, 2) [L48] EXPR l->next [L48] EXPR l->next->next [L48] EXPR l->next->next->n VAL [i=1, l={-2025261044:0}, l->next={1076494816:0}, l->next->next={-2621921:0}, l->next->next->n=0, m={-2621921:0}] [L48] COND TRUE l->next->next->n == 0 [L48] CALL err() VAL [i=1] [L8] __VERIFIER_error() VAL [i=1] ----- [2018-11-23 11:06:13,954 INFO L145 WitnessManager]: Wrote witness to /storage/repos/svcomp/c/ldv-regression/recursive_list_true-termination.c_false-unreach-call.i-witness.graphml [2018-11-23 11:06:13,954 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:06:13,956 INFO L168 Benchmark]: Toolchain (without parser) took 2085.32 ms. Allocated memory was 1.5 GB in the beginning and 2.2 GB in the end (delta: 717.8 MB). Free memory was 1.4 GB in the beginning and 2.1 GB in the end (delta: -693.8 MB). Peak memory consumption was 23.9 MB. Max. memory is 7.1 GB. [2018-11-23 11:06:13,958 INFO L168 Benchmark]: CDTParser took 0.24 ms. Allocated memory is still 1.5 GB. Free memory is still 1.5 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:06:13,959 INFO L168 Benchmark]: CACSL2BoogieTranslator took 345.65 ms. Allocated memory is still 1.5 GB. Free memory was 1.4 GB in the beginning and 1.4 GB in the end (delta: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 7.1 GB. [2018-11-23 11:06:13,959 INFO L168 Benchmark]: Boogie Procedure Inliner took 25.95 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:06:13,964 INFO L168 Benchmark]: Boogie Preprocessor took 32.32 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:06:13,964 INFO L168 Benchmark]: RCFGBuilder took 770.94 ms. Allocated memory was 1.5 GB in the beginning and 2.2 GB in the end (delta: 717.8 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -754.0 MB). Peak memory consumption was 26.8 MB. Max. memory is 7.1 GB. [2018-11-23 11:06:13,965 INFO L168 Benchmark]: TraceAbstraction took 792.72 ms. Allocated memory is still 2.2 GB. Free memory was 2.2 GB in the beginning and 2.1 GB in the end (delta: 36.3 MB). Peak memory consumption was 36.3 MB. Max. memory is 7.1 GB. [2018-11-23 11:06:13,966 INFO L168 Benchmark]: Witness Printer took 111.65 ms. Allocated memory is still 2.2 GB. Free memory was 2.1 GB in the beginning and 2.1 GB in the end (delta: 13.3 MB). Peak memory consumption was 13.3 MB. Max. memory is 7.1 GB. [2018-11-23 11:06:13,972 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - GenericResult: Assertions are enabled Assertions are enabled - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.24 ms. Allocated memory is still 1.5 GB. Free memory is still 1.5 GB. There was no memory consumed. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 345.65 ms. Allocated memory is still 1.5 GB. Free memory was 1.4 GB in the beginning and 1.4 GB in the end (delta: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 25.95 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. * Boogie Preprocessor took 32.32 ms. Allocated memory is still 1.5 GB. Free memory is still 1.4 GB. There was no memory consumed. Max. memory is 7.1 GB. * RCFGBuilder took 770.94 ms. Allocated memory was 1.5 GB in the beginning and 2.2 GB in the end (delta: 717.8 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -754.0 MB). Peak memory consumption was 26.8 MB. Max. memory is 7.1 GB. * TraceAbstraction took 792.72 ms. Allocated memory is still 2.2 GB. Free memory was 2.2 GB in the beginning and 2.1 GB in the end (delta: 36.3 MB). Peak memory consumption was 36.3 MB. Max. memory is 7.1 GB. * Witness Printer took 111.65 ms. Allocated memory is still 2.2 GB. Free memory was 2.1 GB in the beginning and 2.1 GB in the end (delta: 13.3 MB). Peak memory consumption was 13.3 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 8]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L17] int i = 1; VAL [\old(i)=0, i=1] [L37] struct list *l,m; [L38] l = &m [L39] l->next = 0 [L40] l->n = 0 VAL [i=1, l={-2621921:0}, m={-2621921:0}] [L42] CALL, EXPR append(l, 1) VAL [\old(n)=1, i=1, l={-2621921:0}] [L25] struct list *new_el; VAL [\old(n)=1, i=1, l={-2621921:0}, l={-2621921:0}, n=1] [L27] CALL, EXPR allocate_memory() VAL [i=1] [L20] return malloc(8U); VAL [\result={1076494816:0}, i=1, malloc(8U)={1076494816:0}] [L27] RET, EXPR allocate_memory() VAL [\old(n)=1, allocate_memory()={1076494816:0}, i=1, l={-2621921:0}, l={-2621921:0}, n=1] [L27] new_el = allocate_memory() [L29] new_el->n = n [L30] new_el->next = l [L32] return new_el; VAL [\old(n)=1, \result={1076494816:0}, i=1, l={-2621921:0}, l={-2621921:0}, n=1, new_el={1076494816:0}] [L42] RET, EXPR append(l, 1) VAL [append(l, 1)={1076494816:0}, i=1, l={-2621921:0}, m={-2621921:0}] [L42] l = append(l, 1) [L43] CALL, EXPR append(l, 2) VAL [\old(n)=2, i=1, l={1076494816:0}] [L25] struct list *new_el; VAL [\old(n)=2, i=1, l={1076494816:0}, l={1076494816:0}, n=2] [L27] CALL, EXPR allocate_memory() VAL [i=1] [L20] return malloc(8U); VAL [\result={-2025261044:0}, i=1, malloc(8U)={-2025261044:0}] [L27] RET, EXPR allocate_memory() VAL [\old(n)=2, allocate_memory()={-2025261044:0}, i=1, l={1076494816:0}, l={1076494816:0}, n=2] [L27] new_el = allocate_memory() [L29] new_el->n = n [L30] new_el->next = l [L32] return new_el; VAL [\old(n)=2, \result={-2025261044:0}, i=1, l={1076494816:0}, l={1076494816:0}, n=2, new_el={-2025261044:0}] [L43] RET, EXPR append(l, 2) VAL [append(l, 2)={-2025261044:0}, i=1, l={1076494816:0}, m={-2621921:0}] [L43] l = append(l, 2) [L48] EXPR l->next [L48] EXPR l->next->next [L48] EXPR l->next->next->n VAL [i=1, l={-2025261044:0}, l->next={1076494816:0}, l->next->next={-2621921:0}, l->next->next->n=0, m={-2621921:0}] [L48] COND TRUE l->next->next->n == 0 [L48] CALL err() VAL [i=1] [L8] __VERIFIER_error() VAL [i=1] - StatisticsResult: Ultimate Automizer benchmark data CFG has 6 procedures, 29 locations, 1 error locations. UNSAFE Result, 0.6s OverallTime, 1 OverallIterations, 2 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: No data available, PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=29occurred 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: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 29 NumberOfCodeBlocks, 29 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...