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-sets/test_add_false-unreach-call_true-termination.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-61f4311 [2018-11-23 11:10:24,032 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:10:24,034 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:10:24,052 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:10:24,052 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:10:24,054 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:10:24,055 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:10:24,058 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:10:24,059 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:10:24,062 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:10:24,064 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:10:24,064 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:10:24,067 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:10:24,069 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:10:24,076 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:10:24,077 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:10:24,078 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:10:24,085 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:10:24,087 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:10:24,091 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:10:24,092 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:10:24,094 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:10:24,097 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:10:24,097 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:10:24,098 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:10:24,099 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:10:24,099 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:10:24,100 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:10:24,101 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:10:24,102 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:10:24,102 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:10:24,103 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:10:24,103 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:10:24,103 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:10:24,104 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:10:24,105 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:10:24,105 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:10:24,120 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:10:24,120 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:10:24,121 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 11:10:24,121 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 11:10:24,122 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:10:24,122 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:10:24,122 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:10:24,122 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:10:24,122 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:10:24,125 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:10:24,125 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:10:24,125 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 11:10:24,125 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 11:10:24,126 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 11:10:24,126 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 11:10:24,126 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 11:10:24,126 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:10:24,126 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:10:24,127 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:10:24,127 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 11:10:24,127 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:10:24,127 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:10:24,127 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 11:10:24,128 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 11:10:24,129 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:10:24,129 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:10:24,129 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 11:10:24,130 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 11:10:24,130 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 11:10:24,130 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 11:10:24,130 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 11:10:24,130 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 11:10:24,131 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 11:10:24,185 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:10:24,201 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:10:24,206 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:10:24,208 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:10:24,208 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:10:24,209 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-sets/test_add_false-unreach-call_true-termination.i [2018-11-23 11:10:24,286 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/1985db11a/eff718e38a154f6b92b42843de4c71e5/FLAG9b1dd31ae [2018-11-23 11:10:24,884 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:10:24,885 INFO L161 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-sets/test_add_false-unreach-call_true-termination.i [2018-11-23 11:10:24,905 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/1985db11a/eff718e38a154f6b92b42843de4c71e5/FLAG9b1dd31ae [2018-11-23 11:10:25,143 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/1985db11a/eff718e38a154f6b92b42843de4c71e5 [2018-11-23 11:10:25,152 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:10:25,154 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:10:25,155 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:10:25,155 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:10:25,159 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:10:25,161 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:10:25" (1/1) ... [2018-11-23 11:10:25,164 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@16da3274 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:25, skipping insertion in model container [2018-11-23 11:10:25,164 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:10:25" (1/1) ... [2018-11-23 11:10:25,174 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:10:25,237 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:10:25,795 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:10:25,817 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:10:26,030 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:10:26,106 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:10:26,106 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26 WrapperNode [2018-11-23 11:10:26,106 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:10:26,108 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:10:26,108 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:10:26,108 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:10:26,118 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:10:26" (1/1) ... [2018-11-23 11:10:26,153 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:10:26" (1/1) ... [2018-11-23 11:10:26,163 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:10:26,164 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:10:26,164 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:10:26,164 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:10:26,174 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26" (1/1) ... [2018-11-23 11:10:26,174 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26" (1/1) ... [2018-11-23 11:10:26,178 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26" (1/1) ... [2018-11-23 11:10:26,179 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26" (1/1) ... [2018-11-23 11:10:26,198 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26" (1/1) ... [2018-11-23 11:10:26,203 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26" (1/1) ... [2018-11-23 11:10:26,206 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26" (1/1) ... [2018-11-23 11:10:26,217 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:10:26,218 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:10:26,218 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:10:26,218 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:10:26,219 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26" (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:10:26,282 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:10:26,282 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 11:10:26,283 INFO L130 BoogieDeclarations]: Found specification of procedure __ldv_list_add [2018-11-23 11:10:26,283 INFO L138 BoogieDeclarations]: Found implementation of procedure __ldv_list_add [2018-11-23 11:10:26,283 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_list_add [2018-11-23 11:10:26,283 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_list_add [2018-11-23 11:10:26,283 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 11:10:26,284 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 11:10:26,284 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 11:10:26,284 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 11:10:26,284 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 11:10:26,284 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_set_add [2018-11-23 11:10:26,285 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_set_add [2018-11-23 11:10:26,285 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_is_in_set [2018-11-23 11:10:26,285 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_is_in_set [2018-11-23 11:10:26,287 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 11:10:26,287 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 11:10:26,287 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2018-11-23 11:10:26,287 INFO L130 BoogieDeclarations]: Found specification of procedure foo [2018-11-23 11:10:26,288 INFO L138 BoogieDeclarations]: Found implementation of procedure foo [2018-11-23 11:10:26,288 INFO L130 BoogieDeclarations]: Found specification of procedure ldv_successful_malloc [2018-11-23 11:10:26,288 INFO L138 BoogieDeclarations]: Found implementation of procedure ldv_successful_malloc [2018-11-23 11:10:26,288 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:10:26,288 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:10:27,337 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:10:27,338 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-11-23 11:10:27,338 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:10:27 BoogieIcfgContainer [2018-11-23 11:10:27,339 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:10:27,340 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 11:10:27,340 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 11:10:27,343 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 11:10:27,343 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 11:10:25" (1/3) ... [2018-11-23 11:10:27,344 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@21daf660 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:10:27, skipping insertion in model container [2018-11-23 11:10:27,344 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:10:26" (2/3) ... [2018-11-23 11:10:27,345 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@21daf660 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:10:27, skipping insertion in model container [2018-11-23 11:10:27,345 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:10:27" (3/3) ... [2018-11-23 11:10:27,347 INFO L112 eAbstractionObserver]: Analyzing ICFG test_add_false-unreach-call_true-termination.i [2018-11-23 11:10:27,358 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 11:10:27,367 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 11:10:27,386 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 11:10:27,418 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:10:27,418 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 11:10:27,419 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 11:10:27,419 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 11:10:27,419 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:10:27,419 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:10:27,419 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 11:10:27,419 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:10:27,419 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 11:10:27,440 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states. [2018-11-23 11:10:27,447 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2018-11-23 11:10:27,447 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:10:27,448 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:10:27,450 INFO L423 AbstractCegarLoop]: === Iteration 1 === [fooErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:10:27,456 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:10:27,456 INFO L82 PathProgramCache]: Analyzing trace with hash -1941476234, now seen corresponding path program 1 times [2018-11-23 11:10:27,461 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:10:27,462 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:10:27,480 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:10:27,580 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:10:27,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:10:27,644 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:10:28,236 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 7 treesize of output 5 [2018-11-23 11:10:28,269 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 5 treesize of output 1 [2018-11-23 11:10:28,271 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-23 11:10:28,275 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:10:28,342 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 13 [2018-11-23 11:10:28,453 INFO L701 Elim1Store]: detected not equals via solver [2018-11-23 11:10:28,456 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 2 select indices, 2 select index equivalence classes, 1 disjoint index pairs (out of 1 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 13 treesize of output 6 [2018-11-23 11:10:28,484 INFO L267 ElimStorePlain]: Start of recursive call 5: End of recursive call: and 1 xjuncts. [2018-11-23 11:10:28,508 INFO L267 ElimStorePlain]: Start of recursive call 4: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:10:28,520 INFO L267 ElimStorePlain]: Start of recursive call 1: 2 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:10:28,521 INFO L202 ElimStorePlain]: Needed 5 recursive calls to eliminate 2 variables, input treesize:33, output treesize:10 [2018-11-23 11:10:28,540 WARN L383 uantifierElimination]: Trying to double check SDD result, but SMT solver's response was UNKNOWN. [2018-11-23 11:10:28,541 WARN L384 uantifierElimination]: Input elimination task: ∃ [|v_#memory_$Pointer$.base_BEFORE_CALL_3|, |v_#memory_$Pointer$.offset_BEFORE_CALL_3|]. (let ((.cse0 (select |v_#memory_$Pointer$.base_BEFORE_CALL_3| |~#s1~0.base|))) (and (= (select .cse0 |~#s1~0.offset|) |~#s1~0.base|) (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= (select (select |v_#memory_$Pointer$.offset_BEFORE_CALL_3| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (= |~#s1~0.base| (select .cse0 (bvadd |~#s1~0.offset| (_ bv4 32)))))) [2018-11-23 11:10:28,542 WARN L385 uantifierElimination]: ElimStorePlain result: ∃ []. (and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|)) [2018-11-23 11:10:28,847 WARN L180 SmtUtils]: Spent 166.00 ms on a formula simplification that was a NOOP. DAG size: 16 [2018-11-23 11:10:29,453 INFO L256 TraceCheckUtils]: 0: Hoare triple {48#true} call ULTIMATE.init(); {48#true} is VALID [2018-11-23 11:10:29,458 INFO L273 TraceCheckUtils]: 1: Hoare triple {48#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#s1~0.base, ~#s1~0.offset := #Ultimate.alloc(8bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~bvadd32(4bv32, ~#s1~0.offset), 4bv32); {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} is VALID [2018-11-23 11:10:29,460 INFO L273 TraceCheckUtils]: 2: Hoare triple {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} assume true; {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} is VALID [2018-11-23 11:10:29,463 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} {48#true} #75#return; {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} is VALID [2018-11-23 11:10:29,465 INFO L256 TraceCheckUtils]: 4: Hoare triple {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} call #t~ret29 := main(); {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} is VALID [2018-11-23 11:10:29,466 INFO L256 TraceCheckUtils]: 5: Hoare triple {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} call foo(); {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} is VALID [2018-11-23 11:10:29,471 INFO L273 TraceCheckUtils]: 6: Hoare triple {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} ~j~0 := #t~nondet27;havoc #t~nondet27; {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} is VALID [2018-11-23 11:10:29,477 INFO L256 TraceCheckUtils]: 7: Hoare triple {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); {75#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|))} is VALID [2018-11-23 11:10:29,494 INFO L273 TraceCheckUtils]: 8: Hoare triple {75#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|))} ~new := #in~new;~s.base, ~s.offset := #in~s.base, #in~s.offset; {79#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (= ldv_set_add_~s.base |ldv_set_add_#in~s.base|) (= |ldv_set_add_#in~s.offset| ldv_set_add_~s.offset))} is VALID [2018-11-23 11:10:29,498 INFO L256 TraceCheckUtils]: 9: Hoare triple {79#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (= ldv_set_add_~s.base |ldv_set_add_#in~s.base|) (= |ldv_set_add_#in~s.offset| ldv_set_add_~s.offset))} call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); {83#(= |~#s1~0.offset| (_ bv0 32))} is VALID [2018-11-23 11:10:29,509 INFO L273 TraceCheckUtils]: 10: Hoare triple {83#(= |~#s1~0.offset| (_ bv0 32))} ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); {87#(and (= |~#s1~0.offset| (_ bv0 32)) (= |ldv_is_in_set_#in~s.base| ldv_is_in_set_~s.base) (= (select (select |#memory_$Pointer$.base| ldv_is_in_set_~s.base) ldv_is_in_set_~s.offset) ldv_is_in_set_~m~1.base) (= (bvadd ldv_is_in_set_~m~1.offset (_ bv4 32)) (select (select |#memory_$Pointer$.offset| ldv_is_in_set_~s.base) ldv_is_in_set_~s.offset)) (= ldv_is_in_set_~s.offset |ldv_is_in_set_#in~s.offset|))} is VALID [2018-11-23 11:10:29,528 INFO L273 TraceCheckUtils]: 11: Hoare triple {87#(and (= |~#s1~0.offset| (_ bv0 32)) (= |ldv_is_in_set_#in~s.base| ldv_is_in_set_~s.base) (= (select (select |#memory_$Pointer$.base| ldv_is_in_set_~s.base) ldv_is_in_set_~s.offset) ldv_is_in_set_~m~1.base) (= (bvadd ldv_is_in_set_~m~1.offset (_ bv4 32)) (select (select |#memory_$Pointer$.offset| ldv_is_in_set_~s.base) ldv_is_in_set_~s.offset)) (= ldv_is_in_set_~s.offset |ldv_is_in_set_#in~s.offset|))} assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset);call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); {91#(and (= |~#s1~0.offset| (_ bv0 32)) (or (not (= |ldv_is_in_set_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|) |ldv_is_in_set_#in~s.offset|))))} is VALID [2018-11-23 11:10:29,529 INFO L273 TraceCheckUtils]: 12: Hoare triple {91#(and (= |~#s1~0.offset| (_ bv0 32)) (or (not (= |ldv_is_in_set_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|) |ldv_is_in_set_#in~s.offset|))))} assume #t~mem25 == ~e;havoc #t~mem25;#res := 1bv32; {91#(and (= |~#s1~0.offset| (_ bv0 32)) (or (not (= |ldv_is_in_set_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|) |ldv_is_in_set_#in~s.offset|))))} is VALID [2018-11-23 11:10:29,540 INFO L273 TraceCheckUtils]: 13: Hoare triple {91#(and (= |~#s1~0.offset| (_ bv0 32)) (or (not (= |ldv_is_in_set_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|) |ldv_is_in_set_#in~s.offset|))))} assume true; {91#(and (= |~#s1~0.offset| (_ bv0 32)) (or (not (= |ldv_is_in_set_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|) |ldv_is_in_set_#in~s.offset|))))} is VALID [2018-11-23 11:10:29,547 INFO L268 TraceCheckUtils]: 14: Hoare quadruple {91#(and (= |~#s1~0.offset| (_ bv0 32)) (or (not (= |ldv_is_in_set_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_is_in_set_#in~s.base|) |ldv_is_in_set_#in~s.offset|) |ldv_is_in_set_#in~s.offset|))))} {79#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (= ldv_set_add_~s.base |ldv_set_add_#in~s.base|) (= |ldv_set_add_#in~s.offset| ldv_set_add_~s.offset))} #69#return; {101#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (or (not (= |ldv_set_add_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|) |ldv_set_add_#in~s.offset|))))} is VALID [2018-11-23 11:10:29,548 INFO L273 TraceCheckUtils]: 15: Hoare triple {101#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (or (not (= |ldv_set_add_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|) |ldv_set_add_#in~s.offset|))))} assume !(0bv32 == #t~ret17);havoc #t~ret17; {101#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (or (not (= |ldv_set_add_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|) |ldv_set_add_#in~s.offset|))))} is VALID [2018-11-23 11:10:29,553 INFO L273 TraceCheckUtils]: 16: Hoare triple {101#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (or (not (= |ldv_set_add_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|) |ldv_set_add_#in~s.offset|))))} assume true; {101#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (or (not (= |ldv_set_add_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|) |ldv_set_add_#in~s.offset|))))} is VALID [2018-11-23 11:10:29,555 INFO L268 TraceCheckUtils]: 17: Hoare quadruple {101#(and (= |~#s1~0.offset| (_ bv0 32)) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|) (= |old(#memory_$Pointer$.base)| |#memory_$Pointer$.base|) (or (not (= |ldv_set_add_#in~s.base| (select (select |#memory_$Pointer$.base| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|))) (not (= (select (select |#memory_$Pointer$.offset| |ldv_set_add_#in~s.base|) |ldv_set_add_#in~s.offset|) |ldv_set_add_#in~s.offset|))))} {56#(and (= |~#s1~0.offset| (_ bv0 32)) (= (select (select |#memory_$Pointer$.offset| |~#s1~0.base|) |~#s1~0.offset|) |~#s1~0.offset|) (= |~#s1~0.base| (select (select |#memory_$Pointer$.base| |~#s1~0.base|) |~#s1~0.offset|)) (= (select (select |#memory_$Pointer$.base| |~#s1~0.base|) (bvadd |~#s1~0.offset| (_ bv4 32))) |~#s1~0.base|))} #63#return; {49#false} is VALID [2018-11-23 11:10:29,556 INFO L256 TraceCheckUtils]: 18: Hoare triple {49#false} call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); {49#false} is VALID [2018-11-23 11:10:29,556 INFO L273 TraceCheckUtils]: 19: Hoare triple {49#false} ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); {49#false} is VALID [2018-11-23 11:10:29,557 INFO L273 TraceCheckUtils]: 20: Hoare triple {49#false} assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset);call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); {49#false} is VALID [2018-11-23 11:10:29,557 INFO L273 TraceCheckUtils]: 21: Hoare triple {49#false} assume #t~mem25 == ~e;havoc #t~mem25;#res := 1bv32; {49#false} is VALID [2018-11-23 11:10:29,558 INFO L273 TraceCheckUtils]: 22: Hoare triple {49#false} assume true; {49#false} is VALID [2018-11-23 11:10:29,558 INFO L268 TraceCheckUtils]: 23: Hoare quadruple {49#false} {49#false} #65#return; {49#false} is VALID [2018-11-23 11:10:29,558 INFO L273 TraceCheckUtils]: 24: Hoare triple {49#false} assume 0bv32 != #t~ret28;havoc #t~ret28; {49#false} is VALID [2018-11-23 11:10:29,558 INFO L273 TraceCheckUtils]: 25: Hoare triple {49#false} assume !false; {49#false} is VALID [2018-11-23 11:10:29,570 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 5 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:10:29,570 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [MP cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (2)] Exception during sending of exit command (exit): Broken pipe [2018-11-23 11:10:29,579 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:10:29,579 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [9] imperfect sequences [] total 9 [2018-11-23 11:10:29,585 INFO L78 Accepts]: Start accepts. Automaton has 9 states. Word has length 26 [2018-11-23 11:10:29,593 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:10:29,597 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 9 states. [2018-11-23 11:10:29,694 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 26 edges. 26 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:10:29,694 INFO L459 AbstractCegarLoop]: Interpolant automaton has 9 states [2018-11-23 11:10:29,703 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2018-11-23 11:10:29,704 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=23, Invalid=49, Unknown=0, NotChecked=0, Total=72 [2018-11-23 11:10:29,706 INFO L87 Difference]: Start difference. First operand 45 states. Second operand 9 states. [2018-11-23 11:10:35,956 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:10:35,957 INFO L93 Difference]: Finished difference Result 121 states and 146 transitions. [2018-11-23 11:10:35,957 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 14 states. [2018-11-23 11:10:35,957 INFO L78 Accepts]: Start accepts. Automaton has 9 states. Word has length 26 [2018-11-23 11:10:35,958 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:10:35,959 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 9 states. [2018-11-23 11:10:35,987 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 146 transitions. [2018-11-23 11:10:35,988 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 9 states. [2018-11-23 11:10:36,000 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 146 transitions. [2018-11-23 11:10:36,001 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 14 states and 146 transitions. [2018-11-23 11:10:36,407 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 146 edges. 146 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:10:36,424 INFO L225 Difference]: With dead ends: 121 [2018-11-23 11:10:36,424 INFO L226 Difference]: Without dead ends: 70 [2018-11-23 11:10:36,429 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 34 GetRequests, 18 SyntacticMatches, 0 SemanticMatches, 16 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 37 ImplicationChecksByTransitivity, 1.6s TimeCoverageRelationStatistics Valid=91, Invalid=215, Unknown=0, NotChecked=0, Total=306 [2018-11-23 11:10:36,445 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 70 states. [2018-11-23 11:10:36,584 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 70 to 53. [2018-11-23 11:10:36,585 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:10:36,586 INFO L82 GeneralOperation]: Start isEquivalent. First operand 70 states. Second operand 53 states. [2018-11-23 11:10:36,587 INFO L74 IsIncluded]: Start isIncluded. First operand 70 states. Second operand 53 states. [2018-11-23 11:10:36,587 INFO L87 Difference]: Start difference. First operand 70 states. Second operand 53 states. [2018-11-23 11:10:36,596 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:10:36,597 INFO L93 Difference]: Finished difference Result 70 states and 79 transitions. [2018-11-23 11:10:36,597 INFO L276 IsEmpty]: Start isEmpty. Operand 70 states and 79 transitions. [2018-11-23 11:10:36,598 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:10:36,598 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:10:36,599 INFO L74 IsIncluded]: Start isIncluded. First operand 53 states. Second operand 70 states. [2018-11-23 11:10:36,599 INFO L87 Difference]: Start difference. First operand 53 states. Second operand 70 states. [2018-11-23 11:10:36,606 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:10:36,606 INFO L93 Difference]: Finished difference Result 70 states and 79 transitions. [2018-11-23 11:10:36,607 INFO L276 IsEmpty]: Start isEmpty. Operand 70 states and 79 transitions. [2018-11-23 11:10:36,608 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:10:36,608 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:10:36,608 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:10:36,609 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:10:36,609 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 53 states. [2018-11-23 11:10:36,613 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 53 states and 59 transitions. [2018-11-23 11:10:36,615 INFO L78 Accepts]: Start accepts. Automaton has 53 states and 59 transitions. Word has length 26 [2018-11-23 11:10:36,616 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:10:36,616 INFO L480 AbstractCegarLoop]: Abstraction has 53 states and 59 transitions. [2018-11-23 11:10:36,616 INFO L481 AbstractCegarLoop]: Interpolant automaton has 9 states. [2018-11-23 11:10:36,616 INFO L276 IsEmpty]: Start isEmpty. Operand 53 states and 59 transitions. [2018-11-23 11:10:36,618 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2018-11-23 11:10:36,618 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:10:36,618 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:10:36,619 INFO L423 AbstractCegarLoop]: === Iteration 2 === [fooErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:10:36,619 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:10:36,619 INFO L82 PathProgramCache]: Analyzing trace with hash 43650710, now seen corresponding path program 1 times [2018-11-23 11:10:36,620 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:10:36,620 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 3 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:10:36,641 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:10:36,686 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:10:36,702 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:10:36,704 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:10:36,766 INFO L256 TraceCheckUtils]: 0: Hoare triple {519#true} call ULTIMATE.init(); {519#true} is VALID [2018-11-23 11:10:36,766 INFO L273 TraceCheckUtils]: 1: Hoare triple {519#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#s1~0.base, ~#s1~0.offset := #Ultimate.alloc(8bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~bvadd32(4bv32, ~#s1~0.offset), 4bv32); {519#true} is VALID [2018-11-23 11:10:36,767 INFO L273 TraceCheckUtils]: 2: Hoare triple {519#true} assume true; {519#true} is VALID [2018-11-23 11:10:36,767 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {519#true} {519#true} #75#return; {519#true} is VALID [2018-11-23 11:10:36,767 INFO L256 TraceCheckUtils]: 4: Hoare triple {519#true} call #t~ret29 := main(); {519#true} is VALID [2018-11-23 11:10:36,768 INFO L256 TraceCheckUtils]: 5: Hoare triple {519#true} call foo(); {519#true} is VALID [2018-11-23 11:10:36,768 INFO L273 TraceCheckUtils]: 6: Hoare triple {519#true} ~j~0 := #t~nondet27;havoc #t~nondet27; {519#true} is VALID [2018-11-23 11:10:36,768 INFO L256 TraceCheckUtils]: 7: Hoare triple {519#true} call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); {519#true} is VALID [2018-11-23 11:10:36,768 INFO L273 TraceCheckUtils]: 8: Hoare triple {519#true} ~new := #in~new;~s.base, ~s.offset := #in~s.base, #in~s.offset; {519#true} is VALID [2018-11-23 11:10:36,769 INFO L256 TraceCheckUtils]: 9: Hoare triple {519#true} call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); {519#true} is VALID [2018-11-23 11:10:36,769 INFO L273 TraceCheckUtils]: 10: Hoare triple {519#true} ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); {519#true} is VALID [2018-11-23 11:10:36,769 INFO L273 TraceCheckUtils]: 11: Hoare triple {519#true} assume !(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); {519#true} is VALID [2018-11-23 11:10:36,776 INFO L273 TraceCheckUtils]: 12: Hoare triple {519#true} #res := 0bv32; {560#(= |ldv_is_in_set_#res| (_ bv0 32))} is VALID [2018-11-23 11:10:36,777 INFO L273 TraceCheckUtils]: 13: Hoare triple {560#(= |ldv_is_in_set_#res| (_ bv0 32))} assume true; {560#(= |ldv_is_in_set_#res| (_ bv0 32))} is VALID [2018-11-23 11:10:36,778 INFO L268 TraceCheckUtils]: 14: Hoare quadruple {560#(= |ldv_is_in_set_#res| (_ bv0 32))} {519#true} #69#return; {567#(= |ldv_set_add_#t~ret17| (_ bv0 32))} is VALID [2018-11-23 11:10:36,778 INFO L273 TraceCheckUtils]: 15: Hoare triple {567#(= |ldv_set_add_#t~ret17| (_ bv0 32))} assume !(0bv32 == #t~ret17);havoc #t~ret17; {520#false} is VALID [2018-11-23 11:10:36,779 INFO L273 TraceCheckUtils]: 16: Hoare triple {520#false} assume true; {520#false} is VALID [2018-11-23 11:10:36,779 INFO L268 TraceCheckUtils]: 17: Hoare quadruple {520#false} {519#true} #63#return; {520#false} is VALID [2018-11-23 11:10:36,780 INFO L256 TraceCheckUtils]: 18: Hoare triple {520#false} call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); {520#false} is VALID [2018-11-23 11:10:36,780 INFO L273 TraceCheckUtils]: 19: Hoare triple {520#false} ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); {520#false} is VALID [2018-11-23 11:10:36,780 INFO L273 TraceCheckUtils]: 20: Hoare triple {520#false} assume !(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); {520#false} is VALID [2018-11-23 11:10:36,781 INFO L273 TraceCheckUtils]: 21: Hoare triple {520#false} #res := 0bv32; {520#false} is VALID [2018-11-23 11:10:36,781 INFO L273 TraceCheckUtils]: 22: Hoare triple {520#false} assume true; {520#false} is VALID [2018-11-23 11:10:36,781 INFO L268 TraceCheckUtils]: 23: Hoare quadruple {520#false} {520#false} #65#return; {520#false} is VALID [2018-11-23 11:10:36,782 INFO L273 TraceCheckUtils]: 24: Hoare triple {520#false} assume 0bv32 != #t~ret28;havoc #t~ret28; {520#false} is VALID [2018-11-23 11:10:36,782 INFO L273 TraceCheckUtils]: 25: Hoare triple {520#false} assume !false; {520#false} is VALID [2018-11-23 11:10:36,784 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 5 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:10:36,784 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:10:36,787 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:10:36,788 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-11-23 11:10:36,790 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 26 [2018-11-23 11:10:36,791 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:10:36,791 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states. [2018-11-23 11:10:36,850 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 26 edges. 26 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:10:36,850 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-11-23 11:10:36,851 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-23 11:10:36,851 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-11-23 11:10:36,852 INFO L87 Difference]: Start difference. First operand 53 states and 59 transitions. Second operand 4 states. [2018-11-23 11:10:37,933 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:10:37,933 INFO L93 Difference]: Finished difference Result 72 states and 78 transitions. [2018-11-23 11:10:37,934 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-23 11:10:37,934 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 26 [2018-11-23 11:10:37,934 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:10:37,934 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 11:10:37,938 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 59 transitions. [2018-11-23 11:10:37,938 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 11:10:37,941 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 59 transitions. [2018-11-23 11:10:37,941 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 59 transitions. [2018-11-23 11:10:38,051 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 59 edges. 59 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:10:38,056 INFO L225 Difference]: With dead ends: 72 [2018-11-23 11:10:38,056 INFO L226 Difference]: Without dead ends: 55 [2018-11-23 11:10:38,057 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 25 GetRequests, 23 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-11-23 11:10:38,058 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 55 states. [2018-11-23 11:10:38,197 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 55 to 45. [2018-11-23 11:10:38,198 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:10:38,198 INFO L82 GeneralOperation]: Start isEquivalent. First operand 55 states. Second operand 45 states. [2018-11-23 11:10:38,198 INFO L74 IsIncluded]: Start isIncluded. First operand 55 states. Second operand 45 states. [2018-11-23 11:10:38,198 INFO L87 Difference]: Start difference. First operand 55 states. Second operand 45 states. [2018-11-23 11:10:38,202 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:10:38,202 INFO L93 Difference]: Finished difference Result 55 states and 59 transitions. [2018-11-23 11:10:38,203 INFO L276 IsEmpty]: Start isEmpty. Operand 55 states and 59 transitions. [2018-11-23 11:10:38,204 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:10:38,204 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:10:38,204 INFO L74 IsIncluded]: Start isIncluded. First operand 45 states. Second operand 55 states. [2018-11-23 11:10:38,204 INFO L87 Difference]: Start difference. First operand 45 states. Second operand 55 states. [2018-11-23 11:10:38,208 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:10:38,208 INFO L93 Difference]: Finished difference Result 55 states and 59 transitions. [2018-11-23 11:10:38,208 INFO L276 IsEmpty]: Start isEmpty. Operand 55 states and 59 transitions. [2018-11-23 11:10:38,209 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:10:38,210 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:10:38,210 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:10:38,210 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:10:38,210 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 45 states. [2018-11-23 11:10:38,213 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 45 states and 48 transitions. [2018-11-23 11:10:38,213 INFO L78 Accepts]: Start accepts. Automaton has 45 states and 48 transitions. Word has length 26 [2018-11-23 11:10:38,213 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:10:38,214 INFO L480 AbstractCegarLoop]: Abstraction has 45 states and 48 transitions. [2018-11-23 11:10:38,214 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-11-23 11:10:38,214 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 48 transitions. [2018-11-23 11:10:38,215 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 41 [2018-11-23 11:10:38,215 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:10:38,216 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:10:38,216 INFO L423 AbstractCegarLoop]: === Iteration 3 === [fooErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:10:38,216 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:10:38,216 INFO L82 PathProgramCache]: Analyzing trace with hash -1826902622, now seen corresponding path program 1 times [2018-11-23 11:10:38,217 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:10:38,217 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 4 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:10:38,237 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:10:38,307 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:10:38,340 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:10:38,342 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:10:38,406 INFO L256 TraceCheckUtils]: 0: Hoare triple {870#true} call ULTIMATE.init(); {870#true} is VALID [2018-11-23 11:10:38,407 INFO L273 TraceCheckUtils]: 1: Hoare triple {870#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#s1~0.base, ~#s1~0.offset := #Ultimate.alloc(8bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~bvadd32(4bv32, ~#s1~0.offset), 4bv32); {870#true} is VALID [2018-11-23 11:10:38,407 INFO L273 TraceCheckUtils]: 2: Hoare triple {870#true} assume true; {870#true} is VALID [2018-11-23 11:10:38,408 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {870#true} {870#true} #75#return; {870#true} is VALID [2018-11-23 11:10:38,408 INFO L256 TraceCheckUtils]: 4: Hoare triple {870#true} call #t~ret29 := main(); {870#true} is VALID [2018-11-23 11:10:38,408 INFO L256 TraceCheckUtils]: 5: Hoare triple {870#true} call foo(); {870#true} is VALID [2018-11-23 11:10:38,409 INFO L273 TraceCheckUtils]: 6: Hoare triple {870#true} ~j~0 := #t~nondet27;havoc #t~nondet27; {870#true} is VALID [2018-11-23 11:10:38,409 INFO L256 TraceCheckUtils]: 7: Hoare triple {870#true} call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); {870#true} is VALID [2018-11-23 11:10:38,409 INFO L273 TraceCheckUtils]: 8: Hoare triple {870#true} ~new := #in~new;~s.base, ~s.offset := #in~s.base, #in~s.offset; {870#true} is VALID [2018-11-23 11:10:38,410 INFO L256 TraceCheckUtils]: 9: Hoare triple {870#true} call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); {870#true} is VALID [2018-11-23 11:10:38,410 INFO L273 TraceCheckUtils]: 10: Hoare triple {870#true} ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); {870#true} is VALID [2018-11-23 11:10:38,410 INFO L273 TraceCheckUtils]: 11: Hoare triple {870#true} assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset);call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); {870#true} is VALID [2018-11-23 11:10:38,420 INFO L273 TraceCheckUtils]: 12: Hoare triple {870#true} assume #t~mem25 == ~e;havoc #t~mem25;#res := 1bv32; {911#(= (bvadd |ldv_is_in_set_#res| (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:10:38,420 INFO L273 TraceCheckUtils]: 13: Hoare triple {911#(= (bvadd |ldv_is_in_set_#res| (_ bv4294967295 32)) (_ bv0 32))} assume true; {911#(= (bvadd |ldv_is_in_set_#res| (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:10:38,422 INFO L268 TraceCheckUtils]: 14: Hoare quadruple {911#(= (bvadd |ldv_is_in_set_#res| (_ bv4294967295 32)) (_ bv0 32))} {870#true} #69#return; {918#(= (bvadd |ldv_set_add_#t~ret17| (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:10:38,424 INFO L273 TraceCheckUtils]: 15: Hoare triple {918#(= (bvadd |ldv_set_add_#t~ret17| (_ bv4294967295 32)) (_ bv0 32))} assume 0bv32 == #t~ret17;havoc #t~ret17;havoc ~le~0.base, ~le~0.offset; {871#false} is VALID [2018-11-23 11:10:38,424 INFO L256 TraceCheckUtils]: 16: Hoare triple {871#false} call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); {871#false} is VALID [2018-11-23 11:10:38,424 INFO L273 TraceCheckUtils]: 17: Hoare triple {871#false} ~size := #in~size;call #t~malloc5.base, #t~malloc5.offset := #Ultimate.alloc(~size);~ptr~0.base, ~ptr~0.offset := #t~malloc5.base, #t~malloc5.offset;assume 0bv32 != (if ~ptr~0.base != 0bv32 || ~ptr~0.offset != 0bv32 then 1bv32 else 0bv32);#res.base, #res.offset := ~ptr~0.base, ~ptr~0.offset; {871#false} is VALID [2018-11-23 11:10:38,425 INFO L273 TraceCheckUtils]: 18: Hoare triple {871#false} assume true; {871#false} is VALID [2018-11-23 11:10:38,425 INFO L268 TraceCheckUtils]: 19: Hoare quadruple {871#false} {871#false} #71#return; {871#false} is VALID [2018-11-23 11:10:38,426 INFO L273 TraceCheckUtils]: 20: Hoare triple {871#false} ~le~0.base, ~le~0.offset := #t~ret18.base, #t~ret18.offset;havoc #t~ret18.base, #t~ret18.offset;call write~intINTTYPE4(~new, ~le~0.base, ~le~0.offset, 4bv32); {871#false} is VALID [2018-11-23 11:10:38,426 INFO L256 TraceCheckUtils]: 21: Hoare triple {871#false} call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); {871#false} is VALID [2018-11-23 11:10:38,426 INFO L273 TraceCheckUtils]: 22: Hoare triple {871#false} ~new.base, ~new.offset := #in~new.base, #in~new.offset;~head.base, ~head.offset := #in~head.base, #in~head.offset;call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~head.base, ~head.offset, 4bv32); {871#false} is VALID [2018-11-23 11:10:38,427 INFO L256 TraceCheckUtils]: 23: Hoare triple {871#false} call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); {871#false} is VALID [2018-11-23 11:10:38,427 INFO L273 TraceCheckUtils]: 24: Hoare triple {871#false} ~new.base, ~new.offset := #in~new.base, #in~new.offset;~prev.base, ~prev.offset := #in~prev.base, #in~prev.offset;~next.base, ~next.offset := #in~next.base, #in~next.offset;call write~$Pointer$(~new.base, ~new.offset, ~next.base, ~bvadd32(4bv32, ~next.offset), 4bv32);call write~$Pointer$(~next.base, ~next.offset, ~new.base, ~new.offset, 4bv32);call write~$Pointer$(~prev.base, ~prev.offset, ~new.base, ~bvadd32(4bv32, ~new.offset), 4bv32);call write~$Pointer$(~new.base, ~new.offset, ~prev.base, ~prev.offset, 4bv32); {871#false} is VALID [2018-11-23 11:10:38,427 INFO L273 TraceCheckUtils]: 25: Hoare triple {871#false} assume true; {871#false} is VALID [2018-11-23 11:10:38,427 INFO L268 TraceCheckUtils]: 26: Hoare quadruple {871#false} {871#false} #61#return; {871#false} is VALID [2018-11-23 11:10:38,428 INFO L273 TraceCheckUtils]: 27: Hoare triple {871#false} havoc #t~mem6.base, #t~mem6.offset; {871#false} is VALID [2018-11-23 11:10:38,428 INFO L273 TraceCheckUtils]: 28: Hoare triple {871#false} assume true; {871#false} is VALID [2018-11-23 11:10:38,428 INFO L268 TraceCheckUtils]: 29: Hoare quadruple {871#false} {871#false} #73#return; {871#false} is VALID [2018-11-23 11:10:38,429 INFO L273 TraceCheckUtils]: 30: Hoare triple {871#false} assume true; {871#false} is VALID [2018-11-23 11:10:38,429 INFO L268 TraceCheckUtils]: 31: Hoare quadruple {871#false} {870#true} #63#return; {871#false} is VALID [2018-11-23 11:10:38,429 INFO L256 TraceCheckUtils]: 32: Hoare triple {871#false} call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); {871#false} is VALID [2018-11-23 11:10:38,430 INFO L273 TraceCheckUtils]: 33: Hoare triple {871#false} ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); {871#false} is VALID [2018-11-23 11:10:38,430 INFO L273 TraceCheckUtils]: 34: Hoare triple {871#false} assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset);call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); {871#false} is VALID [2018-11-23 11:10:38,430 INFO L273 TraceCheckUtils]: 35: Hoare triple {871#false} assume #t~mem25 == ~e;havoc #t~mem25;#res := 1bv32; {871#false} is VALID [2018-11-23 11:10:38,431 INFO L273 TraceCheckUtils]: 36: Hoare triple {871#false} assume true; {871#false} is VALID [2018-11-23 11:10:38,431 INFO L268 TraceCheckUtils]: 37: Hoare quadruple {871#false} {871#false} #65#return; {871#false} is VALID [2018-11-23 11:10:38,431 INFO L273 TraceCheckUtils]: 38: Hoare triple {871#false} assume 0bv32 != #t~ret28;havoc #t~ret28; {871#false} is VALID [2018-11-23 11:10:38,432 INFO L273 TraceCheckUtils]: 39: Hoare triple {871#false} assume !false; {871#false} is VALID [2018-11-23 11:10:38,434 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 5 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:10:38,434 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:10:38,440 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:10:38,440 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-11-23 11:10:38,441 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 40 [2018-11-23 11:10:38,441 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:10:38,441 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states. [2018-11-23 11:10:38,542 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 40 edges. 40 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:10:38,542 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-11-23 11:10:38,542 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-23 11:10:38,543 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-11-23 11:10:38,543 INFO L87 Difference]: Start difference. First operand 45 states and 48 transitions. Second operand 4 states. [2018-11-23 11:10:39,497 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:10:39,498 INFO L93 Difference]: Finished difference Result 77 states and 81 transitions. [2018-11-23 11:10:39,498 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-23 11:10:39,498 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 40 [2018-11-23 11:10:39,498 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:10:39,498 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 11:10:39,502 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 72 transitions. [2018-11-23 11:10:39,502 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 11:10:39,505 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 72 transitions. [2018-11-23 11:10:39,505 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 72 transitions. [2018-11-23 11:10:39,706 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 72 edges. 72 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:10:39,708 INFO L225 Difference]: With dead ends: 77 [2018-11-23 11:10:39,708 INFO L226 Difference]: Without dead ends: 47 [2018-11-23 11:10:39,709 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 39 GetRequests, 37 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-11-23 11:10:39,710 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 47 states. [2018-11-23 11:10:39,963 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 47 to 45. [2018-11-23 11:10:39,964 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:10:39,964 INFO L82 GeneralOperation]: Start isEquivalent. First operand 47 states. Second operand 45 states. [2018-11-23 11:10:39,964 INFO L74 IsIncluded]: Start isIncluded. First operand 47 states. Second operand 45 states. [2018-11-23 11:10:39,964 INFO L87 Difference]: Start difference. First operand 47 states. Second operand 45 states. [2018-11-23 11:10:39,967 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:10:39,967 INFO L93 Difference]: Finished difference Result 47 states and 49 transitions. [2018-11-23 11:10:39,968 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 49 transitions. [2018-11-23 11:10:39,968 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:10:39,968 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:10:39,969 INFO L74 IsIncluded]: Start isIncluded. First operand 45 states. Second operand 47 states. [2018-11-23 11:10:39,969 INFO L87 Difference]: Start difference. First operand 45 states. Second operand 47 states. [2018-11-23 11:10:39,972 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:10:39,972 INFO L93 Difference]: Finished difference Result 47 states and 49 transitions. [2018-11-23 11:10:39,972 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 49 transitions. [2018-11-23 11:10:39,973 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:10:39,973 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:10:39,973 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:10:39,973 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:10:39,974 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 45 states. [2018-11-23 11:10:39,976 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 45 states and 47 transitions. [2018-11-23 11:10:39,976 INFO L78 Accepts]: Start accepts. Automaton has 45 states and 47 transitions. Word has length 40 [2018-11-23 11:10:39,977 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:10:39,977 INFO L480 AbstractCegarLoop]: Abstraction has 45 states and 47 transitions. [2018-11-23 11:10:39,977 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-11-23 11:10:39,977 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 47 transitions. [2018-11-23 11:10:39,978 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 41 [2018-11-23 11:10:39,978 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:10:39,979 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:10:39,979 INFO L423 AbstractCegarLoop]: === Iteration 4 === [fooErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:10:39,979 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:10:39,979 INFO L82 PathProgramCache]: Analyzing trace with hash -701294535, now seen corresponding path program 1 times [2018-11-23 11:10:39,980 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:10:39,980 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 5 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:10:40,001 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:10:40,155 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:10:40,347 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:10:40,489 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(~#s1~0.base)|=(_ bv0 32), |old(~#s1~0.offset)|=(_ bv0 32), |~#s1~0.base|=(_ bv0 32), |~#s1~0.offset|=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#s1~0.base, ~#s1~0.offset := #Ultimate.alloc(8bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~bvadd32(4bv32, ~#s1~0.offset), 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~#s1~0.base)|=(_ bv0 32), |old(~#s1~0.offset)|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~#s1~0.base)|=(_ bv0 32), |old(~#s1~0.offset)|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #75#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call #t~ret29 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call foo(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~j~0 := #t~nondet27;havoc #t~nondet27; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~new := #in~new;~s.base, ~s.offset := #in~s.base, #in~s.offset; VAL [ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392969 32), ldv_is_in_set_~__mptr~3.offset=(_ bv0 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392969 32), ldv_is_in_set_~m~1.offset=(_ bv4294967292 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume !(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392969 32), ldv_is_in_set_~__mptr~3.offset=(_ bv0 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392969 32), ldv_is_in_set_~m~1.offset=(_ bv4294967292 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] #res := 0bv32; VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392969 32), ldv_is_in_set_~__mptr~3.offset=(_ bv0 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392969 32), ldv_is_in_set_~m~1.offset=(_ bv4294967292 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#res|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392969 32), ldv_is_in_set_~__mptr~3.offset=(_ bv0 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392969 32), ldv_is_in_set_~m~1.offset=(_ bv4294967292 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#res|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #69#return; VAL [ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |ldv_set_add_#t~ret17|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume 0bv32 == #t~ret17;havoc #t~ret17;havoc ~le~0.base, ~le~0.offset; VAL [ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_successful_malloc_#in~size|=(_ bv12 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~size := #in~size;call #t~malloc5.base, #t~malloc5.offset := #Ultimate.alloc(~size);~ptr~0.base, ~ptr~0.offset := #t~malloc5.base, #t~malloc5.offset;assume 0bv32 != (if ~ptr~0.base != 0bv32 || ~ptr~0.offset != 0bv32 then 1bv32 else 0bv32);#res.base, #res.offset := ~ptr~0.base, ~ptr~0.offset; VAL [ldv_successful_malloc_~ptr~0.base=(_ bv2164392968 32), ldv_successful_malloc_~ptr~0.offset=(_ bv0 32), ldv_successful_malloc_~size=(_ bv12 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_successful_malloc_#in~size|=(_ bv12 32), |ldv_successful_malloc_#res.base|=(_ bv2164392968 32), |ldv_successful_malloc_#res.offset|=(_ bv0 32), |ldv_successful_malloc_#t~malloc5.base|=(_ bv2164392968 32), |ldv_successful_malloc_#t~malloc5.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_successful_malloc_~ptr~0.base=(_ bv2164392968 32), ldv_successful_malloc_~ptr~0.offset=(_ bv0 32), ldv_successful_malloc_~size=(_ bv12 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_successful_malloc_#in~size|=(_ bv12 32), |ldv_successful_malloc_#res.base|=(_ bv2164392968 32), |ldv_successful_malloc_#res.offset|=(_ bv0 32), |ldv_successful_malloc_#t~malloc5.base|=(_ bv2164392968 32), |ldv_successful_malloc_#t~malloc5.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #71#return; VAL [ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |ldv_set_add_#t~ret18.base|=(_ bv2164392968 32), |ldv_set_add_#t~ret18.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~le~0.base, ~le~0.offset := #t~ret18.base, #t~ret18.offset;havoc #t~ret18.base, #t~ret18.offset;call write~intINTTYPE4(~new, ~le~0.base, ~le~0.offset, 4bv32); VAL [ldv_set_add_~le~0.base=(_ bv2164392968 32), ldv_set_add_~le~0.offset=(_ bv0 32), ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~new.base, ~new.offset := #in~new.base, #in~new.offset;~head.base, ~head.offset := #in~head.base, #in~head.offset;call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~head.base, ~head.offset, 4bv32); VAL [ldv_list_add_~head.base=(_ bv2164392969 32), ldv_list_add_~head.offset=(_ bv0 32), ldv_list_add_~new.base=(_ bv2164392968 32), ldv_list_add_~new.offset=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |ldv_list_add_#t~mem6.base|=(_ bv2164392969 32), |ldv_list_add_#t~mem6.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |__ldv_list_add_#in~new.base|=(_ bv2164392968 32), |__ldv_list_add_#in~new.offset|=(_ bv4 32), |__ldv_list_add_#in~next.base|=(_ bv2164392969 32), |__ldv_list_add_#in~next.offset|=(_ bv0 32), |__ldv_list_add_#in~prev.base|=(_ bv2164392969 32), |__ldv_list_add_#in~prev.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~new.base, ~new.offset := #in~new.base, #in~new.offset;~prev.base, ~prev.offset := #in~prev.base, #in~prev.offset;~next.base, ~next.offset := #in~next.base, #in~next.offset;call write~$Pointer$(~new.base, ~new.offset, ~next.base, ~bvadd32(4bv32, ~next.offset), 4bv32);call write~$Pointer$(~next.base, ~next.offset, ~new.base, ~new.offset, 4bv32);call write~$Pointer$(~prev.base, ~prev.offset, ~new.base, ~bvadd32(4bv32, ~new.offset), 4bv32);call write~$Pointer$(~new.base, ~new.offset, ~prev.base, ~prev.offset, 4bv32); VAL [__ldv_list_add_~new.base=(_ bv2164392968 32), __ldv_list_add_~new.offset=(_ bv4 32), __ldv_list_add_~next.base=(_ bv2164392969 32), __ldv_list_add_~next.offset=(_ bv0 32), __ldv_list_add_~prev.base=(_ bv2164392969 32), __ldv_list_add_~prev.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |__ldv_list_add_#in~new.base|=(_ bv2164392968 32), |__ldv_list_add_#in~new.offset|=(_ bv4 32), |__ldv_list_add_#in~next.base|=(_ bv2164392969 32), |__ldv_list_add_#in~next.offset|=(_ bv0 32), |__ldv_list_add_#in~prev.base|=(_ bv2164392969 32), |__ldv_list_add_#in~prev.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [__ldv_list_add_~new.base=(_ bv2164392968 32), __ldv_list_add_~new.offset=(_ bv4 32), __ldv_list_add_~next.base=(_ bv2164392969 32), __ldv_list_add_~next.offset=(_ bv0 32), __ldv_list_add_~prev.base=(_ bv2164392969 32), __ldv_list_add_~prev.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |__ldv_list_add_#in~new.base|=(_ bv2164392968 32), |__ldv_list_add_#in~new.offset|=(_ bv4 32), |__ldv_list_add_#in~next.base|=(_ bv2164392969 32), |__ldv_list_add_#in~next.offset|=(_ bv0 32), |__ldv_list_add_#in~prev.base|=(_ bv2164392969 32), |__ldv_list_add_#in~prev.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #61#return; VAL [ldv_list_add_~head.base=(_ bv2164392969 32), ldv_list_add_~head.offset=(_ bv0 32), ldv_list_add_~new.base=(_ bv2164392968 32), ldv_list_add_~new.offset=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |ldv_list_add_#t~mem6.base|=(_ bv2164392969 32), |ldv_list_add_#t~mem6.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] havoc #t~mem6.base, #t~mem6.offset; VAL [ldv_list_add_~head.base=(_ bv2164392969 32), ldv_list_add_~head.offset=(_ bv0 32), ldv_list_add_~new.base=(_ bv2164392968 32), ldv_list_add_~new.offset=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_list_add_~head.base=(_ bv2164392969 32), ldv_list_add_~head.offset=(_ bv0 32), ldv_list_add_~new.base=(_ bv2164392968 32), ldv_list_add_~new.offset=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #73#return; VAL [ldv_set_add_~le~0.base=(_ bv2164392968 32), ldv_set_add_~le~0.offset=(_ bv0 32), ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_set_add_~le~0.base=(_ bv2164392968 32), ldv_set_add_~le~0.offset=(_ bv0 32), ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #63#return; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392968 32), ldv_is_in_set_~__mptr~3.offset=(_ bv4 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392968 32), ldv_is_in_set_~m~1.offset=(_ bv0 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset);call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392968 32), ldv_is_in_set_~__mptr~3.offset=(_ bv4 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392968 32), ldv_is_in_set_~m~1.offset=(_ bv0 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#t~mem25|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume #t~mem25 == ~e;havoc #t~mem25;#res := 1bv32; VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392968 32), ldv_is_in_set_~__mptr~3.offset=(_ bv4 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392968 32), ldv_is_in_set_~m~1.offset=(_ bv0 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#res|=(_ bv1 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392968 32), ldv_is_in_set_~__mptr~3.offset=(_ bv4 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392968 32), ldv_is_in_set_~m~1.offset=(_ bv0 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#res|=(_ bv1 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #65#return; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |foo_#t~ret28|=(_ bv1 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume 0bv32 != #t~ret28;havoc #t~ret28; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume !false; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=0bv32, ~#s1~0.offset=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L649] call ~#s1~0.base, ~#s1~0.offset := #Ultimate.alloc(8bv32); [L649] call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4bv32); [L649] call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~bvadd32(4bv32, ~#s1~0.offset), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L658] CALL call foo(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s.base, ~s.offset := #in~s.base, #in~s.offset; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s.base, ~s.offset := #in~s.base, #in~s.offset; [L638] havoc ~m~1.base, ~m~1.offset; [L639] call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32); [L639] ~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset; [L639] havoc #t~mem23.base, #t~mem23.offset; [L639] ~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L639-L643] assume !(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L610] ensures true; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret17=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620-L625] assume 0bv32 == #t~ret17; [L620] havoc #t~ret17; [L621] havoc ~le~0.base, ~le~0.offset; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L622] CALL call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L562-L566] ~size := #in~size; [L563] call #t~malloc5.base, #t~malloc5.offset := #Ultimate.alloc(~size); [L563] ~ptr~0.base, ~ptr~0.offset := #t~malloc5.base, #t~malloc5.offset; [L564] assume 0bv32 != (if ~ptr~0.base != 0bv32 || ~ptr~0.offset != 0bv32 then 1bv32 else 0bv32); [L565] #res.base, #res.offset := ~ptr~0.base, ~ptr~0.offset; VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2164392968bv32, #res.offset=0bv32, #t~malloc5.base=2164392968bv32, #t~malloc5.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~ptr~0.base=2164392968bv32, ~ptr~0.offset=0bv32, ~size=12bv32] [L562-L566] ensures true; VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2164392968bv32, #res.offset=0bv32, #t~malloc5.base=2164392968bv32, #t~malloc5.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~ptr~0.base=2164392968bv32, ~ptr~0.offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret18.base=2164392968bv32, #t~ret18.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L622] ~le~0.base, ~le~0.offset := #t~ret18.base, #t~ret18.offset; [L622] havoc #t~ret18.base, #t~ret18.offset; [L623] call write~intINTTYPE4(~new, ~le~0.base, ~le~0.offset, 4bv32); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L624] CALL call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L590-L593] ~new.base, ~new.offset := #in~new.base, #in~new.offset; [L590-L593] ~head.base, ~head.offset := #in~head.base, #in~head.offset; [L592] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~head.base, ~head.offset, 4bv32); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=2164392969bv32, #t~mem6.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L592] CALL call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L576-L584] ~new.base, ~new.offset := #in~new.base, #in~new.offset; [L576-L584] ~prev.base, ~prev.offset := #in~prev.base, #in~prev.offset; [L576-L584] ~next.base, ~next.offset := #in~next.base, #in~next.offset; [L580] call write~$Pointer$(~new.base, ~new.offset, ~next.base, ~bvadd32(4bv32, ~next.offset), 4bv32); [L581] call write~$Pointer$(~next.base, ~next.offset, ~new.base, ~new.offset, 4bv32); [L582] call write~$Pointer$(~prev.base, ~prev.offset, ~new.base, ~bvadd32(4bv32, ~new.offset), 4bv32); [L583] call write~$Pointer$(~new.base, ~new.offset, ~prev.base, ~prev.offset, 4bv32); VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32, ~next.base=2164392969bv32, ~next.offset=0bv32, ~prev.base=2164392969bv32, ~prev.offset=0bv32] [L576-L584] ensures true; VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32, ~next.base=2164392969bv32, ~next.offset=0bv32, ~prev.base=2164392969bv32, ~prev.offset=0bv32] [L592] RET call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=2164392969bv32, #t~mem6.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L592] havoc #t~mem6.base, #t~mem6.offset; VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L590-L593] ensures true; VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L624] RET call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L608] ensures true; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s.base, ~s.offset := #in~s.base, #in~s.offset; [L638] havoc ~m~1.base, ~m~1.offset; [L639] call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32); [L639] ~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset; [L639] havoc #t~mem23.base, #t~mem23.offset; [L639] ~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L639-L643] assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); [L640] call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem25=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L640-L642] assume #t~mem25 == ~e; [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L610] ensures true; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret28=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] assume 0bv32 != #t~ret28; [L654] havoc #t~ret28; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=0bv32, ~#s1~0.offset=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L649] call ~#s1~0.base, ~#s1~0.offset := #Ultimate.alloc(8bv32); [L649] call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4bv32); [L649] call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~bvadd32(4bv32, ~#s1~0.offset), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L658] CALL call foo(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s.base, ~s.offset := #in~s.base, #in~s.offset; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s.base, ~s.offset := #in~s.base, #in~s.offset; [L638] havoc ~m~1.base, ~m~1.offset; [L639] call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32); [L639] ~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset; [L639] havoc #t~mem23.base, #t~mem23.offset; [L639] ~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L639-L643] assume !(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L610] ensures true; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret17=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620-L625] assume 0bv32 == #t~ret17; [L620] havoc #t~ret17; [L621] havoc ~le~0.base, ~le~0.offset; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L622] CALL call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L562-L566] ~size := #in~size; [L563] call #t~malloc5.base, #t~malloc5.offset := #Ultimate.alloc(~size); [L563] ~ptr~0.base, ~ptr~0.offset := #t~malloc5.base, #t~malloc5.offset; [L564] assume 0bv32 != (if ~ptr~0.base != 0bv32 || ~ptr~0.offset != 0bv32 then 1bv32 else 0bv32); [L565] #res.base, #res.offset := ~ptr~0.base, ~ptr~0.offset; VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2164392968bv32, #res.offset=0bv32, #t~malloc5.base=2164392968bv32, #t~malloc5.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~ptr~0.base=2164392968bv32, ~ptr~0.offset=0bv32, ~size=12bv32] [L562-L566] ensures true; VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2164392968bv32, #res.offset=0bv32, #t~malloc5.base=2164392968bv32, #t~malloc5.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~ptr~0.base=2164392968bv32, ~ptr~0.offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret18.base=2164392968bv32, #t~ret18.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L622] ~le~0.base, ~le~0.offset := #t~ret18.base, #t~ret18.offset; [L622] havoc #t~ret18.base, #t~ret18.offset; [L623] call write~intINTTYPE4(~new, ~le~0.base, ~le~0.offset, 4bv32); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L624] CALL call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L590-L593] ~new.base, ~new.offset := #in~new.base, #in~new.offset; [L590-L593] ~head.base, ~head.offset := #in~head.base, #in~head.offset; [L592] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~head.base, ~head.offset, 4bv32); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=2164392969bv32, #t~mem6.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L592] CALL call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L576-L584] ~new.base, ~new.offset := #in~new.base, #in~new.offset; [L576-L584] ~prev.base, ~prev.offset := #in~prev.base, #in~prev.offset; [L576-L584] ~next.base, ~next.offset := #in~next.base, #in~next.offset; [L580] call write~$Pointer$(~new.base, ~new.offset, ~next.base, ~bvadd32(4bv32, ~next.offset), 4bv32); [L581] call write~$Pointer$(~next.base, ~next.offset, ~new.base, ~new.offset, 4bv32); [L582] call write~$Pointer$(~prev.base, ~prev.offset, ~new.base, ~bvadd32(4bv32, ~new.offset), 4bv32); [L583] call write~$Pointer$(~new.base, ~new.offset, ~prev.base, ~prev.offset, 4bv32); VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32, ~next.base=2164392969bv32, ~next.offset=0bv32, ~prev.base=2164392969bv32, ~prev.offset=0bv32] [L576-L584] ensures true; VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32, ~next.base=2164392969bv32, ~next.offset=0bv32, ~prev.base=2164392969bv32, ~prev.offset=0bv32] [L592] RET call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=2164392969bv32, #t~mem6.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L592] havoc #t~mem6.base, #t~mem6.offset; VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L590-L593] ensures true; VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L624] RET call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L608] ensures true; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s.base, ~s.offset := #in~s.base, #in~s.offset; [L638] havoc ~m~1.base, ~m~1.offset; [L639] call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32); [L639] ~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset; [L639] havoc #t~mem23.base, #t~mem23.offset; [L639] ~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L639-L643] assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); [L640] call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem25=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L640-L642] assume #t~mem25 == ~e; [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L610] ensures true; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret28=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] assume 0bv32 != #t~ret28; [L654] havoc #t~ret28; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=0bv32, ~#s1~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L649] FCALL call ~#s1~0 := #Ultimate.alloc(8bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~#s1~0!offset }, 4bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~bvadd32(4bv32, ~#s1~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L658] CALL call foo(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s := #in~s; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND TRUE !({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s) VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] COND TRUE 0bv32 == #t~ret17 [L620] havoc #t~ret17; [L621] havoc ~le~0; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] CALL call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L562-L566] ~size := #in~size; [L563] FCALL call #t~malloc5 := #Ultimate.alloc(~size); [L563] ~ptr~0 := #t~malloc5; [L564] assume 0bv32 != (if ~ptr~0 != { base: 0bv32, offset: 0bv32 } then 1bv32 else 0bv32); [L565] #res := ~ptr~0; VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2164392968bv32, #res!offset=0bv32, #t~malloc5!base=2164392968bv32, #t~malloc5!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~ptr~0!base=2164392968bv32, ~ptr~0!offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret18!base=2164392968bv32, #t~ret18!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] ~le~0 := #t~ret18; [L622] havoc #t~ret18; [L623] FCALL call write~intINTTYPE4(~new, { base: ~le~0!base, offset: ~le~0!offset }, 4bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L624] CALL call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L590-L593] ~new := #in~new; [L590-L593] ~head := #in~head; [L592] FCALL call #t~mem6 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4bv32); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] CALL call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L576-L584] ~new := #in~new; [L576-L584] ~prev := #in~prev; [L576-L584] ~next := #in~next; [L580] FCALL call write~$Pointer$(~new, { base: ~next!base, offset: ~bvadd32(4bv32, ~next!offset) }, 4bv32); [L581] FCALL call write~$Pointer$(~next, { base: ~new!base, offset: ~new!offset }, 4bv32); [L582] FCALL call write~$Pointer$(~prev, { base: ~new!base, offset: ~bvadd32(4bv32, ~new!offset) }, 4bv32); [L583] FCALL call write~$Pointer$(~new, { base: ~prev!base, offset: ~prev!offset }, 4bv32); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32, ~next!base=2164392969bv32, ~next!offset=0bv32, ~prev!base=2164392969bv32, ~prev!offset=0bv32] [L592] RET call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] havoc #t~mem6; VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L624] RET call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND FALSE !(!({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s)) [L640] FCALL call #t~mem25 := read~intINTTYPE4({ base: ~m~1!base, offset: ~m~1!offset }, 4bv32); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem25=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L640] COND TRUE #t~mem25 == ~e [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret28=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] COND TRUE 0bv32 != #t~ret28 [L654] havoc #t~ret28; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=0bv32, ~#s1~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L649] FCALL call ~#s1~0 := #Ultimate.alloc(8bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~#s1~0!offset }, 4bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~bvadd32(4bv32, ~#s1~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L658] CALL call foo(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s := #in~s; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND TRUE !({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s) VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] COND TRUE 0bv32 == #t~ret17 [L620] havoc #t~ret17; [L621] havoc ~le~0; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] CALL call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L562-L566] ~size := #in~size; [L563] FCALL call #t~malloc5 := #Ultimate.alloc(~size); [L563] ~ptr~0 := #t~malloc5; [L564] assume 0bv32 != (if ~ptr~0 != { base: 0bv32, offset: 0bv32 } then 1bv32 else 0bv32); [L565] #res := ~ptr~0; VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2164392968bv32, #res!offset=0bv32, #t~malloc5!base=2164392968bv32, #t~malloc5!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~ptr~0!base=2164392968bv32, ~ptr~0!offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret18!base=2164392968bv32, #t~ret18!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] ~le~0 := #t~ret18; [L622] havoc #t~ret18; [L623] FCALL call write~intINTTYPE4(~new, { base: ~le~0!base, offset: ~le~0!offset }, 4bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L624] CALL call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L590-L593] ~new := #in~new; [L590-L593] ~head := #in~head; [L592] FCALL call #t~mem6 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4bv32); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] CALL call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L576-L584] ~new := #in~new; [L576-L584] ~prev := #in~prev; [L576-L584] ~next := #in~next; [L580] FCALL call write~$Pointer$(~new, { base: ~next!base, offset: ~bvadd32(4bv32, ~next!offset) }, 4bv32); [L581] FCALL call write~$Pointer$(~next, { base: ~new!base, offset: ~new!offset }, 4bv32); [L582] FCALL call write~$Pointer$(~prev, { base: ~new!base, offset: ~bvadd32(4bv32, ~new!offset) }, 4bv32); [L583] FCALL call write~$Pointer$(~new, { base: ~prev!base, offset: ~prev!offset }, 4bv32); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32, ~next!base=2164392969bv32, ~next!offset=0bv32, ~prev!base=2164392969bv32, ~prev!offset=0bv32] [L592] RET call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] havoc #t~mem6; VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L624] RET call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND FALSE !(!({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s)) [L640] FCALL call #t~mem25 := read~intINTTYPE4({ base: ~m~1!base, offset: ~m~1!offset }, 4bv32); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem25=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L640] COND TRUE #t~mem25 == ~e [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret28=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] COND TRUE 0bv32 != #t~ret28 [L654] havoc #t~ret28; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=0bv32, ~#s1~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L649] FCALL call ~#s1~0 := #Ultimate.alloc(8bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~#s1~0!offset }, 4bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~bvadd32(4bv32, ~#s1~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L658] CALL call foo(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s := #in~s; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND TRUE !({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s) VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] COND TRUE 0bv32 == #t~ret17 [L620] havoc #t~ret17; [L621] havoc ~le~0; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] CALL call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L562-L566] ~size := #in~size; [L563] FCALL call #t~malloc5 := #Ultimate.alloc(~size); [L563] ~ptr~0 := #t~malloc5; [L564] assume 0bv32 != (if ~ptr~0 != { base: 0bv32, offset: 0bv32 } then 1bv32 else 0bv32); [L565] #res := ~ptr~0; VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2164392968bv32, #res!offset=0bv32, #t~malloc5!base=2164392968bv32, #t~malloc5!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~ptr~0!base=2164392968bv32, ~ptr~0!offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret18!base=2164392968bv32, #t~ret18!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] ~le~0 := #t~ret18; [L622] havoc #t~ret18; [L623] FCALL call write~intINTTYPE4(~new, { base: ~le~0!base, offset: ~le~0!offset }, 4bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L624] CALL call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L590-L593] ~new := #in~new; [L590-L593] ~head := #in~head; [L592] FCALL call #t~mem6 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4bv32); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] CALL call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L576-L584] ~new := #in~new; [L576-L584] ~prev := #in~prev; [L576-L584] ~next := #in~next; [L580] FCALL call write~$Pointer$(~new, { base: ~next!base, offset: ~bvadd32(4bv32, ~next!offset) }, 4bv32); [L581] FCALL call write~$Pointer$(~next, { base: ~new!base, offset: ~new!offset }, 4bv32); [L582] FCALL call write~$Pointer$(~prev, { base: ~new!base, offset: ~bvadd32(4bv32, ~new!offset) }, 4bv32); [L583] FCALL call write~$Pointer$(~new, { base: ~prev!base, offset: ~prev!offset }, 4bv32); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32, ~next!base=2164392969bv32, ~next!offset=0bv32, ~prev!base=2164392969bv32, ~prev!offset=0bv32] [L592] RET call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] havoc #t~mem6; VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L624] RET call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND FALSE !(!({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s)) [L640] FCALL call #t~mem25 := read~intINTTYPE4({ base: ~m~1!base, offset: ~m~1!offset }, 4bv32); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem25=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L640] COND TRUE #t~mem25 == ~e [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret28=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] COND TRUE 0bv32 != #t~ret28 [L654] havoc #t~ret28; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] ----- [2018-11-23 11:10:40,609 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: BitvecLiteral 0bv32 could not be translated for associated CType STRUCT~~ldv_list_head?next~*ldv_list_head?prev~*ldv_list_head# [2018-11-23 11:10:40,610 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: BitvecLiteral 0bv32 could not be translated for associated CType STRUCT~~ldv_list_head?next~*ldv_list_head?prev~*ldv_list_head# ----- 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(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=0bv32, ~#s1~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L649] FCALL call ~#s1~0 := #Ultimate.alloc(8bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~#s1~0!offset }, 4bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~bvadd32(4bv32, ~#s1~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L658] CALL call foo(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s := #in~s; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND TRUE !({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s) VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] COND TRUE 0bv32 == #t~ret17 [L620] havoc #t~ret17; [L621] havoc ~le~0; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] CALL call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L562-L566] ~size := #in~size; [L563] FCALL call #t~malloc5 := #Ultimate.alloc(~size); [L563] ~ptr~0 := #t~malloc5; [L564] assume 0bv32 != (if ~ptr~0 != { base: 0bv32, offset: 0bv32 } then 1bv32 else 0bv32); [L565] #res := ~ptr~0; VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2164392968bv32, #res!offset=0bv32, #t~malloc5!base=2164392968bv32, #t~malloc5!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~ptr~0!base=2164392968bv32, ~ptr~0!offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret18!base=2164392968bv32, #t~ret18!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] ~le~0 := #t~ret18; [L622] havoc #t~ret18; [L623] FCALL call write~intINTTYPE4(~new, { base: ~le~0!base, offset: ~le~0!offset }, 4bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L624] CALL call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L590-L593] ~new := #in~new; [L590-L593] ~head := #in~head; [L592] FCALL call #t~mem6 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4bv32); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] CALL call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L576-L584] ~new := #in~new; [L576-L584] ~prev := #in~prev; [L576-L584] ~next := #in~next; [L580] FCALL call write~$Pointer$(~new, { base: ~next!base, offset: ~bvadd32(4bv32, ~next!offset) }, 4bv32); [L581] FCALL call write~$Pointer$(~next, { base: ~new!base, offset: ~new!offset }, 4bv32); [L582] FCALL call write~$Pointer$(~prev, { base: ~new!base, offset: ~bvadd32(4bv32, ~new!offset) }, 4bv32); [L583] FCALL call write~$Pointer$(~new, { base: ~prev!base, offset: ~prev!offset }, 4bv32); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32, ~next!base=2164392969bv32, ~next!offset=0bv32, ~prev!base=2164392969bv32, ~prev!offset=0bv32] [L592] RET call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] havoc #t~mem6; VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L624] RET call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND FALSE !(!({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s)) [L640] FCALL call #t~mem25 := read~intINTTYPE4({ base: ~m~1!base, offset: ~m~1!offset }, 4bv32); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem25=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L640] COND TRUE #t~mem25 == ~e [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret28=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] COND TRUE 0bv32 != #t~ret28 [L654] havoc #t~ret28; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L649] struct ldv_list_head s1 = { &(s1), &(s1) }; VAL [\old(s1)=null, \old(s1)=null, s1={-2130574327:0}] [L658] CALL foo() VAL [s1={-2130574327:0}] [L652] int j = __VERIFIER_nondet_int(); [L653] CALL ldv_set_add(j, &s1) VAL [\old(new)=0, s={-2130574327:0}, s1={-2130574327:0}] [L620] CALL, EXPR ldv_is_in_set(new, s) VAL [\old(e)=0, s={-2130574327:0}, s1={-2130574327:0}] [L638] struct ldv_list_element *m; [L639] EXPR (s)->next [L639] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L639] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) VAL [\old(e)=0, __mptr={-2130574327:0}, e=0, m={-2130574327:-4}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L639] COND FALSE !(&m->list != (s)) VAL [\old(e)=0, __mptr={-2130574327:0}, e=0, m={-2130574327:-4}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L644] return 0; VAL [\old(e)=0, \result=0, __mptr={-2130574327:0}, e=0, m={-2130574327:-4}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L620] RET, EXPR ldv_is_in_set(new, s) VAL [\old(new)=0, ldv_is_in_set(new, s)=0, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L620] COND TRUE !ldv_is_in_set(new, s) [L621] struct ldv_list_element *le; VAL [\old(new)=0, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L622] CALL, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [\old(size)=12, s1={-2130574327:0}] [L563] void *ptr = malloc(size); [L565] return ptr; VAL [\old(size)=12, \result={-2130574328:0}, malloc(size)={-2130574328:0}, ptr={-2130574328:0}, s1={-2130574327:0}, size=12] [L622] RET, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [\old(new)=0, ldv_successful_malloc(sizeof(struct ldv_list_element))={-2130574328:0}, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L622] le = (struct ldv_list_element*)ldv_successful_malloc(sizeof(struct ldv_list_element)) [L623] le->e = new VAL [\old(new)=0, le={-2130574328:0}, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L624] CALL ldv_list_add(&le->list, s) VAL [head={-2130574327:0}, new={-2130574328:4}, s1={-2130574327:0}] [L592] EXPR head->next VAL [head={-2130574327:0}, head={-2130574327:0}, head->next={-2130574327:0}, new={-2130574328:4}, new={-2130574328:4}, s1={-2130574327:0}] [L592] CALL __ldv_list_add(new, head, head->next) VAL [new={-2130574328:4}, next={-2130574327:0}, prev={-2130574327:0}, s1={-2130574327:0}] [L580] next->prev = new [L581] new->next = next [L582] new->prev = prev [L583] prev->next = new VAL [new={-2130574328:4}, new={-2130574328:4}, next={-2130574327:0}, next={-2130574327:0}, prev={-2130574327:0}, prev={-2130574327:0}, s1={-2130574327:0}] [L592] RET __ldv_list_add(new, head, head->next) VAL [head={-2130574327:0}, head={-2130574327:0}, head->next={-2130574327:0}, new={-2130574328:4}, new={-2130574328:4}, s1={-2130574327:0}] [L624] RET ldv_list_add(&le->list, s) VAL [\old(new)=0, le={-2130574328:0}, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L653] RET ldv_set_add(j, &s1) VAL [j=0, s1={-2130574327:0}] [L654] CALL ldv_is_in_set(j, &s1) VAL [\old(e)=0, s={-2130574327:0}, s1={-2130574327:0}] [L638] struct ldv_list_element *m; [L639] EXPR (s)->next [L639] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L639] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) VAL [\old(e)=0, __mptr={-2130574328:4}, e=0, m={-2130574328:0}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L639] COND TRUE &m->list != (s) [L640] EXPR m->e VAL [\old(e)=0, __mptr={-2130574328:4}, e=0, m={-2130574328:0}, m->e=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L640] COND TRUE m->e == e [L641] return 1; VAL [\old(e)=0, \result=1, __mptr={-2130574328:4}, e=0, m={-2130574328:0}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L654] RET ldv_is_in_set(j, &s1) VAL [j=0, ldv_is_in_set(j, &s1)=1, s1={-2130574327:0}] [L654] COND TRUE ldv_is_in_set(j, &s1) [L654] __VERIFIER_error() VAL [j=0, s1={-2130574327:0}] ----- [2018-11-23 11:10:40,640 WARN L170 areAnnotationChecker]: ldv_list_addENTRY has no Hoare annotation [2018-11-23 11:10:40,640 WARN L170 areAnnotationChecker]: ULTIMATE.initENTRY has no Hoare annotation [2018-11-23 11:10:40,640 WARN L170 areAnnotationChecker]: fooENTRY has no Hoare annotation [2018-11-23 11:10:40,640 WARN L170 areAnnotationChecker]: ldv_set_addENTRY has no Hoare annotation [2018-11-23 11:10:40,641 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:10:40,641 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:10:40,641 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:10:40,641 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:10:40,641 WARN L170 areAnnotationChecker]: ldv_is_in_setENTRY has no Hoare annotation [2018-11-23 11:10:40,641 WARN L170 areAnnotationChecker]: ldv_successful_mallocENTRY has no Hoare annotation [2018-11-23 11:10:40,641 WARN L170 areAnnotationChecker]: __ldv_list_addENTRY has no Hoare annotation [2018-11-23 11:10:40,641 WARN L170 areAnnotationChecker]: L592 has no Hoare annotation [2018-11-23 11:10:40,642 WARN L170 areAnnotationChecker]: L592 has no Hoare annotation [2018-11-23 11:10:40,642 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2018-11-23 11:10:40,642 WARN L170 areAnnotationChecker]: L653 has no Hoare annotation [2018-11-23 11:10:40,642 WARN L170 areAnnotationChecker]: L653 has no Hoare annotation [2018-11-23 11:10:40,642 WARN L170 areAnnotationChecker]: L620 has no Hoare annotation [2018-11-23 11:10:40,642 WARN L170 areAnnotationChecker]: L620 has no Hoare annotation [2018-11-23 11:10:40,642 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:10:40,643 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:10:40,643 WARN L170 areAnnotationChecker]: L658 has no Hoare annotation [2018-11-23 11:10:40,643 WARN L170 areAnnotationChecker]: L639-3 has no Hoare annotation [2018-11-23 11:10:40,643 WARN L170 areAnnotationChecker]: L639-3 has no Hoare annotation [2018-11-23 11:10:40,643 WARN L170 areAnnotationChecker]: L639-3 has no Hoare annotation [2018-11-23 11:10:40,643 WARN L170 areAnnotationChecker]: ldv_successful_mallocFINAL has no Hoare annotation [2018-11-23 11:10:40,643 WARN L170 areAnnotationChecker]: __ldv_list_addFINAL has no Hoare annotation [2018-11-23 11:10:40,643 WARN L170 areAnnotationChecker]: L592-1 has no Hoare annotation [2018-11-23 11:10:40,644 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2018-11-23 11:10:40,644 WARN L170 areAnnotationChecker]: L653-1 has no Hoare annotation [2018-11-23 11:10:40,644 WARN L170 areAnnotationChecker]: L653-1 has no Hoare annotation [2018-11-23 11:10:40,644 WARN L170 areAnnotationChecker]: L620-1 has no Hoare annotation [2018-11-23 11:10:40,644 WARN L170 areAnnotationChecker]: L620-1 has no Hoare annotation [2018-11-23 11:10:40,644 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2018-11-23 11:10:40,644 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2018-11-23 11:10:40,645 WARN L170 areAnnotationChecker]: L639-4 has no Hoare annotation [2018-11-23 11:10:40,645 WARN L170 areAnnotationChecker]: L640 has no Hoare annotation [2018-11-23 11:10:40,645 WARN L170 areAnnotationChecker]: L640 has no Hoare annotation [2018-11-23 11:10:40,645 WARN L170 areAnnotationChecker]: ldv_successful_mallocEXIT has no Hoare annotation [2018-11-23 11:10:40,645 WARN L170 areAnnotationChecker]: __ldv_list_addEXIT has no Hoare annotation [2018-11-23 11:10:40,645 WARN L170 areAnnotationChecker]: ldv_list_addFINAL has no Hoare annotation [2018-11-23 11:10:40,645 WARN L170 areAnnotationChecker]: L654 has no Hoare annotation [2018-11-23 11:10:40,645 WARN L170 areAnnotationChecker]: L654 has no Hoare annotation [2018-11-23 11:10:40,646 WARN L170 areAnnotationChecker]: L622 has no Hoare annotation [2018-11-23 11:10:40,646 WARN L170 areAnnotationChecker]: L622 has no Hoare annotation [2018-11-23 11:10:40,646 WARN L170 areAnnotationChecker]: L620-2 has no Hoare annotation [2018-11-23 11:10:40,646 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2018-11-23 11:10:40,646 WARN L170 areAnnotationChecker]: ldv_is_in_setFINAL has no Hoare annotation [2018-11-23 11:10:40,646 WARN L170 areAnnotationChecker]: L639-2 has no Hoare annotation [2018-11-23 11:10:40,646 WARN L170 areAnnotationChecker]: L622-1 has no Hoare annotation [2018-11-23 11:10:40,646 WARN L170 areAnnotationChecker]: ldv_list_addEXIT has no Hoare annotation [2018-11-23 11:10:40,647 WARN L170 areAnnotationChecker]: L654-1 has no Hoare annotation [2018-11-23 11:10:40,647 WARN L170 areAnnotationChecker]: L654-1 has no Hoare annotation [2018-11-23 11:10:40,647 WARN L170 areAnnotationChecker]: L654-3 has no Hoare annotation [2018-11-23 11:10:40,647 WARN L170 areAnnotationChecker]: ldv_set_addEXIT has no Hoare annotation [2018-11-23 11:10:40,647 WARN L170 areAnnotationChecker]: ldv_is_in_setEXIT has no Hoare annotation [2018-11-23 11:10:40,647 WARN L170 areAnnotationChecker]: ldv_is_in_setEXIT has no Hoare annotation [2018-11-23 11:10:40,647 WARN L170 areAnnotationChecker]: L624 has no Hoare annotation [2018-11-23 11:10:40,647 WARN L170 areAnnotationChecker]: L624 has no Hoare annotation [2018-11-23 11:10:40,647 WARN L170 areAnnotationChecker]: fooEXIT has no Hoare annotation [2018-11-23 11:10:40,648 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:10:40,650 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 11:10:40 BoogieIcfgContainer [2018-11-23 11:10:40,650 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 11:10:40,651 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:10:40,651 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:10:40,651 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:10:40,652 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:10:27" (3/4) ... [2018-11-23 11:10:40,655 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(~#s1~0.base)|=(_ bv0 32), |old(~#s1~0.offset)|=(_ bv0 32), |~#s1~0.base|=(_ bv0 32), |~#s1~0.offset|=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1];call ~#s1~0.base, ~#s1~0.offset := #Ultimate.alloc(8bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4bv32);call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~bvadd32(4bv32, ~#s1~0.offset), 4bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~#s1~0.base)|=(_ bv0 32), |old(~#s1~0.offset)|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32), |old(~#s1~0.base)|=(_ bv0 32), |old(~#s1~0.offset)|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #75#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call #t~ret29 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call foo(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~j~0 := #t~nondet27;havoc #t~nondet27; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~new := #in~new;~s.base, ~s.offset := #in~s.base, #in~s.offset; VAL [ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392969 32), ldv_is_in_set_~__mptr~3.offset=(_ bv0 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392969 32), ldv_is_in_set_~m~1.offset=(_ bv4294967292 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume !(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392969 32), ldv_is_in_set_~__mptr~3.offset=(_ bv0 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392969 32), ldv_is_in_set_~m~1.offset=(_ bv4294967292 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] #res := 0bv32; VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392969 32), ldv_is_in_set_~__mptr~3.offset=(_ bv0 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392969 32), ldv_is_in_set_~m~1.offset=(_ bv4294967292 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#res|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392969 32), ldv_is_in_set_~__mptr~3.offset=(_ bv0 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392969 32), ldv_is_in_set_~m~1.offset=(_ bv4294967292 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#res|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #69#return; VAL [ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |ldv_set_add_#t~ret17|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume 0bv32 == #t~ret17;havoc #t~ret17;havoc ~le~0.base, ~le~0.offset; VAL [ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_successful_malloc_#in~size|=(_ bv12 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~size := #in~size;call #t~malloc5.base, #t~malloc5.offset := #Ultimate.alloc(~size);~ptr~0.base, ~ptr~0.offset := #t~malloc5.base, #t~malloc5.offset;assume 0bv32 != (if ~ptr~0.base != 0bv32 || ~ptr~0.offset != 0bv32 then 1bv32 else 0bv32);#res.base, #res.offset := ~ptr~0.base, ~ptr~0.offset; VAL [ldv_successful_malloc_~ptr~0.base=(_ bv2164392968 32), ldv_successful_malloc_~ptr~0.offset=(_ bv0 32), ldv_successful_malloc_~size=(_ bv12 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_successful_malloc_#in~size|=(_ bv12 32), |ldv_successful_malloc_#res.base|=(_ bv2164392968 32), |ldv_successful_malloc_#res.offset|=(_ bv0 32), |ldv_successful_malloc_#t~malloc5.base|=(_ bv2164392968 32), |ldv_successful_malloc_#t~malloc5.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_successful_malloc_~ptr~0.base=(_ bv2164392968 32), ldv_successful_malloc_~ptr~0.offset=(_ bv0 32), ldv_successful_malloc_~size=(_ bv12 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_successful_malloc_#in~size|=(_ bv12 32), |ldv_successful_malloc_#res.base|=(_ bv2164392968 32), |ldv_successful_malloc_#res.offset|=(_ bv0 32), |ldv_successful_malloc_#t~malloc5.base|=(_ bv2164392968 32), |ldv_successful_malloc_#t~malloc5.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #71#return; VAL [ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |ldv_set_add_#t~ret18.base|=(_ bv2164392968 32), |ldv_set_add_#t~ret18.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~le~0.base, ~le~0.offset := #t~ret18.base, #t~ret18.offset;havoc #t~ret18.base, #t~ret18.offset;call write~intINTTYPE4(~new, ~le~0.base, ~le~0.offset, 4bv32); VAL [ldv_set_add_~le~0.base=(_ bv2164392968 32), ldv_set_add_~le~0.offset=(_ bv0 32), ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~new.base, ~new.offset := #in~new.base, #in~new.offset;~head.base, ~head.offset := #in~head.base, #in~head.offset;call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~head.base, ~head.offset, 4bv32); VAL [ldv_list_add_~head.base=(_ bv2164392969 32), ldv_list_add_~head.offset=(_ bv0 32), ldv_list_add_~new.base=(_ bv2164392968 32), ldv_list_add_~new.offset=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |ldv_list_add_#t~mem6.base|=(_ bv2164392969 32), |ldv_list_add_#t~mem6.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |__ldv_list_add_#in~new.base|=(_ bv2164392968 32), |__ldv_list_add_#in~new.offset|=(_ bv4 32), |__ldv_list_add_#in~next.base|=(_ bv2164392969 32), |__ldv_list_add_#in~next.offset|=(_ bv0 32), |__ldv_list_add_#in~prev.base|=(_ bv2164392969 32), |__ldv_list_add_#in~prev.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~new.base, ~new.offset := #in~new.base, #in~new.offset;~prev.base, ~prev.offset := #in~prev.base, #in~prev.offset;~next.base, ~next.offset := #in~next.base, #in~next.offset;call write~$Pointer$(~new.base, ~new.offset, ~next.base, ~bvadd32(4bv32, ~next.offset), 4bv32);call write~$Pointer$(~next.base, ~next.offset, ~new.base, ~new.offset, 4bv32);call write~$Pointer$(~prev.base, ~prev.offset, ~new.base, ~bvadd32(4bv32, ~new.offset), 4bv32);call write~$Pointer$(~new.base, ~new.offset, ~prev.base, ~prev.offset, 4bv32); VAL [__ldv_list_add_~new.base=(_ bv2164392968 32), __ldv_list_add_~new.offset=(_ bv4 32), __ldv_list_add_~next.base=(_ bv2164392969 32), __ldv_list_add_~next.offset=(_ bv0 32), __ldv_list_add_~prev.base=(_ bv2164392969 32), __ldv_list_add_~prev.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |__ldv_list_add_#in~new.base|=(_ bv2164392968 32), |__ldv_list_add_#in~new.offset|=(_ bv4 32), |__ldv_list_add_#in~next.base|=(_ bv2164392969 32), |__ldv_list_add_#in~next.offset|=(_ bv0 32), |__ldv_list_add_#in~prev.base|=(_ bv2164392969 32), |__ldv_list_add_#in~prev.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [__ldv_list_add_~new.base=(_ bv2164392968 32), __ldv_list_add_~new.offset=(_ bv4 32), __ldv_list_add_~next.base=(_ bv2164392969 32), __ldv_list_add_~next.offset=(_ bv0 32), __ldv_list_add_~prev.base=(_ bv2164392969 32), __ldv_list_add_~prev.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |__ldv_list_add_#in~new.base|=(_ bv2164392968 32), |__ldv_list_add_#in~new.offset|=(_ bv4 32), |__ldv_list_add_#in~next.base|=(_ bv2164392969 32), |__ldv_list_add_#in~next.offset|=(_ bv0 32), |__ldv_list_add_#in~prev.base|=(_ bv2164392969 32), |__ldv_list_add_#in~prev.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #61#return; VAL [ldv_list_add_~head.base=(_ bv2164392969 32), ldv_list_add_~head.offset=(_ bv0 32), ldv_list_add_~new.base=(_ bv2164392968 32), ldv_list_add_~new.offset=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |ldv_list_add_#t~mem6.base|=(_ bv2164392969 32), |ldv_list_add_#t~mem6.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] havoc #t~mem6.base, #t~mem6.offset; VAL [ldv_list_add_~head.base=(_ bv2164392969 32), ldv_list_add_~head.offset=(_ bv0 32), ldv_list_add_~new.base=(_ bv2164392968 32), ldv_list_add_~new.offset=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_list_add_~head.base=(_ bv2164392969 32), ldv_list_add_~head.offset=(_ bv0 32), ldv_list_add_~new.base=(_ bv2164392968 32), ldv_list_add_~new.offset=(_ bv4 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_list_add_#in~head.base|=(_ bv2164392969 32), |ldv_list_add_#in~head.offset|=(_ bv0 32), |ldv_list_add_#in~new.base|=(_ bv2164392968 32), |ldv_list_add_#in~new.offset|=(_ bv4 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #73#return; VAL [ldv_set_add_~le~0.base=(_ bv2164392968 32), ldv_set_add_~le~0.offset=(_ bv0 32), ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_set_add_~le~0.base=(_ bv2164392968 32), ldv_set_add_~le~0.offset=(_ bv0 32), ldv_set_add_~new=(_ bv0 32), ldv_set_add_~s.base=(_ bv2164392969 32), ldv_set_add_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_set_add_#in~new|=(_ bv0 32), |ldv_set_add_#in~s.base|=(_ bv2164392969 32), |ldv_set_add_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #63#return; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] ~e := #in~e;~s.base, ~s.offset := #in~s.base, #in~s.offset;havoc ~m~1.base, ~m~1.offset;call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32);~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset;havoc #t~mem23.base, #t~mem23.offset;~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392968 32), ldv_is_in_set_~__mptr~3.offset=(_ bv4 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392968 32), ldv_is_in_set_~m~1.offset=(_ bv0 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset);call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392968 32), ldv_is_in_set_~__mptr~3.offset=(_ bv4 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392968 32), ldv_is_in_set_~m~1.offset=(_ bv0 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#t~mem25|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume #t~mem25 == ~e;havoc #t~mem25;#res := 1bv32; VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392968 32), ldv_is_in_set_~__mptr~3.offset=(_ bv4 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392968 32), ldv_is_in_set_~m~1.offset=(_ bv0 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#res|=(_ bv1 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume true; VAL [ldv_is_in_set_~__mptr~3.base=(_ bv2164392968 32), ldv_is_in_set_~__mptr~3.offset=(_ bv4 32), ldv_is_in_set_~e=(_ bv0 32), ldv_is_in_set_~m~1.base=(_ bv2164392968 32), ldv_is_in_set_~m~1.offset=(_ bv0 32), ldv_is_in_set_~s.base=(_ bv2164392969 32), ldv_is_in_set_~s.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |ldv_is_in_set_#in~e|=(_ bv0 32), |ldv_is_in_set_#in~s.base|=(_ bv2164392969 32), |ldv_is_in_set_#in~s.offset|=(_ bv0 32), |ldv_is_in_set_#res|=(_ bv1 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] RET #65#return; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |foo_#t~ret28|=(_ bv1 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume 0bv32 != #t~ret28;havoc #t~ret28; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] assume !false; VAL [foo_~j~0=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |~#s1~0.base|=(_ bv2164392969 32), |~#s1~0.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=0bv32, ~#s1~0.offset=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L649] call ~#s1~0.base, ~#s1~0.offset := #Ultimate.alloc(8bv32); [L649] call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4bv32); [L649] call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~bvadd32(4bv32, ~#s1~0.offset), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L658] CALL call foo(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s.base, ~s.offset := #in~s.base, #in~s.offset; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s.base, ~s.offset := #in~s.base, #in~s.offset; [L638] havoc ~m~1.base, ~m~1.offset; [L639] call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32); [L639] ~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset; [L639] havoc #t~mem23.base, #t~mem23.offset; [L639] ~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L639-L643] assume !(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L610] ensures true; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret17=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620-L625] assume 0bv32 == #t~ret17; [L620] havoc #t~ret17; [L621] havoc ~le~0.base, ~le~0.offset; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L622] CALL call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L562-L566] ~size := #in~size; [L563] call #t~malloc5.base, #t~malloc5.offset := #Ultimate.alloc(~size); [L563] ~ptr~0.base, ~ptr~0.offset := #t~malloc5.base, #t~malloc5.offset; [L564] assume 0bv32 != (if ~ptr~0.base != 0bv32 || ~ptr~0.offset != 0bv32 then 1bv32 else 0bv32); [L565] #res.base, #res.offset := ~ptr~0.base, ~ptr~0.offset; VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2164392968bv32, #res.offset=0bv32, #t~malloc5.base=2164392968bv32, #t~malloc5.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~ptr~0.base=2164392968bv32, ~ptr~0.offset=0bv32, ~size=12bv32] [L562-L566] ensures true; VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2164392968bv32, #res.offset=0bv32, #t~malloc5.base=2164392968bv32, #t~malloc5.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~ptr~0.base=2164392968bv32, ~ptr~0.offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret18.base=2164392968bv32, #t~ret18.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L622] ~le~0.base, ~le~0.offset := #t~ret18.base, #t~ret18.offset; [L622] havoc #t~ret18.base, #t~ret18.offset; [L623] call write~intINTTYPE4(~new, ~le~0.base, ~le~0.offset, 4bv32); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L624] CALL call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L590-L593] ~new.base, ~new.offset := #in~new.base, #in~new.offset; [L590-L593] ~head.base, ~head.offset := #in~head.base, #in~head.offset; [L592] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~head.base, ~head.offset, 4bv32); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=2164392969bv32, #t~mem6.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L592] CALL call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L576-L584] ~new.base, ~new.offset := #in~new.base, #in~new.offset; [L576-L584] ~prev.base, ~prev.offset := #in~prev.base, #in~prev.offset; [L576-L584] ~next.base, ~next.offset := #in~next.base, #in~next.offset; [L580] call write~$Pointer$(~new.base, ~new.offset, ~next.base, ~bvadd32(4bv32, ~next.offset), 4bv32); [L581] call write~$Pointer$(~next.base, ~next.offset, ~new.base, ~new.offset, 4bv32); [L582] call write~$Pointer$(~prev.base, ~prev.offset, ~new.base, ~bvadd32(4bv32, ~new.offset), 4bv32); [L583] call write~$Pointer$(~new.base, ~new.offset, ~prev.base, ~prev.offset, 4bv32); VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32, ~next.base=2164392969bv32, ~next.offset=0bv32, ~prev.base=2164392969bv32, ~prev.offset=0bv32] [L576-L584] ensures true; VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32, ~next.base=2164392969bv32, ~next.offset=0bv32, ~prev.base=2164392969bv32, ~prev.offset=0bv32] [L592] RET call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=2164392969bv32, #t~mem6.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L592] havoc #t~mem6.base, #t~mem6.offset; VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L590-L593] ensures true; VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L624] RET call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L608] ensures true; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s.base, ~s.offset := #in~s.base, #in~s.offset; [L638] havoc ~m~1.base, ~m~1.offset; [L639] call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32); [L639] ~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset; [L639] havoc #t~mem23.base, #t~mem23.offset; [L639] ~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L639-L643] assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); [L640] call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem25=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L640-L642] assume #t~mem25 == ~e; [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L610] ensures true; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret28=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] assume 0bv32 != #t~ret28; [L654] havoc #t~ret28; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=0bv32, ~#s1~0.offset=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; [L649] call ~#s1~0.base, ~#s1~0.offset := #Ultimate.alloc(8bv32); [L649] call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~#s1~0.offset, 4bv32); [L649] call write~init~$Pointer$(~#s1~0.base, ~#s1~0.offset, ~#s1~0.base, ~bvadd32(4bv32, ~#s1~0.offset), 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32, old(~#s1~0.base)=0bv32, old(~#s1~0.offset)=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L658] CALL call foo(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s.base, ~s.offset := #in~s.base, #in~s.offset; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s.base, ~s.offset := #in~s.base, #in~s.offset; [L638] havoc ~m~1.base, ~m~1.offset; [L639] call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32); [L639] ~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset; [L639] havoc #t~mem23.base, #t~mem23.offset; [L639] ~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L639-L643] assume !(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L610] ensures true; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392969bv32, ~__mptr~3.offset=0bv32, ~e=0bv32, ~m~1.base=2164392969bv32, ~m~1.offset=4294967292bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s.base, ~s.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret17=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L620-L625] assume 0bv32 == #t~ret17; [L620] havoc #t~ret17; [L621] havoc ~le~0.base, ~le~0.offset; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L622] CALL call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L562-L566] ~size := #in~size; [L563] call #t~malloc5.base, #t~malloc5.offset := #Ultimate.alloc(~size); [L563] ~ptr~0.base, ~ptr~0.offset := #t~malloc5.base, #t~malloc5.offset; [L564] assume 0bv32 != (if ~ptr~0.base != 0bv32 || ~ptr~0.offset != 0bv32 then 1bv32 else 0bv32); [L565] #res.base, #res.offset := ~ptr~0.base, ~ptr~0.offset; VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2164392968bv32, #res.offset=0bv32, #t~malloc5.base=2164392968bv32, #t~malloc5.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~ptr~0.base=2164392968bv32, ~ptr~0.offset=0bv32, ~size=12bv32] [L562-L566] ensures true; VAL [#in~size=12bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res.base=2164392968bv32, #res.offset=0bv32, #t~malloc5.base=2164392968bv32, #t~malloc5.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~ptr~0.base=2164392968bv32, ~ptr~0.offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18.base, #t~ret18.offset := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~ret18.base=2164392968bv32, #t~ret18.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L622] ~le~0.base, ~le~0.offset := #t~ret18.base, #t~ret18.offset; [L622] havoc #t~ret18.base, #t~ret18.offset; [L623] call write~intINTTYPE4(~new, ~le~0.base, ~le~0.offset, 4bv32); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L624] CALL call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L590-L593] ~new.base, ~new.offset := #in~new.base, #in~new.offset; [L590-L593] ~head.base, ~head.offset := #in~head.base, #in~head.offset; [L592] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~head.base, ~head.offset, 4bv32); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=2164392969bv32, #t~mem6.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L592] CALL call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L576-L584] ~new.base, ~new.offset := #in~new.base, #in~new.offset; [L576-L584] ~prev.base, ~prev.offset := #in~prev.base, #in~prev.offset; [L576-L584] ~next.base, ~next.offset := #in~next.base, #in~next.offset; [L580] call write~$Pointer$(~new.base, ~new.offset, ~next.base, ~bvadd32(4bv32, ~next.offset), 4bv32); [L581] call write~$Pointer$(~next.base, ~next.offset, ~new.base, ~new.offset, 4bv32); [L582] call write~$Pointer$(~prev.base, ~prev.offset, ~new.base, ~bvadd32(4bv32, ~new.offset), 4bv32); [L583] call write~$Pointer$(~new.base, ~new.offset, ~prev.base, ~prev.offset, 4bv32); VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32, ~next.base=2164392969bv32, ~next.offset=0bv32, ~prev.base=2164392969bv32, ~prev.offset=0bv32] [L576-L584] ensures true; VAL [#in~new.base=2164392968bv32, #in~new.offset=4bv32, #in~next.base=2164392969bv32, #in~next.offset=0bv32, #in~prev.base=2164392969bv32, #in~prev.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32, ~next.base=2164392969bv32, ~next.offset=0bv32, ~prev.base=2164392969bv32, ~prev.offset=0bv32] [L592] RET call __ldv_list_add(~new.base, ~new.offset, ~head.base, ~head.offset, #t~mem6.base, #t~mem6.offset); VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem6.base=2164392969bv32, #t~mem6.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L592] havoc #t~mem6.base, #t~mem6.offset; VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L590-L593] ensures true; VAL [#in~head.base=2164392969bv32, #in~head.offset=0bv32, #in~new.base=2164392968bv32, #in~new.offset=4bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~head.base=2164392969bv32, ~head.offset=0bv32, ~new.base=2164392968bv32, ~new.offset=4bv32] [L624] RET call ldv_list_add(~le~0.base, ~bvadd32(4bv32, ~le~0.offset), ~s.base, ~s.offset); VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L608] ensures true; VAL [#in~new=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~le~0.base=2164392968bv32, ~le~0.offset=0bv32, ~new=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s.base, ~s.offset := #in~s.base, #in~s.offset; [L638] havoc ~m~1.base, ~m~1.offset; [L639] call #t~mem23.base, #t~mem23.offset := read~$Pointer$(~s.base, ~s.offset, 4bv32); [L639] ~__mptr~3.base, ~__mptr~3.offset := #t~mem23.base, #t~mem23.offset; [L639] havoc #t~mem23.base, #t~mem23.offset; [L639] ~m~1.base, ~m~1.offset := ~__mptr~3.base, ~bvsub32(~__mptr~3.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L639-L643] assume !!(~m~1.base != ~s.base || ~bvadd32(4bv32, ~m~1.offset) != ~s.offset); [L640] call #t~mem25 := read~intINTTYPE4(~m~1.base, ~m~1.offset, 4bv32); VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #t~mem25=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L640-L642] assume #t~mem25 == ~e; [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L610] ensures true; VAL [#in~e=0bv32, #in~s.base=2164392969bv32, #in~s.offset=0bv32, #NULL.base=0bv32, #NULL.offset=0bv32, #res=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~__mptr~3.base=2164392968bv32, ~__mptr~3.offset=4bv32, ~e=0bv32, ~m~1.base=2164392968bv32, ~m~1.offset=0bv32, ~s.base=2164392969bv32, ~s.offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0.base, ~#s1~0.offset); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~ret28=1bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] assume 0bv32 != #t~ret28; [L654] havoc #t~ret28; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, ~#s1~0.base=2164392969bv32, ~#s1~0.offset=0bv32, ~j~0=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=0bv32, ~#s1~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L649] FCALL call ~#s1~0 := #Ultimate.alloc(8bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~#s1~0!offset }, 4bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~bvadd32(4bv32, ~#s1~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L658] CALL call foo(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s := #in~s; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND TRUE !({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s) VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] COND TRUE 0bv32 == #t~ret17 [L620] havoc #t~ret17; [L621] havoc ~le~0; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] CALL call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L562-L566] ~size := #in~size; [L563] FCALL call #t~malloc5 := #Ultimate.alloc(~size); [L563] ~ptr~0 := #t~malloc5; [L564] assume 0bv32 != (if ~ptr~0 != { base: 0bv32, offset: 0bv32 } then 1bv32 else 0bv32); [L565] #res := ~ptr~0; VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2164392968bv32, #res!offset=0bv32, #t~malloc5!base=2164392968bv32, #t~malloc5!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~ptr~0!base=2164392968bv32, ~ptr~0!offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret18!base=2164392968bv32, #t~ret18!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] ~le~0 := #t~ret18; [L622] havoc #t~ret18; [L623] FCALL call write~intINTTYPE4(~new, { base: ~le~0!base, offset: ~le~0!offset }, 4bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L624] CALL call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L590-L593] ~new := #in~new; [L590-L593] ~head := #in~head; [L592] FCALL call #t~mem6 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4bv32); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] CALL call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L576-L584] ~new := #in~new; [L576-L584] ~prev := #in~prev; [L576-L584] ~next := #in~next; [L580] FCALL call write~$Pointer$(~new, { base: ~next!base, offset: ~bvadd32(4bv32, ~next!offset) }, 4bv32); [L581] FCALL call write~$Pointer$(~next, { base: ~new!base, offset: ~new!offset }, 4bv32); [L582] FCALL call write~$Pointer$(~prev, { base: ~new!base, offset: ~bvadd32(4bv32, ~new!offset) }, 4bv32); [L583] FCALL call write~$Pointer$(~new, { base: ~prev!base, offset: ~prev!offset }, 4bv32); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32, ~next!base=2164392969bv32, ~next!offset=0bv32, ~prev!base=2164392969bv32, ~prev!offset=0bv32] [L592] RET call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] havoc #t~mem6; VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L624] RET call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND FALSE !(!({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s)) [L640] FCALL call #t~mem25 := read~intINTTYPE4({ base: ~m~1!base, offset: ~m~1!offset }, 4bv32); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem25=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L640] COND TRUE #t~mem25 == ~e [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret28=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] COND TRUE 0bv32 != #t~ret28 [L654] havoc #t~ret28; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=0bv32, ~#s1~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L649] FCALL call ~#s1~0 := #Ultimate.alloc(8bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~#s1~0!offset }, 4bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~bvadd32(4bv32, ~#s1~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L658] CALL call foo(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s := #in~s; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND TRUE !({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s) VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] COND TRUE 0bv32 == #t~ret17 [L620] havoc #t~ret17; [L621] havoc ~le~0; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] CALL call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L562-L566] ~size := #in~size; [L563] FCALL call #t~malloc5 := #Ultimate.alloc(~size); [L563] ~ptr~0 := #t~malloc5; [L564] assume 0bv32 != (if ~ptr~0 != { base: 0bv32, offset: 0bv32 } then 1bv32 else 0bv32); [L565] #res := ~ptr~0; VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2164392968bv32, #res!offset=0bv32, #t~malloc5!base=2164392968bv32, #t~malloc5!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~ptr~0!base=2164392968bv32, ~ptr~0!offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret18!base=2164392968bv32, #t~ret18!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] ~le~0 := #t~ret18; [L622] havoc #t~ret18; [L623] FCALL call write~intINTTYPE4(~new, { base: ~le~0!base, offset: ~le~0!offset }, 4bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L624] CALL call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L590-L593] ~new := #in~new; [L590-L593] ~head := #in~head; [L592] FCALL call #t~mem6 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4bv32); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] CALL call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L576-L584] ~new := #in~new; [L576-L584] ~prev := #in~prev; [L576-L584] ~next := #in~next; [L580] FCALL call write~$Pointer$(~new, { base: ~next!base, offset: ~bvadd32(4bv32, ~next!offset) }, 4bv32); [L581] FCALL call write~$Pointer$(~next, { base: ~new!base, offset: ~new!offset }, 4bv32); [L582] FCALL call write~$Pointer$(~prev, { base: ~new!base, offset: ~bvadd32(4bv32, ~new!offset) }, 4bv32); [L583] FCALL call write~$Pointer$(~new, { base: ~prev!base, offset: ~prev!offset }, 4bv32); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32, ~next!base=2164392969bv32, ~next!offset=0bv32, ~prev!base=2164392969bv32, ~prev!offset=0bv32] [L592] RET call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] havoc #t~mem6; VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L624] RET call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND FALSE !(!({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s)) [L640] FCALL call #t~mem25 := read~intINTTYPE4({ base: ~m~1!base, offset: ~m~1!offset }, 4bv32); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem25=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L640] COND TRUE #t~mem25 == ~e [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret28=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] COND TRUE 0bv32 != #t~ret28 [L654] havoc #t~ret28; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=0bv32, ~#s1~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L649] FCALL call ~#s1~0 := #Ultimate.alloc(8bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~#s1~0!offset }, 4bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~bvadd32(4bv32, ~#s1~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L658] CALL call foo(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s := #in~s; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND TRUE !({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s) VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] COND TRUE 0bv32 == #t~ret17 [L620] havoc #t~ret17; [L621] havoc ~le~0; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] CALL call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L562-L566] ~size := #in~size; [L563] FCALL call #t~malloc5 := #Ultimate.alloc(~size); [L563] ~ptr~0 := #t~malloc5; [L564] assume 0bv32 != (if ~ptr~0 != { base: 0bv32, offset: 0bv32 } then 1bv32 else 0bv32); [L565] #res := ~ptr~0; VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2164392968bv32, #res!offset=0bv32, #t~malloc5!base=2164392968bv32, #t~malloc5!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~ptr~0!base=2164392968bv32, ~ptr~0!offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret18!base=2164392968bv32, #t~ret18!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] ~le~0 := #t~ret18; [L622] havoc #t~ret18; [L623] FCALL call write~intINTTYPE4(~new, { base: ~le~0!base, offset: ~le~0!offset }, 4bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L624] CALL call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L590-L593] ~new := #in~new; [L590-L593] ~head := #in~head; [L592] FCALL call #t~mem6 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4bv32); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] CALL call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L576-L584] ~new := #in~new; [L576-L584] ~prev := #in~prev; [L576-L584] ~next := #in~next; [L580] FCALL call write~$Pointer$(~new, { base: ~next!base, offset: ~bvadd32(4bv32, ~next!offset) }, 4bv32); [L581] FCALL call write~$Pointer$(~next, { base: ~new!base, offset: ~new!offset }, 4bv32); [L582] FCALL call write~$Pointer$(~prev, { base: ~new!base, offset: ~bvadd32(4bv32, ~new!offset) }, 4bv32); [L583] FCALL call write~$Pointer$(~new, { base: ~prev!base, offset: ~prev!offset }, 4bv32); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32, ~next!base=2164392969bv32, ~next!offset=0bv32, ~prev!base=2164392969bv32, ~prev!offset=0bv32] [L592] RET call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] havoc #t~mem6; VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L624] RET call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND FALSE !(!({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s)) [L640] FCALL call #t~mem25 := read~intINTTYPE4({ base: ~m~1!base, offset: ~m~1!offset }, 4bv32); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem25=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L640] COND TRUE #t~mem25 == ~e [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret28=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] COND TRUE 0bv32 != #t~ret28 [L654] havoc #t~ret28; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] ----- [2018-11-23 11:10:40,696 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: BitvecLiteral 0bv32 could not be translated for associated CType STRUCT~~ldv_list_head?next~*ldv_list_head?prev~*ldv_list_head# [2018-11-23 11:10:40,697 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: BitvecLiteral 0bv32 could not be translated for associated CType STRUCT~~ldv_list_head?next~*ldv_list_head?prev~*ldv_list_head# ----- 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(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=0bv32, ~#s1~0!offset=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; [L649] FCALL call ~#s1~0 := #Ultimate.alloc(8bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~#s1~0!offset }, 4bv32); [L649] FCALL call write~init~$Pointer$(~#s1~0, { base: ~#s1~0!base, offset: ~bvadd32(4bv32, ~#s1~0!offset) }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32, old(~#s1~0!base)=0bv32, old(~#s1~0!offset)=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [?] CALL call #t~ret29 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L658] CALL call foo(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L652] ~j~0 := #t~nondet27; [L652] havoc #t~nondet27; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L653] CALL call ldv_set_add(~j~0, ~#s1~0); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L619-L626] ~new := #in~new; [L619-L626] ~s := #in~s; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] CALL call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND TRUE !({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s) VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L644] #res := 0bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392969bv32, ~__mptr~3!offset=0bv32, ~e=0bv32, ~m~1!base=2164392969bv32, ~m~1!offset=4294967292bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] RET call #t~ret17 := ldv_is_in_set(~new, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret17=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L620] COND TRUE 0bv32 == #t~ret17 [L620] havoc #t~ret17; [L621] havoc ~le~0; VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] CALL call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L562-L566] ~size := #in~size; [L563] FCALL call #t~malloc5 := #Ultimate.alloc(~size); [L563] ~ptr~0 := #t~malloc5; [L564] assume 0bv32 != (if ~ptr~0 != { base: 0bv32, offset: 0bv32 } then 1bv32 else 0bv32); [L565] #res := ~ptr~0; VAL [#in~size=12bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res!base=2164392968bv32, #res!offset=0bv32, #t~malloc5!base=2164392968bv32, #t~malloc5!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~ptr~0!base=2164392968bv32, ~ptr~0!offset=0bv32, ~size=12bv32] [L622] RET call #t~ret18 := ldv_successful_malloc(12bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~ret18!base=2164392968bv32, #t~ret18!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L622] ~le~0 := #t~ret18; [L622] havoc #t~ret18; [L623] FCALL call write~intINTTYPE4(~new, { base: ~le~0!base, offset: ~le~0!offset }, 4bv32); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L624] CALL call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L590-L593] ~new := #in~new; [L590-L593] ~head := #in~head; [L592] FCALL call #t~mem6 := read~$Pointer$({ base: ~head!base, offset: ~head!offset }, 4bv32); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] CALL call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L576-L584] ~new := #in~new; [L576-L584] ~prev := #in~prev; [L576-L584] ~next := #in~next; [L580] FCALL call write~$Pointer$(~new, { base: ~next!base, offset: ~bvadd32(4bv32, ~next!offset) }, 4bv32); [L581] FCALL call write~$Pointer$(~next, { base: ~new!base, offset: ~new!offset }, 4bv32); [L582] FCALL call write~$Pointer$(~prev, { base: ~new!base, offset: ~bvadd32(4bv32, ~new!offset) }, 4bv32); [L583] FCALL call write~$Pointer$(~new, { base: ~prev!base, offset: ~prev!offset }, 4bv32); VAL [#in~new!base=2164392968bv32, #in~new!offset=4bv32, #in~next!base=2164392969bv32, #in~next!offset=0bv32, #in~prev!base=2164392969bv32, #in~prev!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32, ~next!base=2164392969bv32, ~next!offset=0bv32, ~prev!base=2164392969bv32, ~prev!offset=0bv32] [L592] RET call __ldv_list_add(~new, ~head, #t~mem6); VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem6!base=2164392969bv32, #t~mem6!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L592] havoc #t~mem6; VAL [#in~head!base=2164392969bv32, #in~head!offset=0bv32, #in~new!base=2164392968bv32, #in~new!offset=4bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~head!base=2164392969bv32, ~head!offset=0bv32, ~new!base=2164392968bv32, ~new!offset=4bv32] [L624] RET call ldv_list_add({ base: ~le~0!base, offset: ~bvadd32(4bv32, ~le~0!offset) }, ~s); VAL [#in~new=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~le~0!base=2164392968bv32, ~le~0!offset=0bv32, ~new=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L653] RET call ldv_set_add(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] CALL call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32] [L637-L645] ~e := #in~e; [L637-L645] ~s := #in~s; [L638] havoc ~m~1; [L639] FCALL call #t~mem23 := read~$Pointer$({ base: ~s!base, offset: ~s!offset }, 4bv32); [L639] ~__mptr~3 := #t~mem23; [L639] havoc #t~mem23; [L639] ~m~1 := { base: ~__mptr~3!base, offset: ~bvsub32(~__mptr~3!offset, 4bv32) }; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L639-L643] COND FALSE !(!({ base: ~m~1!base, offset: ~bvadd32(4bv32, ~m~1!offset) } != ~s)) [L640] FCALL call #t~mem25 := read~intINTTYPE4({ base: ~m~1!base, offset: ~m~1!offset }, 4bv32); VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #t~mem25=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L640] COND TRUE #t~mem25 == ~e [L640] havoc #t~mem25; [L641] #res := 1bv32; VAL [#in~e=0bv32, #in~s!base=2164392969bv32, #in~s!offset=0bv32, #NULL!base=0bv32, #NULL!offset=0bv32, #res=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~__mptr~3!base=2164392968bv32, ~__mptr~3!offset=4bv32, ~e=0bv32, ~m~1!base=2164392968bv32, ~m~1!offset=0bv32, ~s!base=2164392969bv32, ~s!offset=0bv32] [L654] RET call #t~ret28 := ldv_is_in_set(~j~0, ~#s1~0); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~ret28=1bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] COND TRUE 0bv32 != #t~ret28 [L654] havoc #t~ret28; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L654] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, ~#s1~0!base=2164392969bv32, ~#s1~0!offset=0bv32, ~j~0=0bv32] [L649] struct ldv_list_head s1 = { &(s1), &(s1) }; VAL [\old(s1)=null, \old(s1)=null, s1={-2130574327:0}] [L658] CALL foo() VAL [s1={-2130574327:0}] [L652] int j = __VERIFIER_nondet_int(); [L653] CALL ldv_set_add(j, &s1) VAL [\old(new)=0, s={-2130574327:0}, s1={-2130574327:0}] [L620] CALL, EXPR ldv_is_in_set(new, s) VAL [\old(e)=0, s={-2130574327:0}, s1={-2130574327:0}] [L638] struct ldv_list_element *m; [L639] EXPR (s)->next [L639] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L639] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) VAL [\old(e)=0, __mptr={-2130574327:0}, e=0, m={-2130574327:-4}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L639] COND FALSE !(&m->list != (s)) VAL [\old(e)=0, __mptr={-2130574327:0}, e=0, m={-2130574327:-4}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L644] return 0; VAL [\old(e)=0, \result=0, __mptr={-2130574327:0}, e=0, m={-2130574327:-4}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L620] RET, EXPR ldv_is_in_set(new, s) VAL [\old(new)=0, ldv_is_in_set(new, s)=0, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L620] COND TRUE !ldv_is_in_set(new, s) [L621] struct ldv_list_element *le; VAL [\old(new)=0, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L622] CALL, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [\old(size)=12, s1={-2130574327:0}] [L563] void *ptr = malloc(size); [L565] return ptr; VAL [\old(size)=12, \result={-2130574328:0}, malloc(size)={-2130574328:0}, ptr={-2130574328:0}, s1={-2130574327:0}, size=12] [L622] RET, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [\old(new)=0, ldv_successful_malloc(sizeof(struct ldv_list_element))={-2130574328:0}, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L622] le = (struct ldv_list_element*)ldv_successful_malloc(sizeof(struct ldv_list_element)) [L623] le->e = new VAL [\old(new)=0, le={-2130574328:0}, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L624] CALL ldv_list_add(&le->list, s) VAL [head={-2130574327:0}, new={-2130574328:4}, s1={-2130574327:0}] [L592] EXPR head->next VAL [head={-2130574327:0}, head={-2130574327:0}, head->next={-2130574327:0}, new={-2130574328:4}, new={-2130574328:4}, s1={-2130574327:0}] [L592] CALL __ldv_list_add(new, head, head->next) VAL [new={-2130574328:4}, next={-2130574327:0}, prev={-2130574327:0}, s1={-2130574327:0}] [L580] next->prev = new [L581] new->next = next [L582] new->prev = prev [L583] prev->next = new VAL [new={-2130574328:4}, new={-2130574328:4}, next={-2130574327:0}, next={-2130574327:0}, prev={-2130574327:0}, prev={-2130574327:0}, s1={-2130574327:0}] [L592] RET __ldv_list_add(new, head, head->next) VAL [head={-2130574327:0}, head={-2130574327:0}, head->next={-2130574327:0}, new={-2130574328:4}, new={-2130574328:4}, s1={-2130574327:0}] [L624] RET ldv_list_add(&le->list, s) VAL [\old(new)=0, le={-2130574328:0}, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L653] RET ldv_set_add(j, &s1) VAL [j=0, s1={-2130574327:0}] [L654] CALL ldv_is_in_set(j, &s1) VAL [\old(e)=0, s={-2130574327:0}, s1={-2130574327:0}] [L638] struct ldv_list_element *m; [L639] EXPR (s)->next [L639] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L639] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) VAL [\old(e)=0, __mptr={-2130574328:4}, e=0, m={-2130574328:0}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L639] COND TRUE &m->list != (s) [L640] EXPR m->e VAL [\old(e)=0, __mptr={-2130574328:4}, e=0, m={-2130574328:0}, m->e=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L640] COND TRUE m->e == e [L641] return 1; VAL [\old(e)=0, \result=1, __mptr={-2130574328:4}, e=0, m={-2130574328:0}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L654] RET ldv_is_in_set(j, &s1) VAL [j=0, ldv_is_in_set(j, &s1)=1, s1={-2130574327:0}] [L654] COND TRUE ldv_is_in_set(j, &s1) [L654] __VERIFIER_error() VAL [j=0, s1={-2130574327:0}] ----- [2018-11-23 11:10:40,762 INFO L145 WitnessManager]: Wrote witness to /storage/repos/svcomp/c/ldv-sets/test_add_false-unreach-call_true-termination.i-witness.graphml [2018-11-23 11:10:40,763 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:10:40,764 INFO L168 Benchmark]: Toolchain (without parser) took 15610.75 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 852.5 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -806.5 MB). Peak memory consumption was 46.0 MB. Max. memory is 7.1 GB. [2018-11-23 11:10:40,765 INFO L168 Benchmark]: CDTParser took 0.22 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:10:40,765 INFO L168 Benchmark]: CACSL2BoogieTranslator took 952.15 ms. Allocated memory was 1.5 GB in the beginning and 2.1 GB in the end (delta: 669.0 MB). Free memory was 1.4 GB in the beginning and 2.1 GB in the end (delta: -701.5 MB). Peak memory consumption was 40.1 MB. Max. memory is 7.1 GB. [2018-11-23 11:10:40,766 INFO L168 Benchmark]: Boogie Procedure Inliner took 56.21 ms. Allocated memory is still 2.1 GB. Free memory is still 2.1 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:10:40,766 INFO L168 Benchmark]: Boogie Preprocessor took 53.69 ms. Allocated memory is still 2.1 GB. Free memory is still 2.1 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:10:40,767 INFO L168 Benchmark]: RCFGBuilder took 1120.69 ms. Allocated memory is still 2.1 GB. Free memory was 2.1 GB in the beginning and 2.0 GB in the end (delta: 37.6 MB). Peak memory consumption was 37.6 MB. Max. memory is 7.1 GB. [2018-11-23 11:10:40,767 INFO L168 Benchmark]: TraceAbstraction took 13310.87 ms. Allocated memory was 2.1 GB in the beginning and 2.3 GB in the end (delta: 183.5 MB). Free memory was 2.0 GB in the beginning and 2.2 GB in the end (delta: -159.5 MB). Peak memory consumption was 24.0 MB. Max. memory is 7.1 GB. [2018-11-23 11:10:40,768 INFO L168 Benchmark]: Witness Printer took 112.00 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.2 GB in the end (delta: 16.8 MB). Peak memory consumption was 16.8 MB. Max. memory is 7.1 GB. [2018-11-23 11:10:40,771 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.22 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. * CACSL2BoogieTranslator took 952.15 ms. Allocated memory was 1.5 GB in the beginning and 2.1 GB in the end (delta: 669.0 MB). Free memory was 1.4 GB in the beginning and 2.1 GB in the end (delta: -701.5 MB). Peak memory consumption was 40.1 MB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 56.21 ms. Allocated memory is still 2.1 GB. Free memory is still 2.1 GB. There was no memory consumed. Max. memory is 7.1 GB. * Boogie Preprocessor took 53.69 ms. Allocated memory is still 2.1 GB. Free memory is still 2.1 GB. There was no memory consumed. Max. memory is 7.1 GB. * RCFGBuilder took 1120.69 ms. Allocated memory is still 2.1 GB. Free memory was 2.1 GB in the beginning and 2.0 GB in the end (delta: 37.6 MB). Peak memory consumption was 37.6 MB. Max. memory is 7.1 GB. * TraceAbstraction took 13310.87 ms. Allocated memory was 2.1 GB in the beginning and 2.3 GB in the end (delta: 183.5 MB). Free memory was 2.0 GB in the beginning and 2.2 GB in the end (delta: -159.5 MB). Peak memory consumption was 24.0 MB. Max. memory is 7.1 GB. * Witness Printer took 112.00 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.2 GB in the end (delta: 16.8 MB). Peak memory consumption was 16.8 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: BitvecLiteral 0bv32 could not be translated for associated CType STRUCT~~ldv_list_head?next~*ldv_list_head?prev~*ldv_list_head# - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: BitvecLiteral 0bv32 could not be translated for associated CType STRUCT~~ldv_list_head?next~*ldv_list_head?prev~*ldv_list_head# - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: BitvecLiteral 0bv32 could not be translated for associated CType STRUCT~~ldv_list_head?next~*ldv_list_head?prev~*ldv_list_head# - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: BitvecLiteral 0bv32 could not be translated for associated CType STRUCT~~ldv_list_head?next~*ldv_list_head?prev~*ldv_list_head# * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 654]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L649] struct ldv_list_head s1 = { &(s1), &(s1) }; VAL [\old(s1)=null, \old(s1)=null, s1={-2130574327:0}] [L658] CALL foo() VAL [s1={-2130574327:0}] [L652] int j = __VERIFIER_nondet_int(); [L653] CALL ldv_set_add(j, &s1) VAL [\old(new)=0, s={-2130574327:0}, s1={-2130574327:0}] [L620] CALL, EXPR ldv_is_in_set(new, s) VAL [\old(e)=0, s={-2130574327:0}, s1={-2130574327:0}] [L638] struct ldv_list_element *m; [L639] EXPR (s)->next [L639] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L639] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) VAL [\old(e)=0, __mptr={-2130574327:0}, e=0, m={-2130574327:-4}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L639] COND FALSE !(&m->list != (s)) VAL [\old(e)=0, __mptr={-2130574327:0}, e=0, m={-2130574327:-4}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L644] return 0; VAL [\old(e)=0, \result=0, __mptr={-2130574327:0}, e=0, m={-2130574327:-4}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L620] RET, EXPR ldv_is_in_set(new, s) VAL [\old(new)=0, ldv_is_in_set(new, s)=0, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L620] COND TRUE !ldv_is_in_set(new, s) [L621] struct ldv_list_element *le; VAL [\old(new)=0, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L622] CALL, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [\old(size)=12, s1={-2130574327:0}] [L563] void *ptr = malloc(size); [L565] return ptr; VAL [\old(size)=12, \result={-2130574328:0}, malloc(size)={-2130574328:0}, ptr={-2130574328:0}, s1={-2130574327:0}, size=12] [L622] RET, EXPR ldv_successful_malloc(sizeof(struct ldv_list_element)) VAL [\old(new)=0, ldv_successful_malloc(sizeof(struct ldv_list_element))={-2130574328:0}, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L622] le = (struct ldv_list_element*)ldv_successful_malloc(sizeof(struct ldv_list_element)) [L623] le->e = new VAL [\old(new)=0, le={-2130574328:0}, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L624] CALL ldv_list_add(&le->list, s) VAL [head={-2130574327:0}, new={-2130574328:4}, s1={-2130574327:0}] [L592] EXPR head->next VAL [head={-2130574327:0}, head={-2130574327:0}, head->next={-2130574327:0}, new={-2130574328:4}, new={-2130574328:4}, s1={-2130574327:0}] [L592] CALL __ldv_list_add(new, head, head->next) VAL [new={-2130574328:4}, next={-2130574327:0}, prev={-2130574327:0}, s1={-2130574327:0}] [L580] next->prev = new [L581] new->next = next [L582] new->prev = prev [L583] prev->next = new VAL [new={-2130574328:4}, new={-2130574328:4}, next={-2130574327:0}, next={-2130574327:0}, prev={-2130574327:0}, prev={-2130574327:0}, s1={-2130574327:0}] [L592] RET __ldv_list_add(new, head, head->next) VAL [head={-2130574327:0}, head={-2130574327:0}, head->next={-2130574327:0}, new={-2130574328:4}, new={-2130574328:4}, s1={-2130574327:0}] [L624] RET ldv_list_add(&le->list, s) VAL [\old(new)=0, le={-2130574328:0}, new=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L653] RET ldv_set_add(j, &s1) VAL [j=0, s1={-2130574327:0}] [L654] CALL ldv_is_in_set(j, &s1) VAL [\old(e)=0, s={-2130574327:0}, s1={-2130574327:0}] [L638] struct ldv_list_element *m; [L639] EXPR (s)->next [L639] const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); [L639] m = ({ const typeof( ((typeof(*m) *)0)->list ) *__mptr = ((s)->next); (typeof(*m) *)( (char *)__mptr - ((size_t) &((typeof(*m) *)0)->list) );}) VAL [\old(e)=0, __mptr={-2130574328:4}, e=0, m={-2130574328:0}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L639] COND TRUE &m->list != (s) [L640] EXPR m->e VAL [\old(e)=0, __mptr={-2130574328:4}, e=0, m={-2130574328:0}, m->e=0, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L640] COND TRUE m->e == e [L641] return 1; VAL [\old(e)=0, \result=1, __mptr={-2130574328:4}, e=0, m={-2130574328:0}, s={-2130574327:0}, s={-2130574327:0}, s1={-2130574327:0}] [L654] RET ldv_is_in_set(j, &s1) VAL [j=0, ldv_is_in_set(j, &s1)=1, s1={-2130574327:0}] [L654] COND TRUE ldv_is_in_set(j, &s1) [L654] __VERIFIER_error() VAL [j=0, s1={-2130574327:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 9 procedures, 45 locations, 1 error locations. UNSAFE Result, 13.2s OverallTime, 4 OverallIterations, 2 TraceHistogramMax, 9.1s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 127 SDtfs, 171 SDslu, 254 SDs, 0 SdLazy, 197 SolverSat, 64 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 2.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 98 GetRequests, 78 SyntacticMatches, 0 SemanticMatches, 20 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 37 ImplicationChecksByTransitivity, 1.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=53occurred in iteration=1, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.5s AutomataMinimizationTime, 3 MinimizatonAttempts, 29 StatesRemovedByMinimization, 3 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 2.2s InterpolantComputationTime, 132 NumberOfCodeBlocks, 132 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 89 ConstructedInterpolants, 0 QuantifiedInterpolants, 12014 SizeOfPredicates, 16 NumberOfNonLiveVariables, 391 ConjunctsInSsa, 35 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 15/15 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...