./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/ldv-regression/test23_false-unreach-call.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version aa418289 Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/config/KojakReach.xml -i ../../sv-benchmarks/c/ldv-regression/test23_false-unreach-call.c -s /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash b974f281a213c0803f91ef44d205e442fb2a5f8f .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE --- Real Ultimate output --- This is Ultimate 0.1.23-aa41828 [2018-11-23 15:41:56,893 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 15:41:56,894 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 15:41:56,902 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 15:41:56,902 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 15:41:56,903 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 15:41:56,904 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 15:41:56,905 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 15:41:56,906 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 15:41:56,907 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 15:41:56,908 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 15:41:56,908 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 15:41:56,908 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 15:41:56,909 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 15:41:56,910 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 15:41:56,910 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 15:41:56,911 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 15:41:56,912 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 15:41:56,914 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 15:41:56,915 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 15:41:56,915 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 15:41:56,916 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 15:41:56,918 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 15:41:56,918 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 15:41:56,918 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 15:41:56,919 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 15:41:56,919 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 15:41:56,920 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 15:41:56,920 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 15:41:56,921 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 15:41:56,921 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 15:41:56,922 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 15:41:56,922 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 15:41:56,922 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 15:41:56,923 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 15:41:56,923 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 15:41:56,923 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf [2018-11-23 15:41:56,931 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 15:41:56,931 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 15:41:56,931 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 15:41:56,932 INFO L133 SettingsManager]: * ... to procedures called more than once=ALWAYS [2018-11-23 15:41:56,932 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 15:41:56,932 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 15:41:56,932 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 15:41:56,933 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 15:41:56,933 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 15:41:56,933 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 15:41:56,933 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 15:41:56,933 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 15:41:56,933 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 15:41:56,934 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 15:41:56,934 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 15:41:56,934 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 15:41:56,934 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 15:41:56,934 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 15:41:56,934 INFO L131 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2018-11-23 15:41:56,934 INFO L133 SettingsManager]: * Timeout in seconds=1000000 [2018-11-23 15:41:56,935 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 15:41:56,935 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 15:41:56,935 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2018-11-23 15:41:56,935 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 15:41:56,935 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 15:41:56,935 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 15:41:56,936 INFO L133 SettingsManager]: * Trace refinement strategy=PENGUIN [2018-11-23 15:41:56,936 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 15:41:56,936 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 15:41:56,936 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> b974f281a213c0803f91ef44d205e442fb2a5f8f [2018-11-23 15:41:56,960 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 15:41:56,969 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 15:41:56,971 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 15:41:56,972 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 15:41:56,972 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 15:41:56,973 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/../../sv-benchmarks/c/ldv-regression/test23_false-unreach-call.c [2018-11-23 15:41:57,010 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/data/5347dd353/be0fd0c4dd9a473b8eeef36a9ea43bd6/FLAG286100b87 [2018-11-23 15:41:57,408 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 15:41:57,409 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/sv-benchmarks/c/ldv-regression/test23_false-unreach-call.c [2018-11-23 15:41:57,413 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/data/5347dd353/be0fd0c4dd9a473b8eeef36a9ea43bd6/FLAG286100b87 [2018-11-23 15:41:57,422 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/data/5347dd353/be0fd0c4dd9a473b8eeef36a9ea43bd6 [2018-11-23 15:41:57,424 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 15:41:57,424 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 15:41:57,425 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 15:41:57,425 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 15:41:57,428 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 15:41:57,429 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,431 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7d5e9553 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57, skipping insertion in model container [2018-11-23 15:41:57,431 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,437 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 15:41:57,450 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 15:41:57,561 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 15:41:57,570 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 15:41:57,584 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 15:41:57,599 INFO L195 MainTranslator]: Completed translation [2018-11-23 15:41:57,599 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57 WrapperNode [2018-11-23 15:41:57,599 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 15:41:57,599 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 15:41:57,600 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 15:41:57,600 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 15:41:57,605 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,611 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,674 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 15:41:57,674 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 15:41:57,674 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 15:41:57,675 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 15:41:57,684 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,684 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,686 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,686 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,692 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,696 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,697 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... [2018-11-23 15:41:57,699 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 15:41:57,700 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 15:41:57,700 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 15:41:57,700 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 15:41:57,701 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:41:57" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2018-11-23 15:41:57,743 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2018-11-23 15:41:57,743 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 15:41:57,743 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 15:41:57,743 INFO L130 BoogieDeclarations]: Found specification of procedure get_dummy [2018-11-23 15:41:57,743 INFO L138 BoogieDeclarations]: Found implementation of procedure get_dummy [2018-11-23 15:41:57,743 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 15:41:57,743 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 15:41:57,744 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 15:41:58,006 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 15:41:58,006 INFO L280 CfgBuilder]: Removed 9 assue(true) statements. [2018-11-23 15:41:58,007 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:41:58 BoogieIcfgContainer [2018-11-23 15:41:58,007 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 15:41:58,007 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2018-11-23 15:41:58,007 INFO L271 PluginConnector]: Initializing CodeCheck... [2018-11-23 15:41:58,015 INFO L276 PluginConnector]: CodeCheck initialized [2018-11-23 15:41:58,016 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:41:58" (1/1) ... [2018-11-23 15:41:58,024 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 15:41:58,043 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:41:58,049 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 17 states and 21 transitions. [2018-11-23 15:41:58,049 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 21 transitions. [2018-11-23 15:41:58,054 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-11-23 15:41:58,054 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:41:58,136 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:41:58,179 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2018-11-23 15:41:58,189 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:41:58,189 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 17 states and 19 transitions. [2018-11-23 15:41:58,189 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 19 transitions. [2018-11-23 15:41:58,190 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-11-23 15:41:58,190 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:41:58,291 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:41:58,701 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:41:58,897 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:41:58,897 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 19 states and 22 transitions. [2018-11-23 15:41:58,897 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 22 transitions. [2018-11-23 15:41:58,898 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-11-23 15:41:58,898 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:41:58,962 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:41:59,154 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:41:59,265 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:41:59,266 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 21 states and 26 transitions. [2018-11-23 15:41:59,266 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 26 transitions. [2018-11-23 15:41:59,266 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2018-11-23 15:41:59,266 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:41:59,320 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:41:59,910 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 7 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:42:00,304 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:42:00,304 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 23 states and 26 transitions. [2018-11-23 15:42:00,304 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 26 transitions. [2018-11-23 15:42:00,305 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2018-11-23 15:42:00,305 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:42:00,339 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:42:00,931 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 0 proven. 13 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:42:01,294 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:42:01,295 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 25 states and 28 transitions. [2018-11-23 15:42:01,295 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 28 transitions. [2018-11-23 15:42:01,296 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2018-11-23 15:42:01,296 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:42:01,332 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:42:02,277 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 0 proven. 21 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:42:02,901 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:42:02,902 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 27 states and 30 transitions. [2018-11-23 15:42:02,902 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 30 transitions. [2018-11-23 15:42:02,902 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 15:42:02,902 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:42:02,934 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:42:03,819 INFO L134 CoverageAnalysis]: Checked inductivity of 32 backedges. 0 proven. 31 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:42:04,364 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:42:04,364 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 29 states and 32 transitions. [2018-11-23 15:42:04,364 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 32 transitions. [2018-11-23 15:42:04,365 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 15:42:04,365 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:42:04,402 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:42:05,290 INFO L134 CoverageAnalysis]: Checked inductivity of 44 backedges. 0 proven. 43 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:42:05,972 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:42:05,973 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 31 states and 34 transitions. [2018-11-23 15:42:05,973 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 34 transitions. [2018-11-23 15:42:05,973 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2018-11-23 15:42:05,974 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:42:06,015 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:42:07,214 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 0 proven. 57 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:42:08,020 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:42:08,020 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 33 states and 36 transitions. [2018-11-23 15:42:08,020 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 36 transitions. [2018-11-23 15:42:08,021 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2018-11-23 15:42:08,021 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:42:08,059 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:42:09,130 INFO L134 CoverageAnalysis]: Checked inductivity of 74 backedges. 0 proven. 73 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:42:09,592 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:42:09,592 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 35 states and 38 transitions. [2018-11-23 15:42:09,592 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 38 transitions. [2018-11-23 15:42:09,593 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2018-11-23 15:42:09,593 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:42:09,624 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:42:12,179 INFO L134 CoverageAnalysis]: Checked inductivity of 92 backedges. 0 proven. 91 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:42:19,136 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:42:19,136 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 83 states to 58 states and 68 transitions. [2018-11-23 15:42:19,136 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 68 transitions. [2018-11-23 15:42:19,138 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 36 [2018-11-23 15:42:19,138 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:42:19,172 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 15:42:19,694 WARN L180 SmtUtils]: Spent 109.00 ms on a formula simplification. DAG size of input: 86 DAG size of output: 55 [2018-11-23 15:42:22,297 INFO L134 CoverageAnalysis]: Checked inductivity of 112 backedges. 0 proven. 111 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 15:42:34,545 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 15:42:34,546 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 109 states to 80 states and 94 transitions. [2018-11-23 15:42:34,546 INFO L276 IsEmpty]: Start isEmpty. Operand 80 states and 94 transitions. [2018-11-23 15:42:34,546 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 38 [2018-11-23 15:42:34,546 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 15:42:34,555 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 15:42:34,567 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 15:42:34,624 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 15:42:34,636 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 15:42:34,661 WARN L493 CodeCheckObserver]: This program is UNSAFE, Check terminated with 13 iterations. ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(72);call write~init~int(0, ~#d1~0.base, ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 4 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 8 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 12 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 16 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 20 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 24 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 28 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 32 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 36 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 40 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 44 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 48 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 52 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 56 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 60 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 64 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 68 + ~#d1~0.offset, 4);call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(72);call write~init~int(0, ~#d2~0.base, ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 4 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 8 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 12 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 16 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 20 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 24 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 28 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 32 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 36 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 40 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 44 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 48 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 52 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 56 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 60 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 64 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 68 + ~#d2~0.offset, 4);havoc main_#res;havoc main_#t~ret7.base, main_#t~ret7.offset, main_#t~ret8.base, main_#t~ret8.offset, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0.base, main_~pa~0.offset, main_~pd1~0.base, main_~pd1~0.offset, main_~pd2~0.base, main_~pd2~0.offset, main_~i~0;havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3;assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647;call write~int(init_#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4);havoc init_#t~nondet0;assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647;call write~int(init_#t~nondet1, ~#d1~0.base, 4 + ~#d1~0.offset, 4);havoc init_#t~nondet1;assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647;call write~int(init_#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4);havoc init_#t~nondet2;assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647;call write~int(init_#t~nondet3, ~#d2~0.base, 4 + ~#d2~0.offset, 4);havoc init_#t~nondet3; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] CALL call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume 0 != #t~nondet4 % 256;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset;ParallelCodeBlock1: assume !(0 != #t~nondet4 % 256);#t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset;}EndParallelComposition#res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset;assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |get_dummy_#res.base|=6, |get_dummy_#res.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] RET #51#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~ret7.base|=6, |ULTIMATE.start_main_#t~ret7.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] main_~pd1~0.base, main_~pd1~0.offset := main_#t~ret7.base, main_#t~ret7.offset;havoc main_#t~ret7.base, main_#t~ret7.offset; VAL [ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] CALL call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume 0 != #t~nondet4 % 256;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset;ParallelCodeBlock1: assume !(0 != #t~nondet4 % 256);#t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset;}EndParallelComposition#res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset;assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |get_dummy_#res.base|=6, |get_dummy_#res.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] RET #53#return; VAL [ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~ret8.base|=6, |ULTIMATE.start_main_#t~ret8.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] main_~pd2~0.base, main_~pd2~0.offset := main_#t~ret8.base, main_#t~ret8.offset;havoc main_#t~ret8.base, main_#t~ret8.offset;assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647;main_~i~0 := main_#t~nondet9;havoc main_#t~nondet9; VAL [ULTIMATE.start_main_~i~0=3, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume (((main_~pd1~0.base != 0 || main_~pd1~0.offset != 0) && main_~pd1~0.base == main_~pd2~0.base && main_~pd1~0.offset == main_~pd2~0.offset) && main_~i~0 >= 0) && main_~i~0 < 10;call write~int(main_~i~0, main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4);main_~pa~0.base, main_~pa~0.offset := main_~pd1~0.base, 8 + main_~pd1~0.offset + 4 * main_~i~0;call main_#t~mem10 := read~int(main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4);main_~i~0 := main_#t~mem10 - 10;havoc main_#t~mem10; VAL [ULTIMATE.start_main_~i~0=(- 7), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 7), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 6), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 6), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 5), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 5), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 4), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 4), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 3), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 3), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 2), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 2), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 1), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 1), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=1, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=1, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=2, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=2, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=3, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=3, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11; VAL [ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] check_#in~s1.base, check_#in~s1.offset, check_#in~i := main_~pd2~0.base, main_~pd2~0.offset, main_~i~0;havoc check_#res;havoc check_#t~mem6, check_~s1.base, check_~s1.offset, check_~i;check_~s1.base, check_~s1.offset := check_#in~s1.base, check_#in~s1.offset;check_~i := check_#in~i;call check_#t~mem6 := read~int(check_~s1.base, 8 + check_~s1.offset + 4 * check_~i, 4);check_#res := (if check_#t~mem6 == check_~i then 1 else 0);havoc check_#t~mem6;main_#t~ret13 := check_#res;assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [ULTIMATE.start_check_~i=4, ULTIMATE.start_check_~s1.base=6, ULTIMATE.start_check_~s1.offset=0, ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_check_#in~i|=4, |ULTIMATE.start_check_#in~s1.base|=6, |ULTIMATE.start_check_#in~s1.offset|=0, |ULTIMATE.start_check_#res|=0, |ULTIMATE.start_main_#t~ret13|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume 0 == main_#t~ret13;havoc main_#t~ret13; VAL [ULTIMATE.start_check_~i=4, ULTIMATE.start_check_~s1.base=6, ULTIMATE.start_check_~s1.offset=0, ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_check_#in~i|=4, |ULTIMATE.start_check_#in~s1.base|=6, |ULTIMATE.start_check_#in~s1.offset|=0, |ULTIMATE.start_check_#res|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !false; VAL [ULTIMATE.start_check_~i=4, ULTIMATE.start_check_~s1.base=6, ULTIMATE.start_check_~s1.offset=0, ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_check_#in~i|=4, |ULTIMATE.start_check_#in~s1.base|=6, |ULTIMATE.start_check_#in~s1.offset|=0, |ULTIMATE.start_check_#res|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L10] call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(72); [L10] call write~init~int(0, ~#d1~0.base, ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 4 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 8 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 12 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 16 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 20 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 24 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 28 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 32 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 36 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 40 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 44 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 48 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 52 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 56 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 60 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 64 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 68 + ~#d1~0.offset, 4); [L10] call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(72); [L10] call write~init~int(0, ~#d2~0.base, ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 4 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 8 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 12 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 16 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 20 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 24 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 28 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 32 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 36 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 40 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 44 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 48 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 52 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 56 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 60 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 64 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 68 + ~#d2~0.offset, 4); [?] havoc main_#res; [?] havoc main_#t~ret7.base, main_#t~ret7.offset, main_#t~ret8.base, main_#t~ret8.offset, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0.base, main_~pa~0.offset, main_~pd1~0.base, main_~pd1~0.offset, main_~pd2~0.base, main_~pd2~0.offset, main_~i~0; [L33] havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3; [L14] assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647; [L14] call write~int(init_#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4); [L14] havoc init_#t~nondet0; [L15] assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647; [L15] call write~int(init_#t~nondet1, ~#d1~0.base, 4 + ~#d1~0.offset, 4); [L15] havoc init_#t~nondet1; [L17] assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647; [L17] call write~int(init_#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4); [L17] havoc init_#t~nondet2; [L18] assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647; [L18] call write~int(init_#t~nondet3, ~#d2~0.base, 4 + ~#d2~0.offset, 4); [L18] havoc init_#t~nondet3; VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] CALL call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L23] assume 0 != #t~nondet4 % 256; [L23] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; [L23] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L23] havoc #t~nondet4; [L23] havoc #t~ite5.base, #t~ite5.offset; [L21-L24] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res.base=6, #res.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] RET call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret7.base=6, main_#t~ret7.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] main_~pd1~0.base, main_~pd1~0.offset := main_#t~ret7.base, main_#t~ret7.offset; [L34] havoc main_#t~ret7.base, main_#t~ret7.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~pd1~0.base=6, main_~pd1~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] CALL call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L23] assume 0 != #t~nondet4 % 256; [L23] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; [L23] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L23] havoc #t~nondet4; [L23] havoc #t~ite5.base, #t~ite5.offset; [L21-L24] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res.base=6, #res.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] RET call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret8.base=6, main_#t~ret8.offset=0, main_~pd1~0.base=6, main_~pd1~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] main_~pd2~0.base, main_~pd2~0.offset := main_#t~ret8.base, main_#t~ret8.offset; [L34] havoc main_#t~ret8.base, main_#t~ret8.offset; [L35] assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647; [L35] main_~i~0 := main_#t~nondet9; [L35] havoc main_#t~nondet9; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=3, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L36-L46] assume (((main_~pd1~0.base != 0 || main_~pd1~0.offset != 0) && main_~pd1~0.base == main_~pd2~0.base && main_~pd1~0.offset == main_~pd2~0.offset) && main_~i~0 >= 0) && main_~i~0 < 10; [L37] call write~int(main_~i~0, main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4); [L38] main_~pa~0.base, main_~pa~0.offset := main_~pd1~0.base, 8 + main_~pd1~0.offset + 4 * main_~i~0; [L39] call main_#t~mem10 := read~int(main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4); [L39] main_~i~0 := main_#t~mem10 - 10; [L39] havoc main_#t~mem10; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-7, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-7, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-6, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-6, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-5, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-5, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=0, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=0, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L43] check_#in~s1.base, check_#in~s1.offset, check_#in~i := main_~pd2~0.base, main_~pd2~0.offset, main_~i~0; [L43] havoc check_#res; [L43] havoc check_#t~mem6, check_~s1.base, check_~s1.offset, check_~i; [L26-L29] check_~s1.base, check_~s1.offset := check_#in~s1.base, check_#in~s1.offset; [L26-L29] check_~i := check_#in~i; [L28] call check_#t~mem6 := read~int(check_~s1.base, 8 + check_~s1.offset + 4 * check_~i, 4); [L28] check_#res := (if check_#t~mem6 == check_~i then 1 else 0); [L28] havoc check_#t~mem6; [L43] main_#t~ret13 := check_#res; [L43] assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_#t~ret13=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L43-L45] assume 0 == main_#t~ret13; [L43] havoc main_#t~ret13; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L50] assert false; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L10] call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(72); [L10] call write~init~int(0, ~#d1~0.base, ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 4 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 8 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 12 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 16 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 20 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 24 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 28 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 32 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 36 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 40 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 44 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 48 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 52 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 56 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 60 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 64 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 68 + ~#d1~0.offset, 4); [L10] call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(72); [L10] call write~init~int(0, ~#d2~0.base, ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 4 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 8 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 12 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 16 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 20 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 24 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 28 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 32 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 36 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 40 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 44 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 48 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 52 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 56 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 60 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 64 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 68 + ~#d2~0.offset, 4); [?] havoc main_#res; [?] havoc main_#t~ret7.base, main_#t~ret7.offset, main_#t~ret8.base, main_#t~ret8.offset, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0.base, main_~pa~0.offset, main_~pd1~0.base, main_~pd1~0.offset, main_~pd2~0.base, main_~pd2~0.offset, main_~i~0; [L33] havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3; [L14] assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647; [L14] call write~int(init_#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4); [L14] havoc init_#t~nondet0; [L15] assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647; [L15] call write~int(init_#t~nondet1, ~#d1~0.base, 4 + ~#d1~0.offset, 4); [L15] havoc init_#t~nondet1; [L17] assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647; [L17] call write~int(init_#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4); [L17] havoc init_#t~nondet2; [L18] assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647; [L18] call write~int(init_#t~nondet3, ~#d2~0.base, 4 + ~#d2~0.offset, 4); [L18] havoc init_#t~nondet3; VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] CALL call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L23] assume 0 != #t~nondet4 % 256; [L23] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; [L23] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L23] havoc #t~nondet4; [L23] havoc #t~ite5.base, #t~ite5.offset; [L21-L24] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res.base=6, #res.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] RET call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret7.base=6, main_#t~ret7.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] main_~pd1~0.base, main_~pd1~0.offset := main_#t~ret7.base, main_#t~ret7.offset; [L34] havoc main_#t~ret7.base, main_#t~ret7.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~pd1~0.base=6, main_~pd1~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] CALL call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L23] assume 0 != #t~nondet4 % 256; [L23] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; [L23] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L23] havoc #t~nondet4; [L23] havoc #t~ite5.base, #t~ite5.offset; [L21-L24] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res.base=6, #res.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] RET call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret8.base=6, main_#t~ret8.offset=0, main_~pd1~0.base=6, main_~pd1~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] main_~pd2~0.base, main_~pd2~0.offset := main_#t~ret8.base, main_#t~ret8.offset; [L34] havoc main_#t~ret8.base, main_#t~ret8.offset; [L35] assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647; [L35] main_~i~0 := main_#t~nondet9; [L35] havoc main_#t~nondet9; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=3, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L36-L46] assume (((main_~pd1~0.base != 0 || main_~pd1~0.offset != 0) && main_~pd1~0.base == main_~pd2~0.base && main_~pd1~0.offset == main_~pd2~0.offset) && main_~i~0 >= 0) && main_~i~0 < 10; [L37] call write~int(main_~i~0, main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4); [L38] main_~pa~0.base, main_~pa~0.offset := main_~pd1~0.base, 8 + main_~pd1~0.offset + 4 * main_~i~0; [L39] call main_#t~mem10 := read~int(main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4); [L39] main_~i~0 := main_#t~mem10 - 10; [L39] havoc main_#t~mem10; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-7, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-7, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-6, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-6, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-5, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-5, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=0, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=0, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L43] check_#in~s1.base, check_#in~s1.offset, check_#in~i := main_~pd2~0.base, main_~pd2~0.offset, main_~i~0; [L43] havoc check_#res; [L43] havoc check_#t~mem6, check_~s1.base, check_~s1.offset, check_~i; [L26-L29] check_~s1.base, check_~s1.offset := check_#in~s1.base, check_#in~s1.offset; [L26-L29] check_~i := check_#in~i; [L28] call check_#t~mem6 := read~int(check_~s1.base, 8 + check_~s1.offset + 4 * check_~i, 4); [L28] check_#res := (if check_#t~mem6 == check_~i then 1 else 0); [L28] havoc check_#t~mem6; [L43] main_#t~ret13 := check_#res; [L43] assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_#t~ret13=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L43-L45] assume 0 == main_#t~ret13; [L43] havoc main_#t~ret13; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L50] assert false; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L10] FCALL call ~#d1~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 8 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 12 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 16 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 20 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 24 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 28 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 32 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 36 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 40 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 44 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 48 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 52 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 56 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 60 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 64 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 68 + ~#d1~0!offset }, 4); [L10] FCALL call ~#d2~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 8 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 12 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 16 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 20 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 24 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 28 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 32 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 36 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 40 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 44 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 48 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 52 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 56 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 60 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 64 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 68 + ~#d2~0!offset }, 4); [?] havoc main_#res; [?] havoc main_#t~ret7, main_#t~ret8, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0, main_~pd1~0, main_~pd2~0, main_~i~0; [L33] havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3; [L14] assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647; [L14] FCALL call write~int(init_#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L14] havoc init_#t~nondet0; [L15] assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647; [L15] FCALL call write~int(init_#t~nondet1, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L15] havoc init_#t~nondet1; [L17] assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647; [L17] FCALL call write~int(init_#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L17] havoc init_#t~nondet2; [L18] assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647; [L18] FCALL call write~int(init_#t~nondet3, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L18] havoc init_#t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call main_#t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call main_#t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret7!base=6, main_#t~ret7!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] main_~pd1~0 := main_#t~ret7; [L34] havoc main_#t~ret7; VAL [#NULL!base=0, #NULL!offset=0, main_~pd1~0!base=6, main_~pd1~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call main_#t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call main_#t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret8!base=6, main_#t~ret8!offset=0, main_~pd1~0!base=6, main_~pd1~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] main_~pd2~0 := main_#t~ret8; [L34] havoc main_#t~ret8; [L35] assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647; [L35] main_~i~0 := main_#t~nondet9; [L35] havoc main_#t~nondet9; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=3, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L36] COND TRUE ((main_~pd1~0 != { base: 0, offset: 0 } && main_~pd1~0 == main_~pd2~0) && main_~i~0 >= 0) && main_~i~0 < 10 [L37] FCALL call write~int(main_~i~0, { base: main_~pd2~0!base, offset: 8 + main_~pd2~0!offset + 4 * main_~i~0 }, 4); [L38] main_~pa~0 := { base: main_~pd1~0!base, offset: 8 + main_~pd1~0!offset + 4 * main_~i~0 }; [L39] FCALL call main_#t~mem10 := read~int({ base: main_~pd2~0!base, offset: 8 + main_~pd2~0!offset + 4 * main_~i~0 }, 4); [L39] main_~i~0 := main_#t~mem10 - 10; [L39] havoc main_#t~mem10; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-7, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-7, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-6, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-6, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-5, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-5, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=0, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=0, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND TRUE !(main_~i~0 <= main_#t~mem11) [L40] havoc main_#t~mem11; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] check_#in~s1, check_#in~i := main_~pd2~0, main_~i~0; [L43] havoc check_#res; [L43] havoc check_#t~mem6, check_~s1, check_~i; [L26-L29] check_~s1 := check_#in~s1; [L26-L29] check_~i := check_#in~i; [L28] FCALL call check_#t~mem6 := read~int({ base: check_~s1!base, offset: 8 + check_~s1!offset + 4 * check_~i }, 4); [L28] check_#res := (if check_#t~mem6 == check_~i then 1 else 0); [L28] havoc check_#t~mem6; [L43] main_#t~ret13 := check_#res; [L43] assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_#t~ret13=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] COND TRUE 0 == main_#t~ret13 [L43] havoc main_#t~ret13; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L50] assert false; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L10] FCALL call ~#d1~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 8 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 12 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 16 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 20 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 24 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 28 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 32 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 36 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 40 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 44 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 48 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 52 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 56 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 60 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 64 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 68 + ~#d1~0!offset }, 4); [L10] FCALL call ~#d2~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 8 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 12 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 16 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 20 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 24 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 28 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 32 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 36 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 40 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 44 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 48 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 52 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 56 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 60 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 64 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 68 + ~#d2~0!offset }, 4); [?] havoc main_#res; [?] havoc main_#t~ret7, main_#t~ret8, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0, main_~pd1~0, main_~pd2~0, main_~i~0; [L33] havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3; [L14] assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647; [L14] FCALL call write~int(init_#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L14] havoc init_#t~nondet0; [L15] assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647; [L15] FCALL call write~int(init_#t~nondet1, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L15] havoc init_#t~nondet1; [L17] assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647; [L17] FCALL call write~int(init_#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L17] havoc init_#t~nondet2; [L18] assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647; [L18] FCALL call write~int(init_#t~nondet3, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L18] havoc init_#t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call main_#t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call main_#t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret7!base=6, main_#t~ret7!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] main_~pd1~0 := main_#t~ret7; [L34] havoc main_#t~ret7; VAL [#NULL!base=0, #NULL!offset=0, main_~pd1~0!base=6, main_~pd1~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call main_#t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call main_#t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret8!base=6, main_#t~ret8!offset=0, main_~pd1~0!base=6, main_~pd1~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] main_~pd2~0 := main_#t~ret8; [L34] havoc main_#t~ret8; [L35] assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647; [L35] main_~i~0 := main_#t~nondet9; [L35] havoc main_#t~nondet9; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=3, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L36] COND TRUE ((main_~pd1~0 != { base: 0, offset: 0 } && main_~pd1~0 == main_~pd2~0) && main_~i~0 >= 0) && main_~i~0 < 10 [L37] FCALL call write~int(main_~i~0, { base: main_~pd2~0!base, offset: 8 + main_~pd2~0!offset + 4 * main_~i~0 }, 4); [L38] main_~pa~0 := { base: main_~pd1~0!base, offset: 8 + main_~pd1~0!offset + 4 * main_~i~0 }; [L39] FCALL call main_#t~mem10 := read~int({ base: main_~pd2~0!base, offset: 8 + main_~pd2~0!offset + 4 * main_~i~0 }, 4); [L39] main_~i~0 := main_#t~mem10 - 10; [L39] havoc main_#t~mem10; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-7, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-7, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-6, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-6, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-5, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-5, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=0, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=0, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND TRUE !(main_~i~0 <= main_#t~mem11) [L40] havoc main_#t~mem11; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] check_#in~s1, check_#in~i := main_~pd2~0, main_~i~0; [L43] havoc check_#res; [L43] havoc check_#t~mem6, check_~s1, check_~i; [L26-L29] check_~s1 := check_#in~s1; [L26-L29] check_~i := check_#in~i; [L28] FCALL call check_#t~mem6 := read~int({ base: check_~s1!base, offset: 8 + check_~s1!offset + 4 * check_~i }, 4); [L28] check_#res := (if check_#t~mem6 == check_~i then 1 else 0); [L28] havoc check_#t~mem6; [L43] main_#t~ret13 := check_#res; [L43] assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_#t~ret13=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] COND TRUE 0 == main_#t~ret13 [L43] havoc main_#t~ret13; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L50] assert false; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L10] FCALL call ~#d1~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 8 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 12 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 16 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 20 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 24 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 28 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 32 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 36 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 40 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 44 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 48 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 52 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 56 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 60 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 64 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 68 + ~#d1~0!offset }, 4); [L10] FCALL call ~#d2~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 8 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 12 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 16 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 20 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 24 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 28 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 32 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 36 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 40 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 44 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 48 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 52 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 56 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 60 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 64 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 68 + ~#d2~0!offset }, 4); [L14] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; [L14] FCALL call write~int(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L14] havoc #t~nondet0; [L15] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; [L15] FCALL call write~int(#t~nondet1, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L15] havoc #t~nondet1; [L17] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; [L17] FCALL call write~int(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L17] havoc #t~nondet2; [L18] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L18] FCALL call write~int(#t~nondet3, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L18] havoc #t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] ~pd1~0 := #t~ret7; [L34] havoc #t~ret7; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] ~pd2~0 := #t~ret8; [L34] havoc #t~ret8; [L35] assume -2147483648 <= #t~nondet9 && #t~nondet9 <= 2147483647; [L35] ~i~0 := #t~nondet9; [L35] havoc #t~nondet9; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L36] COND TRUE ((~pd1~0 != { base: 0, offset: 0 } && ~pd1~0 == ~pd2~0) && ~i~0 >= 0) && ~i~0 < 10 [L37] FCALL call write~int(~i~0, { base: ~pd2~0!base, offset: 8 + ~pd2~0!offset + 4 * ~i~0 }, 4); [L38] ~pa~0 := { base: ~pd1~0!base, offset: 8 + ~pd1~0!offset + 4 * ~i~0 }; [L39] FCALL call #t~mem10 := read~int({ base: ~pd2~0!base, offset: 8 + ~pd2~0!offset + 4 * ~i~0 }, 4); [L39] ~i~0 := #t~mem10 - 10; [L39] havoc #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND TRUE !(~i~0 <= #t~mem11) [L40] havoc #t~mem11; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L26-L29] ~s1 := #in~s1; [L26-L29] ~i := #in~i; [L28] FCALL call #t~mem6 := read~int({ base: ~s1!base, offset: 8 + ~s1!offset + 4 * ~i }, 4); [L28] #res := (if #t~mem6 == ~i then 1 else 0); [L28] havoc #t~mem6; [L43] assume -2147483648 <= #t~ret13 && #t~ret13 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] COND TRUE 0 == #t~ret13 [L43] havoc #t~ret13; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L50] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L10] FCALL call ~#d1~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 8 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 12 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 16 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 20 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 24 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 28 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 32 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 36 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 40 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 44 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 48 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 52 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 56 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 60 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 64 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 68 + ~#d1~0!offset }, 4); [L10] FCALL call ~#d2~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 8 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 12 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 16 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 20 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 24 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 28 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 32 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 36 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 40 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 44 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 48 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 52 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 56 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 60 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 64 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 68 + ~#d2~0!offset }, 4); [L14] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; [L14] FCALL call write~int(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L14] havoc #t~nondet0; [L15] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; [L15] FCALL call write~int(#t~nondet1, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L15] havoc #t~nondet1; [L17] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; [L17] FCALL call write~int(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L17] havoc #t~nondet2; [L18] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L18] FCALL call write~int(#t~nondet3, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L18] havoc #t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] ~pd1~0 := #t~ret7; [L34] havoc #t~ret7; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] ~pd2~0 := #t~ret8; [L34] havoc #t~ret8; [L35] assume -2147483648 <= #t~nondet9 && #t~nondet9 <= 2147483647; [L35] ~i~0 := #t~nondet9; [L35] havoc #t~nondet9; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L36] COND TRUE ((~pd1~0 != { base: 0, offset: 0 } && ~pd1~0 == ~pd2~0) && ~i~0 >= 0) && ~i~0 < 10 [L37] FCALL call write~int(~i~0, { base: ~pd2~0!base, offset: 8 + ~pd2~0!offset + 4 * ~i~0 }, 4); [L38] ~pa~0 := { base: ~pd1~0!base, offset: 8 + ~pd1~0!offset + 4 * ~i~0 }; [L39] FCALL call #t~mem10 := read~int({ base: ~pd2~0!base, offset: 8 + ~pd2~0!offset + 4 * ~i~0 }, 4); [L39] ~i~0 := #t~mem10 - 10; [L39] havoc #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND TRUE !(~i~0 <= #t~mem11) [L40] havoc #t~mem11; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L26-L29] ~s1 := #in~s1; [L26-L29] ~i := #in~i; [L28] FCALL call #t~mem6 := read~int({ base: ~s1!base, offset: 8 + ~s1!offset + 4 * ~i }, 4); [L28] #res := (if #t~mem6 == ~i then 1 else 0); [L28] havoc #t~mem6; [L43] assume -2147483648 <= #t~ret13 && #t~ret13 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] COND TRUE 0 == #t~ret13 [L43] havoc #t~ret13; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L50] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L10] struct dummy d1, d2; [L14] d1.a = __VERIFIER_nondet_int() [L15] d1.b = __VERIFIER_nondet_int() [L17] d2.a = __VERIFIER_nondet_int() [L18] d2.b = __VERIFIER_nondet_int() [L34] CALL, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L23] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 [L23] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L34] RET, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L34] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(); [L34] CALL, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L23] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 [L23] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L34] RET, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L34] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(); [L35] int i = __VERIFIER_nondet_int(); [L36] COND TRUE pd1 != 0 && pd1 == pd2 && i >= 0 && i < 10 [L37] pd2->array[i] = i [L38] int *pa = &pd1->array[i]; [L39] EXPR pd2->array[i] [L39] i = pd2->array[i] - 10 [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND FALSE !(i <= *pa) [L28] EXPR s1->array[i] [L28] return s1->array[i] == i; [L43] COND TRUE !check(pd2, i) [L50] __VERIFIER_error() VAL [d1={6:0}, d2={5:0}] ----- [2018-11-23 15:42:34,811 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 03:42:34 ImpRootNode [2018-11-23 15:42:34,811 INFO L132 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2018-11-23 15:42:34,811 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 15:42:34,811 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 15:42:34,811 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 15:42:34,812 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:41:58" (3/4) ... [2018-11-23 15:42:34,814 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(72);call write~init~int(0, ~#d1~0.base, ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 4 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 8 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 12 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 16 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 20 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 24 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 28 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 32 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 36 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 40 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 44 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 48 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 52 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 56 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 60 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 64 + ~#d1~0.offset, 4);call write~init~int(0, ~#d1~0.base, 68 + ~#d1~0.offset, 4);call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(72);call write~init~int(0, ~#d2~0.base, ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 4 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 8 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 12 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 16 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 20 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 24 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 28 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 32 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 36 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 40 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 44 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 48 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 52 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 56 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 60 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 64 + ~#d2~0.offset, 4);call write~init~int(0, ~#d2~0.base, 68 + ~#d2~0.offset, 4);havoc main_#res;havoc main_#t~ret7.base, main_#t~ret7.offset, main_#t~ret8.base, main_#t~ret8.offset, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0.base, main_~pa~0.offset, main_~pd1~0.base, main_~pd1~0.offset, main_~pd2~0.base, main_~pd2~0.offset, main_~i~0;havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3;assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647;call write~int(init_#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4);havoc init_#t~nondet0;assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647;call write~int(init_#t~nondet1, ~#d1~0.base, 4 + ~#d1~0.offset, 4);havoc init_#t~nondet1;assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647;call write~int(init_#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4);havoc init_#t~nondet2;assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647;call write~int(init_#t~nondet3, ~#d2~0.base, 4 + ~#d2~0.offset, 4);havoc init_#t~nondet3; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] CALL call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume 0 != #t~nondet4 % 256;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset;ParallelCodeBlock1: assume !(0 != #t~nondet4 % 256);#t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset;}EndParallelComposition#res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset;assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |get_dummy_#res.base|=6, |get_dummy_#res.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] RET #51#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~ret7.base|=6, |ULTIMATE.start_main_#t~ret7.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] main_~pd1~0.base, main_~pd1~0.offset := main_#t~ret7.base, main_#t~ret7.offset;havoc main_#t~ret7.base, main_#t~ret7.offset; VAL [ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] CALL call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume 0 != #t~nondet4 % 256;#t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset;ParallelCodeBlock1: assume !(0 != #t~nondet4 % 256);#t~ite5.base, #t~ite5.offset := ~#d2~0.base, ~#d2~0.offset;}EndParallelComposition#res.base, #res.offset := #t~ite5.base, #t~ite5.offset;havoc #t~nondet4;havoc #t~ite5.base, #t~ite5.offset;assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |get_dummy_#res.base|=6, |get_dummy_#res.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] RET #53#return; VAL [ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~ret8.base|=6, |ULTIMATE.start_main_#t~ret8.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] main_~pd2~0.base, main_~pd2~0.offset := main_#t~ret8.base, main_#t~ret8.offset;havoc main_#t~ret8.base, main_#t~ret8.offset;assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647;main_~i~0 := main_#t~nondet9;havoc main_#t~nondet9; VAL [ULTIMATE.start_main_~i~0=3, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume (((main_~pd1~0.base != 0 || main_~pd1~0.offset != 0) && main_~pd1~0.base == main_~pd2~0.base && main_~pd1~0.offset == main_~pd2~0.offset) && main_~i~0 >= 0) && main_~i~0 < 10;call write~int(main_~i~0, main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4);main_~pa~0.base, main_~pa~0.offset := main_~pd1~0.base, 8 + main_~pd1~0.offset + 4 * main_~i~0;call main_#t~mem10 := read~int(main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4);main_~i~0 := main_#t~mem10 - 10;havoc main_#t~mem10; VAL [ULTIMATE.start_main_~i~0=(- 7), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 7), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 6), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 6), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 5), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 5), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 4), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 4), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 3), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 3), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 2), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 2), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=(- 1), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=(- 1), ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=0, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=1, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=1, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=2, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=2, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=3, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=3, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !!(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11;main_#t~pre12 := 1 + main_~i~0;main_~i~0 := 1 + main_~i~0;havoc main_#t~pre12; VAL [ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~mem11|=3, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !(main_~i~0 <= main_#t~mem11);havoc main_#t~mem11; VAL [ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] check_#in~s1.base, check_#in~s1.offset, check_#in~i := main_~pd2~0.base, main_~pd2~0.offset, main_~i~0;havoc check_#res;havoc check_#t~mem6, check_~s1.base, check_~s1.offset, check_~i;check_~s1.base, check_~s1.offset := check_#in~s1.base, check_#in~s1.offset;check_~i := check_#in~i;call check_#t~mem6 := read~int(check_~s1.base, 8 + check_~s1.offset + 4 * check_~i, 4);check_#res := (if check_#t~mem6 == check_~i then 1 else 0);havoc check_#t~mem6;main_#t~ret13 := check_#res;assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [ULTIMATE.start_check_~i=4, ULTIMATE.start_check_~s1.base=6, ULTIMATE.start_check_~s1.offset=0, ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_check_#in~i|=4, |ULTIMATE.start_check_#in~s1.base|=6, |ULTIMATE.start_check_#in~s1.offset|=0, |ULTIMATE.start_check_#res|=0, |ULTIMATE.start_main_#t~ret13|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume 0 == main_#t~ret13;havoc main_#t~ret13; VAL [ULTIMATE.start_check_~i=4, ULTIMATE.start_check_~s1.base=6, ULTIMATE.start_check_~s1.offset=0, ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_check_#in~i|=4, |ULTIMATE.start_check_#in~s1.base|=6, |ULTIMATE.start_check_#in~s1.offset|=0, |ULTIMATE.start_check_#res|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] assume !false; VAL [ULTIMATE.start_check_~i=4, ULTIMATE.start_check_~s1.base=6, ULTIMATE.start_check_~s1.offset=0, ULTIMATE.start_main_~i~0=4, ULTIMATE.start_main_~pa~0.base=6, ULTIMATE.start_main_~pa~0.offset=20, ULTIMATE.start_main_~pd1~0.base=6, ULTIMATE.start_main_~pd1~0.offset=0, ULTIMATE.start_main_~pd2~0.base=6, ULTIMATE.start_main_~pd2~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_check_#in~i|=4, |ULTIMATE.start_check_#in~s1.base|=6, |ULTIMATE.start_check_#in~s1.offset|=0, |ULTIMATE.start_check_#res|=0, |~#d1~0.base|=6, |~#d1~0.offset|=0, |~#d2~0.base|=5, |~#d2~0.offset|=0] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L10] call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(72); [L10] call write~init~int(0, ~#d1~0.base, ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 4 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 8 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 12 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 16 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 20 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 24 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 28 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 32 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 36 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 40 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 44 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 48 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 52 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 56 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 60 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 64 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 68 + ~#d1~0.offset, 4); [L10] call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(72); [L10] call write~init~int(0, ~#d2~0.base, ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 4 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 8 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 12 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 16 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 20 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 24 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 28 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 32 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 36 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 40 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 44 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 48 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 52 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 56 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 60 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 64 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 68 + ~#d2~0.offset, 4); [?] havoc main_#res; [?] havoc main_#t~ret7.base, main_#t~ret7.offset, main_#t~ret8.base, main_#t~ret8.offset, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0.base, main_~pa~0.offset, main_~pd1~0.base, main_~pd1~0.offset, main_~pd2~0.base, main_~pd2~0.offset, main_~i~0; [L33] havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3; [L14] assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647; [L14] call write~int(init_#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4); [L14] havoc init_#t~nondet0; [L15] assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647; [L15] call write~int(init_#t~nondet1, ~#d1~0.base, 4 + ~#d1~0.offset, 4); [L15] havoc init_#t~nondet1; [L17] assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647; [L17] call write~int(init_#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4); [L17] havoc init_#t~nondet2; [L18] assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647; [L18] call write~int(init_#t~nondet3, ~#d2~0.base, 4 + ~#d2~0.offset, 4); [L18] havoc init_#t~nondet3; VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] CALL call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L23] assume 0 != #t~nondet4 % 256; [L23] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; [L23] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L23] havoc #t~nondet4; [L23] havoc #t~ite5.base, #t~ite5.offset; [L21-L24] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res.base=6, #res.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] RET call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret7.base=6, main_#t~ret7.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] main_~pd1~0.base, main_~pd1~0.offset := main_#t~ret7.base, main_#t~ret7.offset; [L34] havoc main_#t~ret7.base, main_#t~ret7.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~pd1~0.base=6, main_~pd1~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] CALL call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L23] assume 0 != #t~nondet4 % 256; [L23] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; [L23] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L23] havoc #t~nondet4; [L23] havoc #t~ite5.base, #t~ite5.offset; [L21-L24] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res.base=6, #res.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] RET call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret8.base=6, main_#t~ret8.offset=0, main_~pd1~0.base=6, main_~pd1~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] main_~pd2~0.base, main_~pd2~0.offset := main_#t~ret8.base, main_#t~ret8.offset; [L34] havoc main_#t~ret8.base, main_#t~ret8.offset; [L35] assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647; [L35] main_~i~0 := main_#t~nondet9; [L35] havoc main_#t~nondet9; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=3, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L36-L46] assume (((main_~pd1~0.base != 0 || main_~pd1~0.offset != 0) && main_~pd1~0.base == main_~pd2~0.base && main_~pd1~0.offset == main_~pd2~0.offset) && main_~i~0 >= 0) && main_~i~0 < 10; [L37] call write~int(main_~i~0, main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4); [L38] main_~pa~0.base, main_~pa~0.offset := main_~pd1~0.base, 8 + main_~pd1~0.offset + 4 * main_~i~0; [L39] call main_#t~mem10 := read~int(main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4); [L39] main_~i~0 := main_#t~mem10 - 10; [L39] havoc main_#t~mem10; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-7, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-7, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-6, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-6, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-5, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-5, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=0, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=0, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L43] check_#in~s1.base, check_#in~s1.offset, check_#in~i := main_~pd2~0.base, main_~pd2~0.offset, main_~i~0; [L43] havoc check_#res; [L43] havoc check_#t~mem6, check_~s1.base, check_~s1.offset, check_~i; [L26-L29] check_~s1.base, check_~s1.offset := check_#in~s1.base, check_#in~s1.offset; [L26-L29] check_~i := check_#in~i; [L28] call check_#t~mem6 := read~int(check_~s1.base, 8 + check_~s1.offset + 4 * check_~i, 4); [L28] check_#res := (if check_#t~mem6 == check_~i then 1 else 0); [L28] havoc check_#t~mem6; [L43] main_#t~ret13 := check_#res; [L43] assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_#t~ret13=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L43-L45] assume 0 == main_#t~ret13; [L43] havoc main_#t~ret13; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L50] assert false; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L10] call ~#d1~0.base, ~#d1~0.offset := #Ultimate.alloc(72); [L10] call write~init~int(0, ~#d1~0.base, ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 4 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 8 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 12 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 16 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 20 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 24 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 28 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 32 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 36 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 40 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 44 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 48 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 52 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 56 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 60 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 64 + ~#d1~0.offset, 4); [L10] call write~init~int(0, ~#d1~0.base, 68 + ~#d1~0.offset, 4); [L10] call ~#d2~0.base, ~#d2~0.offset := #Ultimate.alloc(72); [L10] call write~init~int(0, ~#d2~0.base, ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 4 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 8 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 12 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 16 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 20 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 24 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 28 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 32 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 36 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 40 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 44 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 48 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 52 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 56 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 60 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 64 + ~#d2~0.offset, 4); [L10] call write~init~int(0, ~#d2~0.base, 68 + ~#d2~0.offset, 4); [?] havoc main_#res; [?] havoc main_#t~ret7.base, main_#t~ret7.offset, main_#t~ret8.base, main_#t~ret8.offset, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0.base, main_~pa~0.offset, main_~pd1~0.base, main_~pd1~0.offset, main_~pd2~0.base, main_~pd2~0.offset, main_~i~0; [L33] havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3; [L14] assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647; [L14] call write~int(init_#t~nondet0, ~#d1~0.base, ~#d1~0.offset, 4); [L14] havoc init_#t~nondet0; [L15] assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647; [L15] call write~int(init_#t~nondet1, ~#d1~0.base, 4 + ~#d1~0.offset, 4); [L15] havoc init_#t~nondet1; [L17] assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647; [L17] call write~int(init_#t~nondet2, ~#d2~0.base, ~#d2~0.offset, 4); [L17] havoc init_#t~nondet2; [L18] assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647; [L18] call write~int(init_#t~nondet3, ~#d2~0.base, 4 + ~#d2~0.offset, 4); [L18] havoc init_#t~nondet3; VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] CALL call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L23] assume 0 != #t~nondet4 % 256; [L23] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; [L23] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L23] havoc #t~nondet4; [L23] havoc #t~ite5.base, #t~ite5.offset; [L21-L24] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res.base=6, #res.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] RET call main_#t~ret7.base, main_#t~ret7.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret7.base=6, main_#t~ret7.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] main_~pd1~0.base, main_~pd1~0.offset := main_#t~ret7.base, main_#t~ret7.offset; [L34] havoc main_#t~ret7.base, main_#t~ret7.offset; VAL [#NULL.base=0, #NULL.offset=0, main_~pd1~0.base=6, main_~pd1~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] CALL call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L23] assume 0 != #t~nondet4 % 256; [L23] #t~ite5.base, #t~ite5.offset := ~#d1~0.base, ~#d1~0.offset; [L23] #res.base, #res.offset := #t~ite5.base, #t~ite5.offset; [L23] havoc #t~nondet4; [L23] havoc #t~ite5.base, #t~ite5.offset; [L21-L24] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res.base=6, #res.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] RET call main_#t~ret8.base, main_#t~ret8.offset := get_dummy(); VAL [#NULL.base=0, #NULL.offset=0, main_#t~ret8.base=6, main_#t~ret8.offset=0, main_~pd1~0.base=6, main_~pd1~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L34] main_~pd2~0.base, main_~pd2~0.offset := main_#t~ret8.base, main_#t~ret8.offset; [L34] havoc main_#t~ret8.base, main_#t~ret8.offset; [L35] assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647; [L35] main_~i~0 := main_#t~nondet9; [L35] havoc main_#t~nondet9; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=3, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L36-L46] assume (((main_~pd1~0.base != 0 || main_~pd1~0.offset != 0) && main_~pd1~0.base == main_~pd2~0.base && main_~pd1~0.offset == main_~pd2~0.offset) && main_~i~0 >= 0) && main_~i~0 < 10; [L37] call write~int(main_~i~0, main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4); [L38] main_~pa~0.base, main_~pa~0.offset := main_~pd1~0.base, 8 + main_~pd1~0.offset + 4 * main_~i~0; [L39] call main_#t~mem10 := read~int(main_~pd2~0.base, 8 + main_~pd2~0.offset + 4 * main_~i~0, 4); [L39] main_~i~0 := main_#t~mem10 - 10; [L39] havoc main_#t~mem10; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-7, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-7, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-6, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-6, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-5, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-5, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=-1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=-1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=0, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=0, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=1, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=2, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=3, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !!(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40] call main_#t~mem11 := read~int(main_~pa~0.base, main_~pa~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~mem11=3, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L40-L42] assume !(main_~i~0 <= main_#t~mem11); [L40] havoc main_#t~mem11; VAL [#NULL.base=0, #NULL.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L43] check_#in~s1.base, check_#in~s1.offset, check_#in~i := main_~pd2~0.base, main_~pd2~0.offset, main_~i~0; [L43] havoc check_#res; [L43] havoc check_#t~mem6, check_~s1.base, check_~s1.offset, check_~i; [L26-L29] check_~s1.base, check_~s1.offset := check_#in~s1.base, check_#in~s1.offset; [L26-L29] check_~i := check_#in~i; [L28] call check_#t~mem6 := read~int(check_~s1.base, 8 + check_~s1.offset + 4 * check_~i, 4); [L28] check_#res := (if check_#t~mem6 == check_~i then 1 else 0); [L28] havoc check_#t~mem6; [L43] main_#t~ret13 := check_#res; [L43] assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_#t~ret13=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L43-L45] assume 0 == main_#t~ret13; [L43] havoc main_#t~ret13; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [L50] assert false; VAL [#NULL.base=0, #NULL.offset=0, check_#in~i=4, check_#in~s1.base=6, check_#in~s1.offset=0, check_#res=0, check_~i=4, check_~s1.base=6, check_~s1.offset=0, main_~i~0=4, main_~pa~0.base=6, main_~pa~0.offset=20, main_~pd1~0.base=6, main_~pd1~0.offset=0, main_~pd2~0.base=6, main_~pd2~0.offset=0, ~#d1~0.base=6, ~#d1~0.offset=0, ~#d2~0.base=5, ~#d2~0.offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L10] FCALL call ~#d1~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 8 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 12 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 16 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 20 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 24 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 28 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 32 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 36 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 40 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 44 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 48 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 52 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 56 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 60 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 64 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 68 + ~#d1~0!offset }, 4); [L10] FCALL call ~#d2~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 8 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 12 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 16 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 20 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 24 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 28 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 32 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 36 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 40 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 44 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 48 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 52 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 56 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 60 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 64 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 68 + ~#d2~0!offset }, 4); [?] havoc main_#res; [?] havoc main_#t~ret7, main_#t~ret8, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0, main_~pd1~0, main_~pd2~0, main_~i~0; [L33] havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3; [L14] assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647; [L14] FCALL call write~int(init_#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L14] havoc init_#t~nondet0; [L15] assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647; [L15] FCALL call write~int(init_#t~nondet1, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L15] havoc init_#t~nondet1; [L17] assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647; [L17] FCALL call write~int(init_#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L17] havoc init_#t~nondet2; [L18] assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647; [L18] FCALL call write~int(init_#t~nondet3, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L18] havoc init_#t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call main_#t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call main_#t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret7!base=6, main_#t~ret7!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] main_~pd1~0 := main_#t~ret7; [L34] havoc main_#t~ret7; VAL [#NULL!base=0, #NULL!offset=0, main_~pd1~0!base=6, main_~pd1~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call main_#t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call main_#t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret8!base=6, main_#t~ret8!offset=0, main_~pd1~0!base=6, main_~pd1~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] main_~pd2~0 := main_#t~ret8; [L34] havoc main_#t~ret8; [L35] assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647; [L35] main_~i~0 := main_#t~nondet9; [L35] havoc main_#t~nondet9; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=3, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L36] COND TRUE ((main_~pd1~0 != { base: 0, offset: 0 } && main_~pd1~0 == main_~pd2~0) && main_~i~0 >= 0) && main_~i~0 < 10 [L37] FCALL call write~int(main_~i~0, { base: main_~pd2~0!base, offset: 8 + main_~pd2~0!offset + 4 * main_~i~0 }, 4); [L38] main_~pa~0 := { base: main_~pd1~0!base, offset: 8 + main_~pd1~0!offset + 4 * main_~i~0 }; [L39] FCALL call main_#t~mem10 := read~int({ base: main_~pd2~0!base, offset: 8 + main_~pd2~0!offset + 4 * main_~i~0 }, 4); [L39] main_~i~0 := main_#t~mem10 - 10; [L39] havoc main_#t~mem10; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-7, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-7, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-6, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-6, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-5, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-5, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=0, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=0, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND TRUE !(main_~i~0 <= main_#t~mem11) [L40] havoc main_#t~mem11; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] check_#in~s1, check_#in~i := main_~pd2~0, main_~i~0; [L43] havoc check_#res; [L43] havoc check_#t~mem6, check_~s1, check_~i; [L26-L29] check_~s1 := check_#in~s1; [L26-L29] check_~i := check_#in~i; [L28] FCALL call check_#t~mem6 := read~int({ base: check_~s1!base, offset: 8 + check_~s1!offset + 4 * check_~i }, 4); [L28] check_#res := (if check_#t~mem6 == check_~i then 1 else 0); [L28] havoc check_#t~mem6; [L43] main_#t~ret13 := check_#res; [L43] assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_#t~ret13=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] COND TRUE 0 == main_#t~ret13 [L43] havoc main_#t~ret13; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L50] assert false; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L10] FCALL call ~#d1~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 8 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 12 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 16 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 20 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 24 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 28 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 32 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 36 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 40 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 44 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 48 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 52 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 56 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 60 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 64 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 68 + ~#d1~0!offset }, 4); [L10] FCALL call ~#d2~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 8 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 12 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 16 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 20 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 24 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 28 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 32 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 36 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 40 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 44 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 48 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 52 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 56 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 60 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 64 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 68 + ~#d2~0!offset }, 4); [?] havoc main_#res; [?] havoc main_#t~ret7, main_#t~ret8, main_#t~nondet9, main_#t~mem10, main_#t~pre12, main_#t~mem11, main_#t~ret13, main_~pa~0, main_~pd1~0, main_~pd2~0, main_~i~0; [L33] havoc init_#t~nondet0, init_#t~nondet1, init_#t~nondet2, init_#t~nondet3; [L14] assume -2147483648 <= init_#t~nondet0 && init_#t~nondet0 <= 2147483647; [L14] FCALL call write~int(init_#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L14] havoc init_#t~nondet0; [L15] assume -2147483648 <= init_#t~nondet1 && init_#t~nondet1 <= 2147483647; [L15] FCALL call write~int(init_#t~nondet1, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L15] havoc init_#t~nondet1; [L17] assume -2147483648 <= init_#t~nondet2 && init_#t~nondet2 <= 2147483647; [L17] FCALL call write~int(init_#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L17] havoc init_#t~nondet2; [L18] assume -2147483648 <= init_#t~nondet3 && init_#t~nondet3 <= 2147483647; [L18] FCALL call write~int(init_#t~nondet3, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L18] havoc init_#t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call main_#t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call main_#t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret7!base=6, main_#t~ret7!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] main_~pd1~0 := main_#t~ret7; [L34] havoc main_#t~ret7; VAL [#NULL!base=0, #NULL!offset=0, main_~pd1~0!base=6, main_~pd1~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call main_#t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call main_#t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, main_#t~ret8!base=6, main_#t~ret8!offset=0, main_~pd1~0!base=6, main_~pd1~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] main_~pd2~0 := main_#t~ret8; [L34] havoc main_#t~ret8; [L35] assume -2147483648 <= main_#t~nondet9 && main_#t~nondet9 <= 2147483647; [L35] main_~i~0 := main_#t~nondet9; [L35] havoc main_#t~nondet9; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=3, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L36] COND TRUE ((main_~pd1~0 != { base: 0, offset: 0 } && main_~pd1~0 == main_~pd2~0) && main_~i~0 >= 0) && main_~i~0 < 10 [L37] FCALL call write~int(main_~i~0, { base: main_~pd2~0!base, offset: 8 + main_~pd2~0!offset + 4 * main_~i~0 }, 4); [L38] main_~pa~0 := { base: main_~pd1~0!base, offset: 8 + main_~pd1~0!offset + 4 * main_~i~0 }; [L39] FCALL call main_#t~mem10 := read~int({ base: main_~pd2~0!base, offset: 8 + main_~pd2~0!offset + 4 * main_~i~0 }, 4); [L39] main_~i~0 := main_#t~mem10 - 10; [L39] havoc main_#t~mem10; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-7, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-7, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-6, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-6, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-5, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-5, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=-1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=-1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=0, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=0, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=1, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=2, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=3, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(main_~i~0 <= main_#t~mem11)) [L40] havoc main_#t~mem11; [L41] main_#t~pre12 := 1 + main_~i~0; [L41] main_~i~0 := 1 + main_~i~0; [L41] havoc main_#t~pre12; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call main_#t~mem11 := read~int(main_~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~mem11=3, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND TRUE !(main_~i~0 <= main_#t~mem11) [L40] havoc main_#t~mem11; VAL [#NULL!base=0, #NULL!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] check_#in~s1, check_#in~i := main_~pd2~0, main_~i~0; [L43] havoc check_#res; [L43] havoc check_#t~mem6, check_~s1, check_~i; [L26-L29] check_~s1 := check_#in~s1; [L26-L29] check_~i := check_#in~i; [L28] FCALL call check_#t~mem6 := read~int({ base: check_~s1!base, offset: 8 + check_~s1!offset + 4 * check_~i }, 4); [L28] check_#res := (if check_#t~mem6 == check_~i then 1 else 0); [L28] havoc check_#t~mem6; [L43] main_#t~ret13 := check_#res; [L43] assume -2147483648 <= main_#t~ret13 && main_#t~ret13 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_#t~ret13=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] COND TRUE 0 == main_#t~ret13 [L43] havoc main_#t~ret13; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L50] assert false; VAL [#NULL!base=0, #NULL!offset=0, check_#in~i=4, check_#in~s1!base=6, check_#in~s1!offset=0, check_#res=0, check_~i=4, check_~s1!base=6, check_~s1!offset=0, main_~i~0=4, main_~pa~0!base=6, main_~pa~0!offset=20, main_~pd1~0!base=6, main_~pd1~0!offset=0, main_~pd2~0!base=6, main_~pd2~0!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L10] FCALL call ~#d1~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 8 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 12 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 16 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 20 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 24 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 28 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 32 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 36 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 40 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 44 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 48 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 52 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 56 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 60 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 64 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 68 + ~#d1~0!offset }, 4); [L10] FCALL call ~#d2~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 8 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 12 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 16 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 20 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 24 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 28 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 32 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 36 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 40 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 44 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 48 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 52 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 56 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 60 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 64 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 68 + ~#d2~0!offset }, 4); [L14] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; [L14] FCALL call write~int(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L14] havoc #t~nondet0; [L15] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; [L15] FCALL call write~int(#t~nondet1, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L15] havoc #t~nondet1; [L17] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; [L17] FCALL call write~int(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L17] havoc #t~nondet2; [L18] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L18] FCALL call write~int(#t~nondet3, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L18] havoc #t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] ~pd1~0 := #t~ret7; [L34] havoc #t~ret7; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] ~pd2~0 := #t~ret8; [L34] havoc #t~ret8; [L35] assume -2147483648 <= #t~nondet9 && #t~nondet9 <= 2147483647; [L35] ~i~0 := #t~nondet9; [L35] havoc #t~nondet9; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L36] COND TRUE ((~pd1~0 != { base: 0, offset: 0 } && ~pd1~0 == ~pd2~0) && ~i~0 >= 0) && ~i~0 < 10 [L37] FCALL call write~int(~i~0, { base: ~pd2~0!base, offset: 8 + ~pd2~0!offset + 4 * ~i~0 }, 4); [L38] ~pa~0 := { base: ~pd1~0!base, offset: 8 + ~pd1~0!offset + 4 * ~i~0 }; [L39] FCALL call #t~mem10 := read~int({ base: ~pd2~0!base, offset: 8 + ~pd2~0!offset + 4 * ~i~0 }, 4); [L39] ~i~0 := #t~mem10 - 10; [L39] havoc #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND TRUE !(~i~0 <= #t~mem11) [L40] havoc #t~mem11; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L26-L29] ~s1 := #in~s1; [L26-L29] ~i := #in~i; [L28] FCALL call #t~mem6 := read~int({ base: ~s1!base, offset: 8 + ~s1!offset + 4 * ~i }, 4); [L28] #res := (if #t~mem6 == ~i then 1 else 0); [L28] havoc #t~mem6; [L43] assume -2147483648 <= #t~ret13 && #t~ret13 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] COND TRUE 0 == #t~ret13 [L43] havoc #t~ret13; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L50] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L10] FCALL call ~#d1~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 8 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 12 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 16 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 20 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 24 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 28 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 32 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 36 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 40 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 44 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 48 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 52 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 56 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 60 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 64 + ~#d1~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d1~0!base, offset: 68 + ~#d1~0!offset }, 4); [L10] FCALL call ~#d2~0 := #Ultimate.alloc(72); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 8 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 12 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 16 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 20 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 24 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 28 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 32 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 36 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 40 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 44 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 48 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 52 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 56 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 60 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 64 + ~#d2~0!offset }, 4); [L10] FCALL call write~init~int(0, { base: ~#d2~0!base, offset: 68 + ~#d2~0!offset }, 4); [L14] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; [L14] FCALL call write~int(#t~nondet0, { base: ~#d1~0!base, offset: ~#d1~0!offset }, 4); [L14] havoc #t~nondet0; [L15] assume -2147483648 <= #t~nondet1 && #t~nondet1 <= 2147483647; [L15] FCALL call write~int(#t~nondet1, { base: ~#d1~0!base, offset: 4 + ~#d1~0!offset }, 4); [L15] havoc #t~nondet1; [L17] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; [L17] FCALL call write~int(#t~nondet2, { base: ~#d2~0!base, offset: ~#d2~0!offset }, 4); [L17] havoc #t~nondet2; [L18] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L18] FCALL call write~int(#t~nondet3, { base: ~#d2~0!base, offset: 4 + ~#d2~0!offset }, 4); [L18] havoc #t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call #t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call #t~ret7 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] ~pd1~0 := #t~ret7; [L34] havoc #t~ret7; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] CALL call #t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L23] COND TRUE 0 != #t~nondet4 % 256 [L23] #t~ite5 := ~#d1~0; [L23] #res := #t~ite5; [L23] havoc #t~nondet4; [L23] havoc #t~ite5; [L34] RET call #t~ret8 := get_dummy(); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L34] ~pd2~0 := #t~ret8; [L34] havoc #t~ret8; [L35] assume -2147483648 <= #t~nondet9 && #t~nondet9 <= 2147483647; [L35] ~i~0 := #t~nondet9; [L35] havoc #t~nondet9; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L36] COND TRUE ((~pd1~0 != { base: 0, offset: 0 } && ~pd1~0 == ~pd2~0) && ~i~0 >= 0) && ~i~0 < 10 [L37] FCALL call write~int(~i~0, { base: ~pd2~0!base, offset: 8 + ~pd2~0!offset + 4 * ~i~0 }, 4); [L38] ~pa~0 := { base: ~pd1~0!base, offset: 8 + ~pd1~0!offset + 4 * ~i~0 }; [L39] FCALL call #t~mem10 := read~int({ base: ~pd2~0!base, offset: 8 + ~pd2~0!offset + 4 * ~i~0 }, 4); [L39] ~i~0 := #t~mem10 - 10; [L39] havoc #t~mem10; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND FALSE !(!(~i~0 <= #t~mem11)) [L40] havoc #t~mem11; [L41] #t~pre12 := 1 + ~i~0; [L41] ~i~0 := 1 + ~i~0; [L41] havoc #t~pre12; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40] FCALL call #t~mem11 := read~int(~pa~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L40-L42] COND TRUE !(~i~0 <= #t~mem11) [L40] havoc #t~mem11; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L26-L29] ~s1 := #in~s1; [L26-L29] ~i := #in~i; [L28] FCALL call #t~mem6 := read~int({ base: ~s1!base, offset: 8 + ~s1!offset + 4 * ~i }, 4); [L28] #res := (if #t~mem6 == ~i then 1 else 0); [L28] havoc #t~mem6; [L43] assume -2147483648 <= #t~ret13 && #t~ret13 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L43] COND TRUE 0 == #t~ret13 [L43] havoc #t~ret13; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L50] assert false; VAL [#NULL!base=0, #NULL!offset=0, ~#d1~0!base=6, ~#d1~0!offset=0, ~#d2~0!base=5, ~#d2~0!offset=0] [L10] struct dummy d1, d2; [L14] d1.a = __VERIFIER_nondet_int() [L15] d1.b = __VERIFIER_nondet_int() [L17] d2.a = __VERIFIER_nondet_int() [L18] d2.b = __VERIFIER_nondet_int() [L34] CALL, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L23] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 [L23] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L34] RET, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L34] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(); [L34] CALL, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L23] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 [L23] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L34] RET, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L34] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(); [L35] int i = __VERIFIER_nondet_int(); [L36] COND TRUE pd1 != 0 && pd1 == pd2 && i >= 0 && i < 10 [L37] pd2->array[i] = i [L38] int *pa = &pd1->array[i]; [L39] EXPR pd2->array[i] [L39] i = pd2->array[i] - 10 [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND FALSE !(i <= *pa) [L28] EXPR s1->array[i] [L28] return s1->array[i] == i; [L43] COND TRUE !check(pd2, i) [L50] __VERIFIER_error() VAL [d1={6:0}, d2={5:0}] ----- [2018-11-23 15:42:35,143 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_c9fc62f4-c2fd-4a99-989c-61700f03a876/bin-2019/ukojak/witness.graphml [2018-11-23 15:42:35,143 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 15:42:35,144 INFO L168 Benchmark]: Toolchain (without parser) took 37719.85 ms. Allocated memory was 1.0 GB in the beginning and 1.7 GB in the end (delta: 680.0 MB). Free memory was 954.8 MB in the beginning and 1.6 GB in the end (delta: -609.7 MB). Peak memory consumption was 70.3 MB. Max. memory is 11.5 GB. [2018-11-23 15:42:35,144 INFO L168 Benchmark]: CDTParser took 0.10 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 15:42:35,144 INFO L168 Benchmark]: CACSL2BoogieTranslator took 174.08 ms. Allocated memory is still 1.0 GB. Free memory was 954.8 MB in the beginning and 941.4 MB in the end (delta: 13.4 MB). Peak memory consumption was 13.4 MB. Max. memory is 11.5 GB. [2018-11-23 15:42:35,145 INFO L168 Benchmark]: Boogie Procedure Inliner took 74.68 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 151.0 MB). Free memory was 941.4 MB in the beginning and 1.1 GB in the end (delta: -204.4 MB). Peak memory consumption was 14.4 MB. Max. memory is 11.5 GB. [2018-11-23 15:42:35,145 INFO L168 Benchmark]: Boogie Preprocessor took 25.22 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 15:42:35,145 INFO L168 Benchmark]: RCFGBuilder took 307.02 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 24.5 MB). Peak memory consumption was 24.5 MB. Max. memory is 11.5 GB. [2018-11-23 15:42:35,145 INFO L168 Benchmark]: CodeCheck took 36803.64 ms. Allocated memory was 1.2 GB in the beginning and 1.7 GB in the end (delta: 529.0 MB). Free memory was 1.1 GB in the beginning and 1.6 GB in the end (delta: -460.1 MB). Peak memory consumption was 68.9 MB. Max. memory is 11.5 GB. [2018-11-23 15:42:35,146 INFO L168 Benchmark]: Witness Printer took 332.16 ms. Allocated memory is still 1.7 GB. Free memory was 1.6 GB in the beginning and 1.6 GB in the end (delta: 16.8 MB). Peak memory consumption was 16.8 MB. Max. memory is 11.5 GB. [2018-11-23 15:42:35,148 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 22 locations, 1 error locations. UNSAFE Result, 36.6s OverallTime, 13 OverallIterations, 0 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 55312 SDtfs, 7264 SDslu, 0 SDs, 0 SdLazy, 120294 SolverSat, 43418 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.6s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 2524 GetRequests, 1955 SyntacticMatches, 181 SemanticMatches, 388 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 76248 ImplicationChecksByTransitivity, 34.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, traceCheckStatistics: 0.0s SsaConstructionTime, 0.5s SatisfiabilityAnalysisTime, 12.4s InterpolantComputationTime, 326 NumberOfCodeBlocks, 326 NumberOfCodeBlocksAsserted, 13 NumberOfCheckSat, 277 ConstructedInterpolants, 0 QuantifiedInterpolants, 177961 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 12 InterpolantComputations, 1 PerfectInterpolantSequences, 13/464 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - CounterExampleResult [Line: 50]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L10] struct dummy d1, d2; [L14] d1.a = __VERIFIER_nondet_int() [L15] d1.b = __VERIFIER_nondet_int() [L17] d2.a = __VERIFIER_nondet_int() [L18] d2.b = __VERIFIER_nondet_int() [L34] CALL, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L23] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 [L23] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L34] RET, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L34] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(); [L34] CALL, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L23] EXPR __VERIFIER_nondet_bool() ? &d1 : &d2 [L23] return (__VERIFIER_nondet_bool() ? &d1 : &d2); [L34] RET, EXPR get_dummy() VAL [d1={6:0}, d2={5:0}] [L34] struct dummy *pd1 = get_dummy(), *pd2 = get_dummy(); [L35] int i = __VERIFIER_nondet_int(); [L36] COND TRUE pd1 != 0 && pd1 == pd2 && i >= 0 && i < 10 [L37] pd2->array[i] = i [L38] int *pa = &pd1->array[i]; [L39] EXPR pd2->array[i] [L39] i = pd2->array[i] - 10 [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND TRUE i <= *pa [L41] ++i VAL [d1={6:0}, d2={5:0}] [L40] EXPR \read(*pa) VAL [d1={6:0}, d2={5:0}] [L40] COND FALSE !(i <= *pa) [L28] EXPR s1->array[i] [L28] return s1->array[i] == i; [L43] COND TRUE !check(pd2, i) [L50] __VERIFIER_error() VAL [d1={6:0}, d2={5:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.10 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 174.08 ms. Allocated memory is still 1.0 GB. Free memory was 954.8 MB in the beginning and 941.4 MB in the end (delta: 13.4 MB). Peak memory consumption was 13.4 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 74.68 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 151.0 MB). Free memory was 941.4 MB in the beginning and 1.1 GB in the end (delta: -204.4 MB). Peak memory consumption was 14.4 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 25.22 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 307.02 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 24.5 MB). Peak memory consumption was 24.5 MB. Max. memory is 11.5 GB. * CodeCheck took 36803.64 ms. Allocated memory was 1.2 GB in the beginning and 1.7 GB in the end (delta: 529.0 MB). Free memory was 1.1 GB in the beginning and 1.6 GB in the end (delta: -460.1 MB). Peak memory consumption was 68.9 MB. Max. memory is 11.5 GB. * Witness Printer took 332.16 ms. Allocated memory is still 1.7 GB. Free memory was 1.6 GB in the beginning and 1.6 GB in the end (delta: 16.8 MB). Peak memory consumption was 16.8 MB. Max. memory is 11.5 GB. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...