java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AbstractInterpretationInline.xml -s ../../../trunk/examples/settings/ai/array-bench/reach_32bit_compound_exp_cong.epf -i ../../../trunk/examples/programs/20181010-MemSafetyPathprograms/alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-b8c145f [2019-08-05 12:16:47,702 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-08-05 12:16:47,705 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-08-05 12:16:47,717 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-08-05 12:16:47,717 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-08-05 12:16:47,718 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-08-05 12:16:47,720 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-08-05 12:16:47,721 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-08-05 12:16:47,723 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-08-05 12:16:47,724 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-08-05 12:16:47,725 INFO L181 SettingsManager]: Resetting Symbolic Interpretation preferences to default values [2019-08-05 12:16:47,726 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-08-05 12:16:47,726 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-08-05 12:16:47,727 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-08-05 12:16:47,728 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-08-05 12:16:47,729 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-08-05 12:16:47,730 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-08-05 12:16:47,731 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-08-05 12:16:47,733 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-08-05 12:16:47,735 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-08-05 12:16:47,737 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-08-05 12:16:47,738 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-08-05 12:16:47,740 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-08-05 12:16:47,740 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-08-05 12:16:47,743 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-08-05 12:16:47,743 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-08-05 12:16:47,744 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-08-05 12:16:47,745 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-08-05 12:16:47,745 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-08-05 12:16:47,746 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-08-05 12:16:47,747 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-08-05 12:16:47,747 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-08-05 12:16:47,748 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-08-05 12:16:47,749 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-08-05 12:16:47,750 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-08-05 12:16:47,750 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-08-05 12:16:47,751 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-08-05 12:16:47,751 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-08-05 12:16:47,751 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-08-05 12:16:47,753 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-08-05 12:16:47,753 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-08-05 12:16:47,754 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/array-bench/reach_32bit_compound_exp_cong.epf [2019-08-05 12:16:47,767 INFO L113 SettingsManager]: Loading preferences was successful [2019-08-05 12:16:47,768 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-08-05 12:16:47,769 INFO L136 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-08-05 12:16:47,769 INFO L138 SettingsManager]: * Show backtranslation warnings=false [2019-08-05 12:16:47,769 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-08-05 12:16:47,769 INFO L138 SettingsManager]: * User list type=DISABLED [2019-08-05 12:16:47,769 INFO L138 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-08-05 12:16:47,770 INFO L136 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-08-05 12:16:47,770 INFO L138 SettingsManager]: * Explicit value domain=true [2019-08-05 12:16:47,770 INFO L138 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-08-05 12:16:47,770 INFO L138 SettingsManager]: * Octagon Domain=false [2019-08-05 12:16:47,770 INFO L138 SettingsManager]: * Abstract domain=CompoundDomain [2019-08-05 12:16:47,771 INFO L138 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-08-05 12:16:47,771 INFO L138 SettingsManager]: * Interval Domain=false [2019-08-05 12:16:47,771 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-08-05 12:16:47,772 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-08-05 12:16:47,772 INFO L138 SettingsManager]: * Use SBE=true [2019-08-05 12:16:47,772 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-08-05 12:16:47,772 INFO L138 SettingsManager]: * sizeof long=4 [2019-08-05 12:16:47,773 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-08-05 12:16:47,773 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-08-05 12:16:47,773 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-08-05 12:16:47,773 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-08-05 12:16:47,773 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-08-05 12:16:47,774 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-08-05 12:16:47,774 INFO L138 SettingsManager]: * sizeof long double=12 [2019-08-05 12:16:47,774 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-08-05 12:16:47,774 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-08-05 12:16:47,774 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-08-05 12:16:47,775 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-08-05 12:16:47,775 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-08-05 12:16:47,775 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:16:47,775 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-08-05 12:16:47,775 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-08-05 12:16:47,776 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-08-05 12:16:47,776 INFO L138 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-08-05 12:16:47,776 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-08-05 12:16:47,776 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-08-05 12:16:47,776 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-08-05 12:16:47,777 INFO L138 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-08-05 12:16:47,813 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-08-05 12:16:47,831 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-08-05 12:16:47,835 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-08-05 12:16:47,839 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-08-05 12:16:47,840 INFO L275 PluginConnector]: Boogie PL CUP Parser initialized [2019-08-05 12:16:47,840 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl [2019-08-05 12:16:47,841 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl' [2019-08-05 12:16:47,905 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-08-05 12:16:47,907 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-08-05 12:16:47,907 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-08-05 12:16:47,908 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-08-05 12:16:47,908 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-08-05 12:16:47,926 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... [2019-08-05 12:16:47,946 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... [2019-08-05 12:16:47,966 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-08-05 12:16:47,967 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-08-05 12:16:47,967 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-08-05 12:16:47,968 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-08-05 12:16:47,981 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... [2019-08-05 12:16:47,982 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... [2019-08-05 12:16:47,989 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... [2019-08-05 12:16:47,990 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... [2019-08-05 12:16:48,011 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... [2019-08-05 12:16:48,015 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... [2019-08-05 12:16:48,017 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... [2019-08-05 12:16:48,026 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-08-05 12:16:48,026 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-08-05 12:16:48,027 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-08-05 12:16:48,027 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-08-05 12:16:48,031 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:47" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:16:48,111 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2019-08-05 12:16:48,111 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-08-05 12:16:48,112 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-08-05 12:16:48,549 INFO L278 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-08-05 12:16:48,549 INFO L283 CfgBuilder]: Removed 0 assume(true) statements. [2019-08-05 12:16:48,551 INFO L202 PluginConnector]: Adding new model alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:16:48 BoogieIcfgContainer [2019-08-05 12:16:48,551 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-08-05 12:16:48,552 INFO L113 PluginConnector]: ------------------------Abstract Interpretation---------------------------- [2019-08-05 12:16:48,552 INFO L271 PluginConnector]: Initializing Abstract Interpretation... [2019-08-05 12:16:48,553 INFO L275 PluginConnector]: Abstract Interpretation initialized [2019-08-05 12:16:48,554 INFO L185 PluginConnector]: Executing the observer AbstractInterpretationRcfgObserver from plugin Abstract Interpretation for "alternating_list_true-unreach-call_true-valid-memsafety.i_37.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,588 INFO L101 FixpointEngine]: Starting fixpoint engine with domain CompoundDomain (maxUnwinding=3, maxParallelStates=2) [2019-08-05 12:16:49,037 INFO L263 AbstractInterpreter]: Some error location(s) were reachable [2019-08-05 12:16:49,074 INFO L272 AbstractInterpreter]: Visited 12 different actions 46 times. Merged at 10 different actions 26 times. Widened at 2 different actions 2 times. Performed 1366 root evaluator evaluations with a maximum evaluation depth of 4. Performed 1366 inverse root evaluator evaluations with a maximum inverse evaluation depth of 4. Found 7 fixpoints after 4 different actions. Largest state had 0 variables. [2019-08-05 12:16:49,075 INFO L132 PluginConnector]: ------------------------ END Abstract Interpretation---------------------------- [2019-08-05 12:16:49,081 INFO L168 Benchmark]: Toolchain (without parser) took 1170.32 ms. Allocated memory was 140.5 MB in the beginning and 177.2 MB in the end (delta: 36.7 MB). Free memory was 104.7 MB in the beginning and 144.3 MB in the end (delta: -39.6 MB). There was no memory consumed. Max. memory is 7.1 GB. [2019-08-05 12:16:49,082 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.21 ms. Allocated memory is still 140.5 MB. Free memory is still 106.4 MB. There was no memory consumed. Max. memory is 7.1 GB. [2019-08-05 12:16:49,085 INFO L168 Benchmark]: Boogie Procedure Inliner took 58.74 ms. Allocated memory is still 140.5 MB. Free memory was 104.7 MB in the beginning and 102.6 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 7.1 GB. [2019-08-05 12:16:49,086 INFO L168 Benchmark]: Boogie Preprocessor took 59.34 ms. Allocated memory is still 140.5 MB. Free memory was 102.6 MB in the beginning and 101.4 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. [2019-08-05 12:16:49,088 INFO L168 Benchmark]: RCFGBuilder took 524.90 ms. Allocated memory is still 140.5 MB. Free memory was 100.9 MB in the beginning and 84.3 MB in the end (delta: 16.7 MB). Peak memory consumption was 16.7 MB. Max. memory is 7.1 GB. [2019-08-05 12:16:49,089 INFO L168 Benchmark]: Abstract Interpretation took 522.85 ms. Allocated memory was 140.5 MB in the beginning and 177.2 MB in the end (delta: 36.7 MB). Free memory was 83.8 MB in the beginning and 144.3 MB in the end (delta: -60.5 MB). There was no memory consumed. Max. memory is 7.1 GB. [2019-08-05 12:16:49,096 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Boogie PL CUP Parser took 0.21 ms. Allocated memory is still 140.5 MB. Free memory is still 106.4 MB. There was no memory consumed. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 58.74 ms. Allocated memory is still 140.5 MB. Free memory was 104.7 MB in the beginning and 102.6 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 59.34 ms. Allocated memory is still 140.5 MB. Free memory was 102.6 MB in the beginning and 101.4 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. * RCFGBuilder took 524.90 ms. Allocated memory is still 140.5 MB. Free memory was 100.9 MB in the beginning and 84.3 MB in the end (delta: 16.7 MB). Peak memory consumption was 16.7 MB. Max. memory is 7.1 GB. * Abstract Interpretation took 522.85 ms. Allocated memory was 140.5 MB in the beginning and 177.2 MB in the end (delta: 36.7 MB). Free memory was 83.8 MB in the beginning and 144.3 MB in the end (delta: -60.5 MB). There was no memory consumed. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2: - UnprovableResult [Line: 242]: Unable to prove that assertion always holds Unable to prove that assertion always holds Reason: abstract domain could reach this error location. Possible FailurePath: [L78] #NULL.offset, #NULL.base := 0, 0; [L79] #valid := #valid[0 := 0]; [L80] main_old_#valid := #valid; [L81] havoc main_#res; [L82] havoc main_#t~nondet1, main_~flag~0, main_~tmp~0.offset, main_~p~0.base, main_#t~malloc0.offset, main_#t~mem9.offset, main_~a~0.base, main_~t~0.offset, main_~p~0.offset, main_#t~malloc0.base, main_~tmp~0.base, main_~t~0.base, main_#t~mem7.offset, main_#t~mem8, main_#t~malloc2.base, main_#t~malloc2.offset, main_~a~0.offset, main_#t~mem3.offset, main_#t~mem3.base, main_#t~mem6, main_#t~mem5, main_#t~mem4, main_#t~mem9.base, main_#t~mem7.base; [L83] main_~flag~0 := 1; [L84] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L85] #Ultimate.alloc_~size := 8; [L86] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L87] havoc #valid, #length; [L88] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L89] assume #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1] == #valid; [L90] assume #Ultimate.alloc_#res.offset == 0; [L91] assume !(0 == #Ultimate.alloc_#res.base); [L92] assume #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size] == #length; [L93] main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L94] main_~a~0.offset, main_~a~0.base := main_#t~malloc0.offset, main_#t~malloc0.base; [L95] assume !(main_~a~0.offset == 0) || !(0 == main_~a~0.base); [L96] havoc main_~t~0.base, main_~t~0.offset; [L97] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; [L100] assume 0 <= main_#t~nondet1 + 2147483648 && main_#t~nondet1 <= 2147483647; [L105] assume 0 == main_#t~nondet1; [L106] havoc main_#t~nondet1; [L107] write~int_old_#memory_$Pointer$.offset, write~int_old_#memory_$Pointer$.base, write~int_old_#memory_int := #memory_$Pointer$.offset, #memory_$Pointer$.base, #memory_int; [L108] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 4, main_~p~0.base, 3, main_~p~0.offset; [L109] assume 1 == #valid[write~int_#ptr.base]; [L110] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L111] assume 1 == #valid[write~int_#ptr.base]; [L112] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L113] havoc #memory_int; [L114] assume (#memory_$Pointer$.base == write~int_old_#memory_$Pointer$.base[write~int_#ptr.base := write~int_old_#memory_$Pointer$.base[write~int_#ptr.base][write~int_#ptr.offset := #memory_$Pointer$.base[write~int_#ptr.base][write~int_#ptr.offset]]] && #memory_$Pointer$.offset == write~int_old_#memory_$Pointer$.offset[write~int_#ptr.base := write~int_old_#memory_$Pointer$.offset[write~int_#ptr.base][write~int_#ptr.offset := #memory_$Pointer$.offset[write~int_#ptr.base][write~int_#ptr.offset]]]) && write~int_old_#memory_int[write~int_#ptr.base := write~int_old_#memory_int[write~int_#ptr.base][write~int_#ptr.offset := write~int_#value]] == #memory_int; [L115] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; [L116] main_~flag~0 := 1; [L163] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~p~0.base, main_~p~0.offset, 4; [L164] assume 1 == #valid[read~int_#ptr.base]; [L165] assume read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base] && 0 <= read~int_#ptr.offset; [L166] assume 1 == #valid[read~int_#ptr.base]; [L167] assume read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base] && 0 <= read~int_#ptr.offset; [L168] havoc read~int_#value; [L169] assume #memory_int[read~int_#ptr.base][read~int_#ptr.offset] == read~int_#value; [L170] main_#t~mem4 := read~int_#value; [L175] assume main_#t~mem4 == 3; [L176] havoc main_#t~mem4; [L177] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; [L206] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~p~0.base, main_~p~0.offset, 4; [L207] assume 1 == #valid[read~int_#ptr.base]; [L212] assume !(read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]) || !(0 <= read~int_#ptr.offset); [L242] assert false; RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request...