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/test-bitfields-2_false-valid-deref.i_15.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-b8c145f [2019-08-05 12:17:30,300 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-08-05 12:17:30,303 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-08-05 12:17:30,315 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-08-05 12:17:30,316 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-08-05 12:17:30,317 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-08-05 12:17:30,318 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-08-05 12:17:30,320 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-08-05 12:17:30,322 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-08-05 12:17:30,323 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-08-05 12:17:30,324 INFO L181 SettingsManager]: Resetting Symbolic Interpretation preferences to default values [2019-08-05 12:17:30,324 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-08-05 12:17:30,325 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-08-05 12:17:30,326 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-08-05 12:17:30,327 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-08-05 12:17:30,328 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-08-05 12:17:30,329 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-08-05 12:17:30,330 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-08-05 12:17:30,332 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-08-05 12:17:30,334 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-08-05 12:17:30,336 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-08-05 12:17:30,337 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-08-05 12:17:30,339 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-08-05 12:17:30,340 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-08-05 12:17:30,342 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-08-05 12:17:30,343 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-08-05 12:17:30,343 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-08-05 12:17:30,344 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-08-05 12:17:30,348 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-08-05 12:17:30,349 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-08-05 12:17:30,349 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-08-05 12:17:30,350 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-08-05 12:17:30,351 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-08-05 12:17:30,354 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-08-05 12:17:30,355 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-08-05 12:17:30,355 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-08-05 12:17:30,356 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-08-05 12:17:30,357 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-08-05 12:17:30,357 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-08-05 12:17:30,358 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-08-05 12:17:30,360 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-08-05 12:17:30,361 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:17:30,377 INFO L113 SettingsManager]: Loading preferences was successful [2019-08-05 12:17:30,378 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-08-05 12:17:30,378 INFO L136 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-08-05 12:17:30,379 INFO L138 SettingsManager]: * Show backtranslation warnings=false [2019-08-05 12:17:30,379 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-08-05 12:17:30,379 INFO L138 SettingsManager]: * User list type=DISABLED [2019-08-05 12:17:30,379 INFO L138 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-08-05 12:17:30,379 INFO L136 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-08-05 12:17:30,380 INFO L138 SettingsManager]: * Explicit value domain=true [2019-08-05 12:17:30,380 INFO L138 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-08-05 12:17:30,380 INFO L138 SettingsManager]: * Octagon Domain=false [2019-08-05 12:17:30,382 INFO L138 SettingsManager]: * Abstract domain=CompoundDomain [2019-08-05 12:17:30,382 INFO L138 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-08-05 12:17:30,382 INFO L138 SettingsManager]: * Interval Domain=false [2019-08-05 12:17:30,383 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-08-05 12:17:30,384 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-08-05 12:17:30,384 INFO L138 SettingsManager]: * Use SBE=true [2019-08-05 12:17:30,384 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-08-05 12:17:30,384 INFO L138 SettingsManager]: * sizeof long=4 [2019-08-05 12:17:30,384 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-08-05 12:17:30,385 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-08-05 12:17:30,385 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-08-05 12:17:30,385 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-08-05 12:17:30,385 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-08-05 12:17:30,385 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-08-05 12:17:30,386 INFO L138 SettingsManager]: * sizeof long double=12 [2019-08-05 12:17:30,386 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-08-05 12:17:30,386 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-08-05 12:17:30,387 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-08-05 12:17:30,387 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-08-05 12:17:30,387 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-08-05 12:17:30,387 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:17:30,388 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-08-05 12:17:30,388 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-08-05 12:17:30,388 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-08-05 12:17:30,388 INFO L138 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-08-05 12:17:30,388 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-08-05 12:17:30,389 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-08-05 12:17:30,389 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-08-05 12:17:30,389 INFO L138 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-08-05 12:17:30,431 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-08-05 12:17:30,444 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-08-05 12:17:30,448 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-08-05 12:17:30,450 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-08-05 12:17:30,450 INFO L275 PluginConnector]: Boogie PL CUP Parser initialized [2019-08-05 12:17:30,451 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/test-bitfields-2_false-valid-deref.i_15.bpl [2019-08-05 12:17:30,452 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/test-bitfields-2_false-valid-deref.i_15.bpl' [2019-08-05 12:17:30,509 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-08-05 12:17:30,511 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-08-05 12:17:30,512 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-08-05 12:17:30,512 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-08-05 12:17:30,512 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-08-05 12:17:30,529 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (1/1) ... [2019-08-05 12:17:30,545 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (1/1) ... [2019-08-05 12:17:30,554 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-08-05 12:17:30,555 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-08-05 12:17:30,555 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-08-05 12:17:30,556 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-08-05 12:17:30,567 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (1/1) ... [2019-08-05 12:17:30,568 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (1/1) ... [2019-08-05 12:17:30,573 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (1/1) ... [2019-08-05 12:17:30,573 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (1/1) ... [2019-08-05 12:17:30,581 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (1/1) ... [2019-08-05 12:17:30,583 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (1/1) ... [2019-08-05 12:17:30,585 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (1/1) ... [2019-08-05 12:17:30,588 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-08-05 12:17:30,589 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-08-05 12:17:30,589 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-08-05 12:17:30,589 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-08-05 12:17:30,590 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:30" (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:17:30,665 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2019-08-05 12:17:30,666 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-08-05 12:17:30,666 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-08-05 12:17:31,051 INFO L278 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-08-05 12:17:31,052 INFO L283 CfgBuilder]: Removed 0 assume(true) statements. [2019-08-05 12:17:31,053 INFO L202 PluginConnector]: Adding new model test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:17:31 BoogieIcfgContainer [2019-08-05 12:17:31,053 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-08-05 12:17:31,054 INFO L113 PluginConnector]: ------------------------Abstract Interpretation---------------------------- [2019-08-05 12:17:31,054 INFO L271 PluginConnector]: Initializing Abstract Interpretation... [2019-08-05 12:17:31,055 INFO L275 PluginConnector]: Abstract Interpretation initialized [2019-08-05 12:17:31,056 INFO L185 PluginConnector]: Executing the observer AbstractInterpretationRcfgObserver from plugin Abstract Interpretation for "test-bitfields-2_false-valid-deref.i_15.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:17:31" (1/1) ... [2019-08-05 12:17:31,102 INFO L101 FixpointEngine]: Starting fixpoint engine with domain CompoundDomain (maxUnwinding=3, maxParallelStates=2) [2019-08-05 12:17:31,399 INFO L263 AbstractInterpreter]: Some error location(s) were reachable [2019-08-05 12:17:31,426 INFO L272 AbstractInterpreter]: Visited 5 different actions 13 times. Merged at 3 different actions 5 times. Never widened. Performed 362 root evaluator evaluations with a maximum evaluation depth of 4. Performed 362 inverse root evaluator evaluations with a maximum inverse evaluation depth of 4. Found 1 fixpoints after 1 different actions. Largest state had 0 variables. [2019-08-05 12:17:31,426 INFO L132 PluginConnector]: ------------------------ END Abstract Interpretation---------------------------- [2019-08-05 12:17:31,430 INFO L168 Benchmark]: Toolchain (without parser) took 917.77 ms. Allocated memory is still 134.2 MB. Free memory was 106.2 MB in the beginning and 74.7 MB in the end (delta: 31.5 MB). Peak memory consumption was 31.5 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:31,431 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.18 ms. Allocated memory is still 134.2 MB. Free memory is still 107.8 MB. There was no memory consumed. Max. memory is 7.1 GB. [2019-08-05 12:17:31,432 INFO L168 Benchmark]: Boogie Procedure Inliner took 43.02 ms. Allocated memory is still 134.2 MB. Free memory was 106.2 MB in the beginning and 104.4 MB in the end (delta: 1.8 MB). Peak memory consumption was 1.8 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:31,434 INFO L168 Benchmark]: Boogie Preprocessor took 33.52 ms. Allocated memory is still 134.2 MB. Free memory was 104.4 MB in the beginning and 103.1 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:17:31,435 INFO L168 Benchmark]: RCFGBuilder took 464.53 ms. Allocated memory is still 134.2 MB. Free memory was 102.7 MB in the beginning and 87.1 MB in the end (delta: 15.6 MB). Peak memory consumption was 15.6 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:31,437 INFO L168 Benchmark]: Abstract Interpretation took 372.32 ms. Allocated memory is still 134.2 MB. Free memory was 87.1 MB in the beginning and 74.7 MB in the end (delta: 12.5 MB). Peak memory consumption was 12.5 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:31,443 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.18 ms. Allocated memory is still 134.2 MB. Free memory is still 107.8 MB. There was no memory consumed. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 43.02 ms. Allocated memory is still 134.2 MB. Free memory was 106.2 MB in the beginning and 104.4 MB in the end (delta: 1.8 MB). Peak memory consumption was 1.8 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 33.52 ms. Allocated memory is still 134.2 MB. Free memory was 104.4 MB in the beginning and 103.1 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. * RCFGBuilder took 464.53 ms. Allocated memory is still 134.2 MB. Free memory was 102.7 MB in the beginning and 87.1 MB in the end (delta: 15.6 MB). Peak memory consumption was 15.6 MB. Max. memory is 7.1 GB. * Abstract Interpretation took 372.32 ms. Allocated memory is still 134.2 MB. Free memory was 87.1 MB in the beginning and 74.7 MB in the end (delta: 12.5 MB). Peak memory consumption was 12.5 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2: - UnprovableResult [Line: 187]: Unable to prove that assertion always holds Unable to prove that assertion always holds Reason: abstract domain could reach this error location. Possible FailurePath: [L60] #NULL.offset, #NULL.base := 0, 0; [L61] #valid := #valid[0 := 0]; [L62] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L63] #Ultimate.alloc_~size := 5; [L64] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L65] havoc #valid, #length; [L66] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L67] assume #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1] == #valid; [L68] assume #Ultimate.alloc_#res.offset == 0; [L69] assume !(0 == #Ultimate.alloc_#res.base); [L70] assume #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size] == #length; [L71] ~#d~0.offset, ~#d~0.base := #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L72] write~unchecked~int_old_#memory_int := #memory_int; [L73] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset, 0, ~#d~0.base; [L74] havoc #memory_int; [L75] assume #memory_int == write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]]; [L76] write~unchecked~int_old_#memory_int := #memory_int; [L77] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 1, 0, ~#d~0.base; [L78] havoc #memory_int; [L79] assume #memory_int == write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]]; [L80] write~unchecked~int_old_#memory_int := #memory_int; [L81] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 2, 0, ~#d~0.base; [L82] havoc #memory_int; [L83] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L84] write~unchecked~int_old_#memory_int := #memory_int; [L85] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 3, 0, ~#d~0.base; [L86] havoc #memory_int; [L87] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L88] write~unchecked~int_old_#memory_int := #memory_int; [L89] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 4, 0, ~#d~0.base; [L90] havoc #memory_int; [L91] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L92] main_old_#valid := #valid; [L93] havoc main_#res; [L94] havoc main_#t~memcpy1.base, main_#t~malloc0.base, main_#t~memcpy1.offset, main_#t~mem2, main_~p~0.base, main_#t~malloc0.offset, main_#t~mem6, main_#t~mem5, main_#t~mem4, main_~p~0.offset, main_#t~mem3; [L95] havoc main_~p~0.base, main_~p~0.offset; [L96] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L97] #Ultimate.alloc_~size := 5; [L98] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L99] havoc #valid, #length; [L100] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L101] assume #valid == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1]; [L102] assume #Ultimate.alloc_#res.offset == 0; [L103] assume !(0 == #Ultimate.alloc_#res.base); [L104] assume #length == #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size]; [L105] main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L106] main_~p~0.base, main_~p~0.offset := main_#t~malloc0.base, main_#t~malloc0.offset; [L107] write~int_old_#memory_int := #memory_int; [L108] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 1, ~#d~0.base, 1, ~#d~0.offset; [L109] assume #valid[write~int_#ptr.base] == 1; [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 write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L113] havoc #memory_int; [L114] assume 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] write~int_old_#memory_int := #memory_int; [L116] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 1, ~#d~0.base, 2, ~#d~0.offset + 1; [L117] assume #valid[write~int_#ptr.base] == 1; [L118] assume 0 <= write~int_#ptr.offset && write~int_#ptr.offset + write~int_#sizeOfWrittenType <= #length[write~int_#ptr.base]; [L119] assume #valid[write~int_#ptr.base] == 1; [L120] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L121] havoc #memory_int; [L122] assume 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; [L123] write~int_old_#memory_int := #memory_int; [L124] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 1, ~#d~0.base, 3, ~#d~0.offset + 2; [L125] assume 1 == #valid[write~int_#ptr.base]; [L126] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L127] assume 1 == #valid[write~int_#ptr.base]; [L128] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L129] havoc #memory_int; [L130] assume 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; [L131] write~int_old_#memory_int := #memory_int; [L132] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 1, ~#d~0.base, 4, ~#d~0.offset + 3; [L133] assume 1 == #valid[write~int_#ptr.base]; [L134] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L135] assume #valid[write~int_#ptr.base] == 1; [L136] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L137] havoc #memory_int; [L138] assume 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; [L139] write~int_old_#memory_int := #memory_int; [L140] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 1, ~#d~0.base, 5, ~#d~0.offset + 4; [L141] assume #valid[write~int_#ptr.base] == 1; [L142] assume write~int_#ptr.offset + write~int_#sizeOfWrittenType <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L143] assume #valid[write~int_#ptr.base] == 1; [L144] assume 0 <= write~int_#ptr.offset && write~int_#ptr.offset + write~int_#sizeOfWrittenType <= #length[write~int_#ptr.base]; [L145] havoc #memory_int; [L146] assume 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; [L147] #Ultimate.C_memcpy_src.base, #Ultimate.C_memcpy_src.offset, #Ultimate.C_memcpy_dest.base, #Ultimate.C_memcpy_dest.offset, #Ultimate.C_memcpy_size := ~#d~0.base, ~#d~0.offset, main_~p~0.base, main_~p~0.offset, 5; [L148] assume #valid[#Ultimate.C_memcpy_dest.base] == 1; [L149] assume #valid[#Ultimate.C_memcpy_src.base] == 1; [L150] assume 0 <= #Ultimate.C_memcpy_dest.offset && #Ultimate.C_memcpy_size + #Ultimate.C_memcpy_dest.offset <= #length[#Ultimate.C_memcpy_dest.base]; [L151] assume 0 <= #Ultimate.C_memcpy_src.offset && #Ultimate.C_memcpy_src.offset + #Ultimate.C_memcpy_size <= #length[#Ultimate.C_memcpy_src.base]; [L152] assume #valid[#Ultimate.C_memcpy_dest.base] == 1; [L153] assume 1 == #valid[#Ultimate.C_memcpy_src.base]; [L154] assume #Ultimate.C_memcpy_dest.offset + #Ultimate.C_memcpy_size <= #length[#Ultimate.C_memcpy_dest.base] && 0 <= #Ultimate.C_memcpy_dest.offset; [L155] assume #Ultimate.C_memcpy_size + #Ultimate.C_memcpy_src.offset <= #length[#Ultimate.C_memcpy_src.base] && 0 <= #Ultimate.C_memcpy_src.offset; [L156] havoc #Ultimate.C_memcpy_#res.base, #Ultimate.C_memcpy_#res.offset; [L157] havoc #Ultimate.C_memcpy_#t~loopctr8; [L158] #Ultimate.C_memcpy_#t~loopctr8 := 0; [L163] assume #Ultimate.C_memcpy_#t~loopctr8 < #Ultimate.C_memcpy_size; [L164] #memory_int := #memory_int[#Ultimate.C_memcpy_dest.base := #memory_int[#Ultimate.C_memcpy_dest.base][#Ultimate.C_memcpy_#t~loopctr8 + #Ultimate.C_memcpy_dest.offset := #memory_int[#Ultimate.C_memcpy_src.base][#Ultimate.C_memcpy_#t~loopctr8 + #Ultimate.C_memcpy_src.offset]]]; [L165] #Ultimate.C_memcpy_#t~loopctr8 := #Ultimate.C_memcpy_#t~loopctr8 + 1; [L163] assume #Ultimate.C_memcpy_#t~loopctr8 < #Ultimate.C_memcpy_size; [L164] #memory_int := #memory_int[#Ultimate.C_memcpy_dest.base := #memory_int[#Ultimate.C_memcpy_dest.base][#Ultimate.C_memcpy_#t~loopctr8 + #Ultimate.C_memcpy_dest.offset := #memory_int[#Ultimate.C_memcpy_src.base][#Ultimate.C_memcpy_#t~loopctr8 + #Ultimate.C_memcpy_src.offset]]]; [L165] #Ultimate.C_memcpy_#t~loopctr8 := #Ultimate.C_memcpy_#t~loopctr8 + 1; [L168] assume !(#Ultimate.C_memcpy_#t~loopctr8 < #Ultimate.C_memcpy_size); [L169] assume #Ultimate.C_memcpy_dest.base == #Ultimate.C_memcpy_#res.base && #Ultimate.C_memcpy_#res.offset == #Ultimate.C_memcpy_dest.offset; [L170] main_#t~memcpy1.base, main_#t~memcpy1.offset := #Ultimate.C_memcpy_#res.base, #Ultimate.C_memcpy_#res.offset; [L171] havoc main_#t~memcpy1.base, main_#t~memcpy1.offset; [L172] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~p~0.base, main_~p~0.offset, 1; [L173] assume 1 == #valid[read~int_#ptr.base]; [L174] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L175] assume #valid[read~int_#ptr.base] == 1; [L176] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L177] havoc read~int_#value; [L178] assume read~int_#value == #memory_int[read~int_#ptr.base][read~int_#ptr.offset]; [L179] main_#t~mem2 := read~int_#value; [L180] assume 1 == main_#t~mem2 % 256; [L181] havoc main_#t~mem2; [L182] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~p~0.base, main_~p~0.offset + 1, 1; [L183] assume 1 == #valid[read~int_#ptr.base]; [L184] assume !(0 <= read~int_#ptr.offset) || !(read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]); [L187] assert false; RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request...