java -Xmx6000000000 -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data ./data --generate-csv --csv-dir ../../../releaseScripts/default/UAutomizer-linux/csv -tc ../../../trunk/examples/toolchains/AbstractInterpretationC.xml -s ../../../trunk/examples/settings/ai/eq-bench/svcomp-DerefFreeMemtrack-32bit-Automizer_Camel+AI_EQ_smtcomp.epf -i ../../../trunk/examples/svcomp/array-memsafety/cstrncpy_unsafe_false-valid-deref.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-6b94a2f [2018-01-25 03:57:59,095 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-01-25 03:57:59,097 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-01-25 03:57:59,112 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-01-25 03:57:59,112 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-01-25 03:57:59,113 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-01-25 03:57:59,114 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-01-25 03:57:59,116 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-01-25 03:57:59,118 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-01-25 03:57:59,119 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-01-25 03:57:59,120 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-01-25 03:57:59,120 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-01-25 03:57:59,121 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-01-25 03:57:59,122 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-01-25 03:57:59,123 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-01-25 03:57:59,125 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-01-25 03:57:59,128 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-01-25 03:57:59,130 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-01-25 03:57:59,131 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-01-25 03:57:59,132 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-01-25 03:57:59,134 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-01-25 03:57:59,135 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-01-25 03:57:59,135 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-01-25 03:57:59,136 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-01-25 03:57:59,137 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-01-25 03:57:59,138 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-01-25 03:57:59,138 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-01-25 03:57:59,139 INFO L177 SettingsManager]: PEA to Boogie provides no preferences, ignoring... [2018-01-25 03:57:59,139 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-01-25 03:57:59,140 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-01-25 03:57:59,140 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-01-25 03:57:59,141 INFO L98 SettingsManager]: Beginning loading settings from /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/eq-bench/svcomp-DerefFreeMemtrack-32bit-Automizer_Camel+AI_EQ_smtcomp.epf [2018-01-25 03:57:59,151 INFO L110 SettingsManager]: Loading preferences was successful [2018-01-25 03:57:59,151 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-01-25 03:57:59,152 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-01-25 03:57:59,152 INFO L133 SettingsManager]: * to procedures, called more than once=true [2018-01-25 03:57:59,152 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-01-25 03:57:59,152 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=VPDomain [2018-01-25 03:57:59,153 INFO L133 SettingsManager]: * Precise comparison operator=true [2018-01-25 03:57:59,153 INFO L133 SettingsManager]: * Use the RCFG-of-the-future interface=true [2018-01-25 03:57:59,153 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-01-25 03:57:59,154 INFO L133 SettingsManager]: * sizeof long=4 [2018-01-25 03:57:59,154 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-01-25 03:57:59,154 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-01-25 03:57:59,154 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-01-25 03:57:59,154 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-01-25 03:57:59,155 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-01-25 03:57:59,155 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-01-25 03:57:59,155 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-01-25 03:57:59,155 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-01-25 03:57:59,155 INFO L133 SettingsManager]: * sizeof long double=12 [2018-01-25 03:57:59,156 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-01-25 03:57:59,156 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-01-25 03:57:59,156 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-01-25 03:57:59,156 INFO L133 SettingsManager]: * Add additional assume for each assert=false [2018-01-25 03:57:59,156 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-01-25 03:57:59,156 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-01-25 03:57:59,157 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-01-25 03:57:59,157 INFO L133 SettingsManager]: * Interpolant automaton=TWOTRACK [2018-01-25 03:57:59,157 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-01-25 03:57:59,157 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-01-25 03:57:59,157 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-01-25 03:57:59,158 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-01-25 03:57:59,158 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-01-25 03:57:59,158 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-01-25 03:57:59,159 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-01-25 03:57:59,159 INFO L133 SettingsManager]: * TransformationType=HEAP_SEPARATOR [2018-01-25 03:57:59,195 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-01-25 03:57:59,209 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully initialized [2018-01-25 03:57:59,214 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-01-25 03:57:59,215 INFO L271 PluginConnector]: Initializing CDTParser... [2018-01-25 03:57:59,216 INFO L276 PluginConnector]: CDTParser initialized [2018-01-25 03:57:59,217 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/array-memsafety/cstrncpy_unsafe_false-valid-deref.i [2018-01-25 03:57:59,336 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-01-25 03:57:59,344 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-01-25 03:57:59,345 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-01-25 03:57:59,345 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-01-25 03:57:59,353 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-01-25 03:57:59,354 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,358 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@259e2169 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59, skipping insertion in model container [2018-01-25 03:57:59,358 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,374 INFO L153 Dispatcher]: Using SV-COMP mode [2018-01-25 03:57:59,395 INFO L153 Dispatcher]: Using SV-COMP mode [2018-01-25 03:57:59,520 INFO L450 PostProcessor]: Settings: Checked method=main [2018-01-25 03:57:59,537 INFO L450 PostProcessor]: Settings: Checked method=main [2018-01-25 03:57:59,543 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59 WrapperNode [2018-01-25 03:57:59,544 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-01-25 03:57:59,544 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-01-25 03:57:59,544 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-01-25 03:57:59,545 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-01-25 03:57:59,556 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,556 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,563 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,564 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,568 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,571 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,572 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,574 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-01-25 03:57:59,575 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-01-25 03:57:59,575 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-01-25 03:57:59,575 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-01-25 03:57:59,576 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.01 03:57:59" (1/1) ... No working directory specified, using /storage/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-01-25 03:57:59,623 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-01-25 03:57:59,624 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-01-25 03:57:59,624 INFO L136 BoogieDeclarations]: Found implementation of procedure cstrncpy [2018-01-25 03:57:59,624 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-01-25 03:57:59,624 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-01-25 03:57:59,624 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-01-25 03:57:59,625 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.free [2018-01-25 03:57:59,625 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-01-25 03:57:59,625 INFO L128 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-01-25 03:57:59,625 INFO L128 BoogieDeclarations]: Found specification of procedure cstrncpy [2018-01-25 03:57:59,625 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-01-25 03:57:59,625 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-01-25 03:57:59,625 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-01-25 03:57:59,811 INFO L257 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-01-25 03:57:59,811 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.01 03:57:59 BoogieIcfgContainer [2018-01-25 03:57:59,811 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-01-25 03:57:59,812 INFO L113 PluginConnector]: ------------------------Abstract Interpretation---------------------------- [2018-01-25 03:57:59,812 INFO L271 PluginConnector]: Initializing Abstract Interpretation... [2018-01-25 03:57:59,812 INFO L276 PluginConnector]: Abstract Interpretation initialized [2018-01-25 03:57:59,813 INFO L185 PluginConnector]: Executing the observer AbstractInterpretationRcfgObserver from plugin Abstract Interpretation for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.01 03:57:59" (1/1) ... [2018-01-25 03:57:59,859 INFO L101 FixpointEngine]: Starting fixpoint engine with domain VPDomain (maxUnwinding=3, maxParallelStates=2) [2018-01-25 03:58:07,065 INFO L259 AbstractInterpreter]: Some error location(s) were reachable [2018-01-25 03:58:07,083 INFO L268 AbstractInterpreter]: Visited 37 different actions 123 times. Merged at 18 different actions 61 times. Never widened. Found 17 fixpoints after 6 different actions. Largest state had 38 variables. [2018-01-25 03:58:07,085 INFO L132 PluginConnector]: ------------------------ END Abstract Interpretation---------------------------- [2018-01-25 03:58:07,086 INFO L168 Benchmark]: Toolchain (without parser) took 7748.94 ms. Allocated memory was 306.7 MB in the beginning and 844.6 MB in the end (delta: 537.9 MB). Free memory was 267.7 MB in the beginning and 552.0 MB in the end (delta: -284.3 MB). Peak memory consumption was 253.6 MB. Max. memory is 5.3 GB. [2018-01-25 03:58:07,087 INFO L168 Benchmark]: CDTParser took 0.20 ms. Allocated memory is still 306.7 MB. Free memory is still 272.7 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-01-25 03:58:07,087 INFO L168 Benchmark]: CACSL2BoogieTranslator took 199.41 ms. Allocated memory is still 306.7 MB. Free memory was 267.7 MB in the beginning and 258.7 MB in the end (delta: 9.0 MB). Peak memory consumption was 9.0 MB. Max. memory is 5.3 GB. [2018-01-25 03:58:07,088 INFO L168 Benchmark]: Boogie Preprocessor took 29.92 ms. Allocated memory is still 306.7 MB. Free memory was 258.7 MB in the beginning and 257.7 MB in the end (delta: 1.0 MB). Peak memory consumption was 1.0 MB. Max. memory is 5.3 GB. [2018-01-25 03:58:07,088 INFO L168 Benchmark]: RCFGBuilder took 236.75 ms. Allocated memory is still 306.7 MB. Free memory was 257.7 MB in the beginning and 241.8 MB in the end (delta: 15.9 MB). Peak memory consumption was 15.9 MB. Max. memory is 5.3 GB. [2018-01-25 03:58:07,088 INFO L168 Benchmark]: Abstract Interpretation took 7273.25 ms. Allocated memory was 306.7 MB in the beginning and 844.6 MB in the end (delta: 537.9 MB). Free memory was 241.8 MB in the beginning and 552.0 MB in the end (delta: -310.2 MB). Peak memory consumption was 227.7 MB. Max. memory is 5.3 GB. [2018-01-25 03:58:07,090 INFO L344 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.20 ms. Allocated memory is still 306.7 MB. Free memory is still 272.7 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 199.41 ms. Allocated memory is still 306.7 MB. Free memory was 267.7 MB in the beginning and 258.7 MB in the end (delta: 9.0 MB). Peak memory consumption was 9.0 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 29.92 ms. Allocated memory is still 306.7 MB. Free memory was 258.7 MB in the beginning and 257.7 MB in the end (delta: 1.0 MB). Peak memory consumption was 1.0 MB. Max. memory is 5.3 GB. * RCFGBuilder took 236.75 ms. Allocated memory is still 306.7 MB. Free memory was 257.7 MB in the beginning and 241.8 MB in the end (delta: 15.9 MB). Peak memory consumption was 15.9 MB. Max. memory is 5.3 GB. * Abstract Interpretation took 7273.25 ms. Allocated memory was 306.7 MB in the beginning and 844.6 MB in the end (delta: 537.9 MB). Free memory was 241.8 MB in the beginning and 552.0 MB in the end (delta: -310.2 MB). Peak memory consumption was 227.7 MB. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2: - StatisticsResult: ArrayEqualityDomainStatistics #Locations : 30 LocStat_MAX_WEQGRAPH_SIZE : 1 LocStat_MAX_SIZEOF_WEQEDGELABEL : 1 LocStat_NO_SUPPORTING_EQUALITIES : 313 LocStat_NO_SUPPORTING_DISEQUALITIES : 20 LocStat_NO_DISJUNCTIONS : -60 LocStat_MAX_NO_DISJUNCTIONS : -1 #Transitions : 43 TransStat_MAX_WEQGRAPH_SIZE : 2 TransStat_MAX_SIZEOF_WEQEDGELABEL : 1 TransStat_NO_SUPPORTING_EQUALITIES : 67 TransStat_NO_SUPPORTING_DISEQUALITIES : 5 TransStat_NO_DISJUNCTIONS : 43 TransStat_MAX_NO_DISJUNCTIONS : 2 - StatisticsResult: EqConstraintFactoryStatistics CONJOIN_DISJUNCTIVE(MILLISECONDS) : 1.714625 RENAME_VARIABLES(MILLISECONDS) : 0.014589 UNFREEZE(MILLISECONDS) : 0.000000 CONJOIN(MILLISECONDS) : 1.514712 PROJECTAWAY(MILLISECONDS) : 12.841115 ADD_WEAK_EQUALITY(MILLISECONDS) : 0.073158 DISJOIN(MILLISECONDS) : 0.692842 RENAME_VARIABLES_DISJUNCTIVE(MILLISECONDS) : 0.026231 ADD_EQUALITY(MILLISECONDS) : 0.036827 DISJOIN_DISJUNCTIVE(MILLISECONDS) : 0.000000 ADD_DISEQUALITY(MILLISECONDS) : 0.028368 #CONJOIN_DISJUNCTIVE : 215 #RENAME_VARIABLES : 455 #UNFREEZE : 0 #CONJOIN : 321 #PROJECTAWAY : 298 #ADD_WEAK_EQUALITY : 5 #DISJOIN : 53 #RENAME_VARIABLES_DISJUNCTIVE : 454 #ADD_EQUALITY : 69 #DISJOIN_DISJUNCTIVE : 0 #ADD_DISEQUALITY : 5 - UnprovableResult [Line: 1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: abstract domain could reach this error location. Possible FailurePath: [L21] char *s1; [L22] char *s2; [L23] int n = __VERIFIER_nondet_int(); [L24] CALL cstrncpy(s1, s2, n) [L4] char *dst = s1; [L5] const char *src = s2; [L6] char *us; [L7] int n2; [L8] COND TRUE n > 0 [L9] n-- [L10] dst++ [L10] src++ - UnprovableResult [Line: 1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: abstract domain could reach this error location. Possible FailurePath: [L21] char *s1; [L22] char *s2; [L23] int n = __VERIFIER_nondet_int(); [L24] CALL cstrncpy(s1, s2, n) [L4] char *dst = s1; [L5] const char *src = s2; [L6] char *us; [L7] int n2; [L8] COND TRUE n > 0 [L9] n-- [L10] dst++ [L10] src++ - UnprovableResult [Line: 1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: abstract domain could reach this error location. Possible FailurePath: [L21] char *s1; [L22] char *s2; [L23] int n = __VERIFIER_nondet_int(); [L24] CALL cstrncpy(s1, s2, n) [L4] char *dst = s1; [L5] const char *src = s2; [L6] char *us; [L7] int n2; [L8] COND TRUE n > 0 [L9] n-- [L10] EXPR dst++ [L10] EXPR src++ [L10] FCALL *dst++ = *src++ - UnprovableResult [Line: 1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: abstract domain could reach this error location. Possible FailurePath: [L21] char *s1; [L22] char *s2; [L23] int n = __VERIFIER_nondet_int(); [L24] CALL cstrncpy(s1, s2, n) [L4] char *dst = s1; [L5] const char *src = s2; [L6] char *us; [L7] int n2; [L8] COND TRUE n > 0 [L9] n-- [L10] EXPR dst++ [L10] EXPR src++ [L10] FCALL *dst++ = *src++ - UnprovableResult [Line: 1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: abstract domain could reach this error location. Possible FailurePath: [L21] char *s1; [L22] char *s2; [L23] int n = __VERIFIER_nondet_int(); [L24] CALL cstrncpy(s1, s2, n) [L4] char *dst = s1; [L5] const char *src = s2; [L6] char *us; [L7] int n2; [L8] COND TRUE n > 0 [L9] n-- [L10] EXPR dst++ [L10] EXPR src++ [L10] EXPR, FCALL *dst++ = *src++ [L10] COND TRUE (*dst++ = *src++) == '\0' [L11] us = dst [L12] n2 = n [L13] EXPR n2-- [L13] COND TRUE n2-- != 0 [L14] EXPR us++ [L14] FCALL *us++ = '\0' - PositiveResult [Line: 1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 20]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/cstrncpy_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_Camel+AI_EQ_smtcomp.epf_AbstractInterpretationC.xml/Csv-Benchmark-0-2018-01-25_03-58-07-097.csv Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/cstrncpy_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_Camel+AI_EQ_smtcomp.epf_AbstractInterpretationC.xml/Csv-VPDomainBenchmark-0-2018-01-25_03-58-07-097.csv Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/cstrncpy_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_Camel+AI_EQ_smtcomp.epf_AbstractInterpretationC.xml/Csv-BenchmarkWithCounters-0-2018-01-25_03-58-07-097.csv Received shutdown request...