./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3 --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash a7bf12efb165ae38e6a5b7ea360f1f04cc4b40bbbbde4906a6f5fa41669f98f5 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 04:36:09,765 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 04:36:09,862 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-25 04:36:09,871 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-25 04:36:09,871 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-25 04:36:09,909 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 04:36:09,910 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-25 04:36:09,910 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-25 04:36:09,910 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 04:36:09,910 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 04:36:09,911 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 04:36:09,913 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 04:36:09,913 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-25 04:36:09,913 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 04:36:09,913 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 04:36:09,914 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 04:36:09,914 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 04:36:09,914 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-25 04:36:09,914 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-25 04:36:09,914 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 04:36:09,914 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 04:36:09,914 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 04:36:09,915 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 04:36:09,915 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 04:36:09,915 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 04:36:09,915 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 04:36:09,915 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:36:09,916 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 04:36:09,916 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 04:36:09,916 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-25 04:36:09,916 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-25 04:36:09,916 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-25 04:36:09,916 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 ! overflow) ) 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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> a7bf12efb165ae38e6a5b7ea360f1f04cc4b40bbbbde4906a6f5fa41669f98f5 [2024-11-25 04:36:10,284 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 04:36:10,298 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 04:36:10,302 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 04:36:10,303 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 04:36:10,305 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 04:36:10,306 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i [2024-11-25 04:36:13,365 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data/bf72b5a2a/9d60a2efa5624d59901c5458d15af303/FLAG6220e2390 [2024-11-25 04:36:13,800 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 04:36:13,801 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i [2024-11-25 04:36:13,822 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data/bf72b5a2a/9d60a2efa5624d59901c5458d15af303/FLAG6220e2390 [2024-11-25 04:36:13,837 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data/bf72b5a2a/9d60a2efa5624d59901c5458d15af303 [2024-11-25 04:36:13,840 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 04:36:13,841 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 04:36:13,843 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 04:36:13,843 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 04:36:13,848 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 04:36:13,849 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:36:13" (1/1) ... [2024-11-25 04:36:13,850 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5ff61055 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:13, skipping insertion in model container [2024-11-25 04:36:13,850 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:36:13" (1/1) ... [2024-11-25 04:36:13,905 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 04:36:14,799 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:36:14,816 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 04:36:14,909 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:36:15,099 INFO L204 MainTranslator]: Completed translation [2024-11-25 04:36:15,100 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15 WrapperNode [2024-11-25 04:36:15,100 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 04:36:15,101 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 04:36:15,102 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 04:36:15,102 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 04:36:15,108 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,139 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,166 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 81 [2024-11-25 04:36:15,167 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 04:36:15,167 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 04:36:15,167 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 04:36:15,168 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 04:36:15,175 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,175 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,178 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,178 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,183 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,184 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,187 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,188 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,189 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,191 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 04:36:15,192 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 04:36:15,192 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 04:36:15,192 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 04:36:15,193 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,199 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:36:15,222 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 04:36:15,243 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 04:36:15,248 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 04:36:15,273 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-25 04:36:15,274 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-25 04:36:15,274 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 04:36:15,274 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 04:36:15,274 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 04:36:15,274 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-25 04:36:15,459 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 04:36:15,461 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 04:36:15,655 INFO L? ?]: Removed 28 outVars from TransFormulas that were not future-live. [2024-11-25 04:36:15,655 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 04:36:15,724 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 04:36:15,727 INFO L312 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-25 04:36:15,727 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:15 BoogieIcfgContainer [2024-11-25 04:36:15,728 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 04:36:15,728 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 04:36:15,729 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 04:36:15,738 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 04:36:15,739 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:15" (1/1) ... [2024-11-25 04:36:15,748 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 04:36:15,801 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:15,812 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 25 states and 29 transitions. [2024-11-25 04:36:15,815 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 29 transitions. [2024-11-25 04:36:15,818 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-25 04:36:15,818 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:15,819 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:15,947 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:16,093 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 04:36:16,142 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:16,142 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 26 states and 31 transitions. [2024-11-25 04:36:16,142 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 31 transitions. [2024-11-25 04:36:16,143 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-25 04:36:16,143 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:16,143 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:16,167 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:16,272 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 04:36:16,345 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:16,345 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 29 states and 36 transitions. [2024-11-25 04:36:16,345 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 36 transitions. [2024-11-25 04:36:16,346 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-25 04:36:16,346 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:16,346 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:16,381 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:16,446 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 04:36:16,468 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:16,469 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 30 states and 37 transitions. [2024-11-25 04:36:16,469 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 37 transitions. [2024-11-25 04:36:16,469 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-25 04:36:16,469 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:16,469 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:16,497 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:16,598 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 04:36:16,618 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:16,619 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 31 states and 38 transitions. [2024-11-25 04:36:16,619 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 38 transitions. [2024-11-25 04:36:16,619 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-25 04:36:16,619 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:16,620 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:16,648 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:16,763 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 04:36:17,163 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:17,164 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 37 states and 49 transitions. [2024-11-25 04:36:17,166 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 49 transitions. [2024-11-25 04:36:17,166 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-25 04:36:17,166 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:17,167 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:17,191 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:17,191 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 04:36:17,201 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:17,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:17,260 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 04:36:17,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:17,312 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-25 04:36:17,354 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 04:36:17 ImpRootNode [2024-11-25 04:36:17,354 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 04:36:17,355 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 04:36:17,355 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 04:36:17,355 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 04:36:17,356 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:15" (3/4) ... [2024-11-25 04:36:17,358 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-25 04:36:17,359 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 04:36:17,362 INFO L158 Benchmark]: Toolchain (without parser) took 3518.68ms. Allocated memory was 117.4MB in the beginning and 352.3MB in the end (delta: 234.9MB). Free memory was 89.8MB in the beginning and 277.6MB in the end (delta: -187.8MB). Peak memory consumption was 49.4MB. Max. memory is 16.1GB. [2024-11-25 04:36:17,362 INFO L158 Benchmark]: CDTParser took 1.16ms. Allocated memory is still 167.8MB. Free memory is still 103.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:17,363 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1257.88ms. Allocated memory is still 117.4MB. Free memory was 89.4MB in the beginning and 80.0MB in the end (delta: 9.4MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. [2024-11-25 04:36:17,363 INFO L158 Benchmark]: Boogie Procedure Inliner took 65.43ms. Allocated memory is still 117.4MB. Free memory was 79.6MB in the beginning and 77.3MB in the end (delta: 2.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 04:36:17,364 INFO L158 Benchmark]: Boogie Preprocessor took 24.06ms. Allocated memory is still 117.4MB. Free memory was 77.3MB in the beginning and 76.1MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:17,368 INFO L158 Benchmark]: RCFGBuilder took 535.88ms. Allocated memory is still 117.4MB. Free memory was 76.1MB in the beginning and 60.5MB in the end (delta: 15.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 04:36:17,368 INFO L158 Benchmark]: CodeCheck took 1625.83ms. Allocated memory was 117.4MB in the beginning and 352.3MB in the end (delta: 234.9MB). Free memory was 60.5MB in the beginning and 277.6MB in the end (delta: -217.1MB). Peak memory consumption was 16.3MB. Max. memory is 16.1GB. [2024-11-25 04:36:17,369 INFO L158 Benchmark]: Witness Printer took 4.52ms. Allocated memory is still 352.3MB. Free memory was 277.6MB in the beginning and 277.6MB in the end (delta: 11.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:17,371 INFO L338 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, 25 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.6s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 151 SdHoareTripleChecker+Valid, 0.5s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 30 mSDsluCounter, 92 SdHoareTripleChecker+Invalid, 0.4s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 22 mSDsCounter, 36 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 140 IncrementalHoareTripleChecker+Invalid, 176 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 36 mSolverCounterUnsat, 70 mSDtfsCounter, 140 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 393 GetRequests, 373 SyntacticMatches, 0 SemanticMatches, 20 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 81 ImplicationChecksByTransitivity, 0.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 66 NumberOfCodeBlocks, 66 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 47 ConstructedInterpolants, 0 QuantifiedInterpolants, 101 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 PerfectInterpolantSequences, 3/3 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1579] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE190_Integer_Overflow__int_fgets_postinc_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1553] i++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND TRUE j < 1 [L1570] data++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.16ms. Allocated memory is still 167.8MB. Free memory is still 103.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1257.88ms. Allocated memory is still 117.4MB. Free memory was 89.4MB in the beginning and 80.0MB in the end (delta: 9.4MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 65.43ms. Allocated memory is still 117.4MB. Free memory was 79.6MB in the beginning and 77.3MB in the end (delta: 2.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 24.06ms. Allocated memory is still 117.4MB. Free memory was 77.3MB in the beginning and 76.1MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 535.88ms. Allocated memory is still 117.4MB. Free memory was 76.1MB in the beginning and 60.5MB in the end (delta: 15.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1625.83ms. Allocated memory was 117.4MB in the beginning and 352.3MB in the end (delta: 234.9MB). Free memory was 60.5MB in the beginning and 277.6MB in the end (delta: -217.1MB). Peak memory consumption was 16.3MB. Max. memory is 16.1GB. * Witness Printer took 4.52ms. Allocated memory is still 352.3MB. Free memory was 277.6MB in the beginning and 277.6MB in the end (delta: 11.7kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-25 04:36:17,394 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3 --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash a7bf12efb165ae38e6a5b7ea360f1f04cc4b40bbbbde4906a6f5fa41669f98f5 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-25 04:36:20,073 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 04:36:20,204 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-25 04:36:20,232 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 04:36:20,232 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-25 04:36:20,233 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-25 04:36:20,233 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 04:36:20,233 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 04:36:20,233 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 04:36:20,233 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 04:36:20,233 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 04:36:20,233 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 04:36:20,234 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 04:36:20,235 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 04:36:20,235 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 04:36:20,235 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 04:36:20,235 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:20,235 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-25 04:36:20,235 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 04:36:20,235 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:36:20,235 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 04:36:20,235 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 04:36:20,236 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-25 04:36:20,236 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-25 04:36:20,236 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:20,236 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-25 04:36:20,236 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3 Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 ! overflow) ) 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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> a7bf12efb165ae38e6a5b7ea360f1f04cc4b40bbbbde4906a6f5fa41669f98f5 [2024-11-25 04:36:20,527 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 04:36:20,535 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 04:36:20,538 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 04:36:20,539 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 04:36:20,540 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 04:36:20,541 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i [2024-11-25 04:36:23,696 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data/0901486ae/6155c3adfc57455e88084114579a2c15/FLAG3b9cd2e48 [2024-11-25 04:36:24,085 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 04:36:24,086 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i [2024-11-25 04:36:24,118 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data/0901486ae/6155c3adfc57455e88084114579a2c15/FLAG3b9cd2e48 [2024-11-25 04:36:24,141 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/data/0901486ae/6155c3adfc57455e88084114579a2c15 [2024-11-25 04:36:24,143 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 04:36:24,145 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 04:36:24,146 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 04:36:24,147 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 04:36:24,151 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 04:36:24,152 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:36:24" (1/1) ... [2024-11-25 04:36:24,153 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@12ce0490 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:24, skipping insertion in model container [2024-11-25 04:36:24,153 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:36:24" (1/1) ... [2024-11-25 04:36:24,212 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 04:36:25,172 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:36:25,186 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 04:36:25,339 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:36:25,568 INFO L204 MainTranslator]: Completed translation [2024-11-25 04:36:25,569 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25 WrapperNode [2024-11-25 04:36:25,569 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 04:36:25,570 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 04:36:25,570 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 04:36:25,571 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 04:36:25,580 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,610 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,641 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 80 [2024-11-25 04:36:25,643 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 04:36:25,645 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 04:36:25,645 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 04:36:25,646 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 04:36:25,655 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,656 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,663 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,666 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,684 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,685 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,692 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,695 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,700 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,706 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 04:36:25,707 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 04:36:25,711 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 04:36:25,711 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 04:36:25,712 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:25" (1/1) ... [2024-11-25 04:36:25,722 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:36:25,739 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 04:36:25,756 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 04:36:25,763 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 04:36:25,791 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-25 04:36:25,791 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-25 04:36:25,791 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-25 04:36:25,791 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 04:36:25,791 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 04:36:25,791 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 04:36:25,991 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 04:36:25,993 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 04:36:26,196 INFO L? ?]: Removed 25 outVars from TransFormulas that were not future-live. [2024-11-25 04:36:26,196 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 04:36:26,254 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 04:36:26,254 INFO L312 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-25 04:36:26,254 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:26 BoogieIcfgContainer [2024-11-25 04:36:26,254 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 04:36:26,255 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 04:36:26,255 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 04:36:26,268 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 04:36:26,269 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:26" (1/1) ... [2024-11-25 04:36:26,278 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 04:36:26,326 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:26,337 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 25 states and 29 transitions. [2024-11-25 04:36:26,337 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 29 transitions. [2024-11-25 04:36:26,341 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-25 04:36:26,342 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:26,343 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:26,343 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:26,346 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:26,348 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-25 04:36:26,513 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:26,516 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 04:36:26,558 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:26,559 INFO L256 TraceCheckSpWp]: Trace formula consists of 36 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-25 04:36:26,562 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 04:36:26,585 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 04:36:26,589 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-25 04:36:26,628 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:26,631 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 24 states and 28 transitions. [2024-11-25 04:36:26,632 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 28 transitions. [2024-11-25 04:36:26,633 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-25 04:36:26,633 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:26,634 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:26,634 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:26,637 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:26,639 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-25 04:36:26,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:26,795 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 04:36:26,827 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:26,829 INFO L256 TraceCheckSpWp]: Trace formula consists of 37 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-25 04:36:26,830 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 04:36:26,885 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 04:36:26,887 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2024-11-25 04:36:26,888 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-25 04:36:26,983 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:26,985 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 28 states and 36 transitions. [2024-11-25 04:36:26,985 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 36 transitions. [2024-11-25 04:36:26,985 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-25 04:36:26,985 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:26,986 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:26,986 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:26,991 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:26,993 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-25 04:36:27,092 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:27,092 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 04:36:27,130 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:27,132 INFO L256 TraceCheckSpWp]: Trace formula consists of 36 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-25 04:36:27,132 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 04:36:27,134 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 04:36:27,137 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-25 04:36:27,144 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:27,145 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 27 states and 35 transitions. [2024-11-25 04:36:27,146 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 35 transitions. [2024-11-25 04:36:27,146 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-25 04:36:27,146 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:27,147 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:27,147 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:27,149 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:27,152 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-25 04:36:27,256 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:27,256 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 04:36:27,285 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:27,286 INFO L256 TraceCheckSpWp]: Trace formula consists of 40 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-25 04:36:27,287 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 04:36:27,288 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 04:36:27,291 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-25 04:36:27,296 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:27,296 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 26 states and 34 transitions. [2024-11-25 04:36:27,297 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 34 transitions. [2024-11-25 04:36:27,297 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-25 04:36:27,297 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:27,297 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:27,297 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:27,299 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:27,302 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-25 04:36:27,426 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:27,426 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 04:36:27,449 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:27,451 INFO L256 TraceCheckSpWp]: Trace formula consists of 37 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-25 04:36:27,453 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 04:36:27,499 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-25 04:36:27,502 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2024-11-25 04:36:27,683 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:27,683 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 31 states and 44 transitions. [2024-11-25 04:36:27,683 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 44 transitions. [2024-11-25 04:36:27,684 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-25 04:36:27,684 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:27,685 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:27,685 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:27,688 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:27,689 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-25 04:36:27,813 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:27,813 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 04:36:27,832 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:27,833 INFO L256 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-25 04:36:27,834 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 04:36:27,867 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-25 04:36:27,870 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (7)] Ended with exit code 0 [2024-11-25 04:36:27,888 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:27,889 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 32 states and 45 transitions. [2024-11-25 04:36:27,889 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 45 transitions. [2024-11-25 04:36:27,889 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-25 04:36:27,889 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:27,889 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:27,890 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:27,893 INFO L229 MonitoredProcess]: Starting monitored process 8 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:27,896 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (8)] Waiting until timeout for monitored process [2024-11-25 04:36:28,030 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:28,030 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 04:36:28,095 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:28,148 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:28,148 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 04:36:28,165 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:28,192 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (8)] Ended with exit code 0 [2024-11-25 04:36:28,192 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 7 iterations. [2024-11-25 04:36:28,219 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 04:36:28 ImpRootNode [2024-11-25 04:36:28,219 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 04:36:28,220 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 04:36:28,220 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 04:36:28,220 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 04:36:28,221 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:26" (3/4) ... [2024-11-25 04:36:28,223 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-25 04:36:28,224 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 04:36:28,225 INFO L158 Benchmark]: Toolchain (without parser) took 4080.21ms. Allocated memory is still 83.9MB. Free memory was 56.9MB in the beginning and 38.9MB in the end (delta: 18.0MB). Peak memory consumption was 20.4MB. Max. memory is 16.1GB. [2024-11-25 04:36:28,225 INFO L158 Benchmark]: CDTParser took 0.39ms. Allocated memory is still 83.9MB. Free memory is still 64.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:28,226 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1423.26ms. Allocated memory is still 83.9MB. Free memory was 56.6MB in the beginning and 49.6MB in the end (delta: 7.0MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. [2024-11-25 04:36:28,226 INFO L158 Benchmark]: Boogie Procedure Inliner took 73.46ms. Allocated memory is still 83.9MB. Free memory was 49.6MB in the beginning and 46.9MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:28,226 INFO L158 Benchmark]: Boogie Preprocessor took 61.63ms. Allocated memory is still 83.9MB. Free memory was 46.9MB in the beginning and 45.2MB in the end (delta: 1.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 04:36:28,227 INFO L158 Benchmark]: RCFGBuilder took 547.30ms. Allocated memory is still 83.9MB. Free memory was 45.2MB in the beginning and 51.7MB in the end (delta: -6.5MB). Peak memory consumption was 17.8MB. Max. memory is 16.1GB. [2024-11-25 04:36:28,227 INFO L158 Benchmark]: CodeCheck took 1964.13ms. Allocated memory is still 83.9MB. Free memory was 51.7MB in the beginning and 39.3MB in the end (delta: 12.4MB). Peak memory consumption was 10.1MB. Max. memory is 16.1GB. [2024-11-25 04:36:28,228 INFO L158 Benchmark]: Witness Printer took 4.47ms. Allocated memory is still 83.9MB. Free memory was 39.3MB in the beginning and 38.9MB in the end (delta: 456.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:28,230 INFO L338 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, 25 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.9s, OverallIterations: 7, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 237 SdHoareTripleChecker+Valid, 0.5s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 34 mSDsluCounter, 119 SdHoareTripleChecker+Invalid, 0.4s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 30 mSDsCounter, 32 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 186 IncrementalHoareTripleChecker+Invalid, 218 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 32 mSolverCounterUnsat, 89 mSDtfsCounter, 186 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 473 GetRequests, 461 SyntacticMatches, 0 SemanticMatches, 12 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 73 NumberOfCodeBlocks, 73 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 53 ConstructedInterpolants, 0 QuantifiedInterpolants, 83 SizeOfPredicates, 0 NumberOfNonLiveVariables, 229 ConjunctsInSsa, 12 ConjunctsInUnsatCore, 6 InterpolantComputations, 6 PerfectInterpolantSequences, 2/2 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1579] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE190_Integer_Overflow__int_fgets_postinc_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1553] i++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND TRUE j < 1 [L1570] data++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.39ms. Allocated memory is still 83.9MB. Free memory is still 64.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1423.26ms. Allocated memory is still 83.9MB. Free memory was 56.6MB in the beginning and 49.6MB in the end (delta: 7.0MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 73.46ms. Allocated memory is still 83.9MB. Free memory was 49.6MB in the beginning and 46.9MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 61.63ms. Allocated memory is still 83.9MB. Free memory was 46.9MB in the beginning and 45.2MB in the end (delta: 1.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 547.30ms. Allocated memory is still 83.9MB. Free memory was 45.2MB in the beginning and 51.7MB in the end (delta: -6.5MB). Peak memory consumption was 17.8MB. Max. memory is 16.1GB. * CodeCheck took 1964.13ms. Allocated memory is still 83.9MB. Free memory was 51.7MB in the beginning and 39.3MB in the end (delta: 12.4MB). Peak memory consumption was 10.1MB. Max. memory is 16.1GB. * Witness Printer took 4.47ms. Allocated memory is still 83.9MB. Free memory was 39.3MB in the beginning and 38.9MB in the end (delta: 456.8kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-25 04:36:28,249 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_abca84da-78ab-48ed-aa2e-674f924f895e/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample