./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_42_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_42_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm --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 e0dfbbc5e3909169e58dc95e1619f4181c5e54e95f59c0b8970a1b517b1cf071 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:11:21,236 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:11:21,338 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 21:11:21,344 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:11:21,344 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:11:21,371 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:11:21,372 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:11:21,372 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:11:21,373 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:11:21,373 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:11:21,373 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:11:21,373 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:11:21,373 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:11:21,374 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:11:21,374 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:11:21,374 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:11:21,374 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:11:21,374 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:11:21,374 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:11:21,375 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:11:21,375 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:11:21,375 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:11:21,375 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:11:21,375 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:11:21,375 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:11:21,376 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:11:21,376 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:11:21,376 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:11:21,376 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:11:21,376 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:11:21,377 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:11:21,377 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:11:21,377 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_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm 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 -> e0dfbbc5e3909169e58dc95e1619f4181c5e54e95f59c0b8970a1b517b1cf071 [2024-11-13 21:11:21,682 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:11:21,692 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:11:21,697 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:11:21,699 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:11:21,700 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:11:21,701 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_42_bad.i Unable to find full path for "g++" [2024-11-13 21:11:23,747 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:11:24,172 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:11:24,176 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_42_bad.i [2024-11-13 21:11:24,205 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/data/383282873/1dc65caac6624c6b8acde3ad0443d71f/FLAG72a40819e [2024-11-13 21:11:24,220 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/data/383282873/1dc65caac6624c6b8acde3ad0443d71f [2024-11-13 21:11:24,223 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:11:24,224 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:11:24,226 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:11:24,226 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:11:24,231 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:11:24,232 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:11:24" (1/1) ... [2024-11-13 21:11:24,233 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3c739d66 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:24, skipping insertion in model container [2024-11-13 21:11:24,234 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:11:24" (1/1) ... [2024-11-13 21:11:24,299 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:11:25,391 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:11:25,403 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:11:25,513 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:11:25,663 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:11:25,664 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25 WrapperNode [2024-11-13 21:11:25,664 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:11:25,665 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:11:25,666 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:11:25,666 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:11:25,673 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,695 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,721 INFO L138 Inliner]: procedures = 499, calls = 28, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 74 [2024-11-13 21:11:25,721 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:11:25,722 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:11:25,722 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:11:25,722 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:11:25,728 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,729 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,731 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,732 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,737 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,740 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,742 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,743 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,746 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:11:25,747 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:11:25,747 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:11:25,747 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:11:25,748 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:25" (1/1) ... [2024-11-13 21:11:25,755 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:11:25,775 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:11:25,790 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:11:25,793 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:11:25,819 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:11:25,819 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:11:25,819 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:11:25,819 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:11:25,819 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:11:25,820 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 21:11:25,967 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:11:25,970 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:11:26,132 INFO L? ?]: Removed 25 outVars from TransFormulas that were not future-live. [2024-11-13 21:11:26,132 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:11:26,172 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:11:26,172 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:11:26,173 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:11:26 BoogieIcfgContainer [2024-11-13 21:11:26,173 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:11:26,174 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:11:26,174 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:11:26,185 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:11:26,185 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:11:26" (1/1) ... [2024-11-13 21:11:26,194 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:11:26,237 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:11:26,246 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 16 states and 18 transitions. [2024-11-13 21:11:26,246 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 18 transitions. [2024-11-13 21:11:26,251 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 21:11:26,251 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:11:26,252 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:11:26,398 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:11:26,534 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-13 21:11:26,596 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:11:26,596 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 15 states and 17 transitions. [2024-11-13 21:11:26,596 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 17 transitions. [2024-11-13 21:11:26,597 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:11:26,597 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:11:26,597 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:11:26,662 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:11:26,663 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:11:26,679 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:11:26,807 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:11:26,808 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:11:26,832 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:11:26,859 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 21:11:26,885 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:11:26 ImpRootNode [2024-11-13 21:11:26,885 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:11:26,886 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:11:26,886 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:11:26,886 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:11:26,887 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:11:26" (3/4) ... [2024-11-13 21:11:26,889 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:11:26,890 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:11:26,891 INFO L158 Benchmark]: Toolchain (without parser) took 2666.67ms. Allocated memory is still 117.4MB. Free memory was 89.6MB in the beginning and 82.0MB in the end (delta: 7.7MB). Peak memory consumption was 8.2MB. Max. memory is 16.1GB. [2024-11-13 21:11:26,891 INFO L158 Benchmark]: CDTParser took 2.18ms. Allocated memory is still 117.4MB. Free memory is still 75.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:11:26,893 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1438.95ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 81.5MB in the end (delta: 7.9MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. [2024-11-13 21:11:26,893 INFO L158 Benchmark]: Boogie Procedure Inliner took 56.01ms. Allocated memory is still 117.4MB. Free memory was 81.5MB in the beginning and 79.2MB in the end (delta: 2.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:11:26,894 INFO L158 Benchmark]: Boogie Preprocessor took 23.87ms. Allocated memory is still 117.4MB. Free memory was 79.2MB in the beginning and 78.1MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:11:26,898 INFO L158 Benchmark]: RCFGBuilder took 426.20ms. Allocated memory is still 117.4MB. Free memory was 78.1MB in the beginning and 63.0MB in the end (delta: 15.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:11:26,898 INFO L158 Benchmark]: CodeCheck took 711.49ms. Allocated memory is still 117.4MB. Free memory was 63.0MB in the beginning and 82.0MB in the end (delta: -19.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:11:26,898 INFO L158 Benchmark]: Witness Printer took 4.24ms. Allocated memory is still 117.4MB. Free memory was 82.0MB in the beginning and 82.0MB in the end (delta: 11.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:11:26,900 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, 16 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.7s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 19 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 10 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 2 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 7 IncrementalHoareTripleChecker+Invalid, 9 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 2 mSolverCounterUnsat, 10 mSDtfsCounter, 7 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 53 GetRequests, 51 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 17 NumberOfCodeBlocks, 17 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 7 ConstructedInterpolants, 0 QuantifiedInterpolants, 11 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 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 - UnprovableResult [Line: 1569]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1554, overapproximation of large string literal at line 1577, overapproximation of fgets at line 1552. 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); [L1577] 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) [L1577] 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] [L1578] CALL CWE190_Integer_Overflow__int_fgets_postinc_42_bad() [L1565] int data; [L1566] data = 0 [L1567] CALL, EXPR badSource(data) [L1551] 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] [L1552] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1554] data = atoi(inputBuffer) [L1561] return data; [L1567] RET, EXPR badSource(data) [L1567] data = badSource(data) [L1569] 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] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 2.18ms. Allocated memory is still 117.4MB. Free memory is still 75.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1438.95ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 81.5MB in the end (delta: 7.9MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 56.01ms. Allocated memory is still 117.4MB. Free memory was 81.5MB in the beginning and 79.2MB in the end (delta: 2.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 23.87ms. Allocated memory is still 117.4MB. Free memory was 79.2MB in the beginning and 78.1MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 426.20ms. Allocated memory is still 117.4MB. Free memory was 78.1MB in the beginning and 63.0MB in the end (delta: 15.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 711.49ms. Allocated memory is still 117.4MB. Free memory was 63.0MB in the beginning and 82.0MB in the end (delta: -19.0MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.24ms. Allocated memory is still 117.4MB. Free memory was 82.0MB in the beginning and 82.0MB in the end (delta: 11.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-13 21:11:26,924 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/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_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_42_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm --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 e0dfbbc5e3909169e58dc95e1619f4181c5e54e95f59c0b8970a1b517b1cf071 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:11:29,715 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:11:29,860 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 21:11:29,907 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:11:29,908 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:11:29,908 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:11:29,908 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:11:29,909 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:11:29,909 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:11:29,909 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:11:29,909 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:11:29,909 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:11:29,909 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:11:29,910 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:11:29,911 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 21:11:29,911 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 21:11:29,911 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:11:29,912 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:11:29,912 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 21:11:29,912 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:11:29,912 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:11:29,912 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:11:29,912 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:11:29,913 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:11:29,913 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:11:29,913 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:11:29,913 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 21:11:29,913 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:11:29,913 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:11:29,913 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:11:29,913 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:11:29,914 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:11:29,914 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 21:11:29,914 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:11:29,914 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 21:11:29,915 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_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm 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 -> e0dfbbc5e3909169e58dc95e1619f4181c5e54e95f59c0b8970a1b517b1cf071 [2024-11-13 21:11:30,221 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:11:30,232 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:11:30,235 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:11:30,237 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:11:30,237 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:11:30,238 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_42_bad.i Unable to find full path for "g++" [2024-11-13 21:11:32,146 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:11:32,517 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:11:32,518 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_42_bad.i [2024-11-13 21:11:32,542 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/data/11d9668b0/87e7fd63485d436d9078586499cec64a/FLAG22982eb2f [2024-11-13 21:11:32,711 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/data/11d9668b0/87e7fd63485d436d9078586499cec64a [2024-11-13 21:11:32,713 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:11:32,714 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:11:32,715 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:11:32,716 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:11:32,720 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:11:32,721 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:11:32" (1/1) ... [2024-11-13 21:11:32,721 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@67041960 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:32, skipping insertion in model container [2024-11-13 21:11:32,721 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:11:32" (1/1) ... [2024-11-13 21:11:32,776 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:11:33,791 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:11:33,805 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:11:33,936 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:11:34,083 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:11:34,084 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34 WrapperNode [2024-11-13 21:11:34,084 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:11:34,085 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:11:34,085 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:11:34,085 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:11:34,092 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,121 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,155 INFO L138 Inliner]: procedures = 504, calls = 28, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 72 [2024-11-13 21:11:34,156 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:11:34,156 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:11:34,157 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:11:34,157 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:11:34,164 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,164 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,167 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,167 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,175 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,177 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,179 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,180 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,183 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:11:34,184 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:11:34,184 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:11:34,184 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:11:34,185 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,191 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:11:34,205 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:11:34,218 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:11:34,226 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:11:34,257 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:11:34,257 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:11:34,258 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 21:11:34,258 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:11:34,258 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:11:34,258 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:11:34,475 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:11:34,477 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:11:34,681 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-13 21:11:34,682 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:11:34,749 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:11:34,749 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:11:34,749 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:11:34 BoogieIcfgContainer [2024-11-13 21:11:34,750 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:11:34,750 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:11:34,751 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:11:34,761 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:11:34,761 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:11:34" (1/1) ... [2024-11-13 21:11:34,770 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:11:34,812 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:11:34,819 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 16 states and 18 transitions. [2024-11-13 21:11:34,820 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 18 transitions. [2024-11-13 21:11:34,824 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 21:11:34,825 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:11:34,825 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:11:34,826 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:11:34,828 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:11:34,830 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 21:11:35,046 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:11:35,048 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:11:35,089 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:11:35,091 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 21:11:35,095 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:11:35,116 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-13 21:11:35,119 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 21:11:35,146 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:11:35,146 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 15 states and 17 transitions. [2024-11-13 21:11:35,146 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 17 transitions. [2024-11-13 21:11:35,150 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:11:35,150 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:11:35,150 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:11:35,150 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:11:35,153 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:11:35,156 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 21:11:35,357 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:11:35,357 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:11:35,450 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:11:35,561 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:11:35,561 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:11:35,586 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:11:35,614 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 21:11:35,615 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 21:11:35,655 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:11:35 ImpRootNode [2024-11-13 21:11:35,655 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:11:35,656 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:11:35,656 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:11:35,656 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:11:35,657 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:11:34" (3/4) ... [2024-11-13 21:11:35,661 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:11:35,662 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:11:35,663 INFO L158 Benchmark]: Toolchain (without parser) took 2948.75ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 63.8MB in the end (delta: 25.7MB). Peak memory consumption was 28.4MB. Max. memory is 16.1GB. [2024-11-13 21:11:35,663 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 83.9MB. Free memory is still 64.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:11:35,668 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1369.06ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 78.0MB in the end (delta: 11.5MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. [2024-11-13 21:11:35,668 INFO L158 Benchmark]: Boogie Procedure Inliner took 70.64ms. Allocated memory is still 117.4MB. Free memory was 78.0MB in the beginning and 75.7MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:11:35,668 INFO L158 Benchmark]: Boogie Preprocessor took 27.24ms. Allocated memory is still 117.4MB. Free memory was 75.7MB in the beginning and 74.2MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:11:35,669 INFO L158 Benchmark]: RCFGBuilder took 565.70ms. Allocated memory is still 117.4MB. Free memory was 74.2MB in the beginning and 56.6MB in the end (delta: 17.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:11:35,669 INFO L158 Benchmark]: CodeCheck took 904.66ms. Allocated memory is still 117.4MB. Free memory was 55.9MB in the beginning and 64.5MB in the end (delta: -8.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:11:35,669 INFO L158 Benchmark]: Witness Printer took 6.35ms. Allocated memory is still 117.4MB. Free memory was 64.5MB in the beginning and 63.8MB in the end (delta: 662.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:11:35,671 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, 16 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.8s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 22 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 11 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3 IncrementalHoareTripleChecker+Invalid, 3 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 11 mSDtfsCounter, 3 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 58 GetRequests, 58 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 17 NumberOfCodeBlocks, 17 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 7 ConstructedInterpolants, 0 QuantifiedInterpolants, 7 SizeOfPredicates, 0 NumberOfNonLiveVariables, 53 ConjunctsInSsa, 1 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 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 - UnprovableResult [Line: 1569]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1554, overapproximation of large string literal at line 1577, overapproximation of fgets at line 1552. 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); [L1577] 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) [L1577] 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] [L1578] CALL CWE190_Integer_Overflow__int_fgets_postinc_42_bad() [L1565] int data; [L1566] data = 0 [L1567] CALL, EXPR badSource(data) [L1551] 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] [L1552] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1554] data = atoi(inputBuffer) [L1561] return data; [L1567] RET, EXPR badSource(data) [L1567] data = badSource(data) [L1569] 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] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.33ms. Allocated memory is still 83.9MB. Free memory is still 64.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1369.06ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 78.0MB in the end (delta: 11.5MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 70.64ms. Allocated memory is still 117.4MB. Free memory was 78.0MB in the beginning and 75.7MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 27.24ms. Allocated memory is still 117.4MB. Free memory was 75.7MB in the beginning and 74.2MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 565.70ms. Allocated memory is still 117.4MB. Free memory was 74.2MB in the beginning and 56.6MB in the end (delta: 17.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 904.66ms. Allocated memory is still 117.4MB. Free memory was 55.9MB in the beginning and 64.5MB in the end (delta: -8.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.35ms. Allocated memory is still 117.4MB. Free memory was 64.5MB in the beginning and 63.8MB in the end (delta: 662.0kB). 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-13 21:11:35,706 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5c9b12c6-0bde-4603-9b8f-0e7a99376d4f/bin/ukojak-verify-EEHR8qb7sm/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