./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_51_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_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/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_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_51_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/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_c3654781-ef90-4651-995c-edef0ad8432b/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 fcef6dc9969520864ff3eb237f503bd49786ed83e05593d88361b4eab4a4eb5b --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 16:48:15,503 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 16:48:15,593 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 16:48:15,598 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 16:48:15,599 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 16:48:15,637 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 16:48:15,640 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 16:48:15,640 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 16:48:15,641 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 16:48:15,641 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 16:48:15,641 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 16:48:15,641 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 16:48:15,641 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 16:48:15,641 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 16:48:15,642 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 16:48:15,642 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 16:48:15,642 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 16:48:15,642 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 16:48:15,642 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 16:48:15,642 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 16:48:15,642 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 16:48:15,642 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 16:48:15,643 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 16:48:15,643 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 16:48:15,643 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 16:48:15,643 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 16:48:15,643 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:48:15,644 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 16:48:15,644 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 16:48:15,645 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 16:48:15,645 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 16:48:15,645 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 16:48:15,645 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_c3654781-ef90-4651-995c-edef0ad8432b/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 -> fcef6dc9969520864ff3eb237f503bd49786ed83e05593d88361b4eab4a4eb5b [2024-11-13 16:48:15,964 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 16:48:15,972 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 16:48:15,975 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 16:48:15,976 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 16:48:15,977 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 16:48:15,978 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_51_bad.i Unable to find full path for "g++" [2024-11-13 16:48:17,815 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 16:48:18,338 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 16:48:18,340 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_51_bad.i [2024-11-13 16:48:18,373 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/data/14b9838fc/70d8f46fdcbf4193a317d092c4dd9ab2/FLAG957c504d2 [2024-11-13 16:48:18,416 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/data/14b9838fc/70d8f46fdcbf4193a317d092c4dd9ab2 [2024-11-13 16:48:18,419 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 16:48:18,420 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 16:48:18,422 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 16:48:18,422 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 16:48:18,427 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 16:48:18,428 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:48:18" (1/1) ... [2024-11-13 16:48:18,432 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6b389755 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:18, skipping insertion in model container [2024-11-13 16:48:18,432 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:48:18" (1/1) ... [2024-11-13 16:48:18,494 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 16:48:19,537 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:48:19,555 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 16:48:19,648 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:48:19,791 INFO L204 MainTranslator]: Completed translation [2024-11-13 16:48:19,792 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19 WrapperNode [2024-11-13 16:48:19,793 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 16:48:19,794 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 16:48:19,795 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 16:48:19,795 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 16:48:19,801 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,839 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,872 INFO L138 Inliner]: procedures = 499, calls = 28, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 69 [2024-11-13 16:48:19,872 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 16:48:19,873 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 16:48:19,873 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 16:48:19,873 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 16:48:19,881 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,882 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,886 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,887 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,897 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,899 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,900 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,901 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,903 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 16:48:19,904 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 16:48:19,904 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 16:48:19,904 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 16:48:19,905 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:19" (1/1) ... [2024-11-13 16:48:19,910 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:48:19,927 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 16:48:19,938 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 16:48:19,940 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 16:48:19,960 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 16:48:19,960 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 16:48:19,961 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 16:48:19,961 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 16:48:19,961 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 16:48:19,961 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 16:48:20,125 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 16:48:20,127 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 16:48:20,248 INFO L? ?]: Removed 23 outVars from TransFormulas that were not future-live. [2024-11-13 16:48:20,248 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 16:48:20,302 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 16:48:20,303 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 16:48:20,303 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:48:20 BoogieIcfgContainer [2024-11-13 16:48:20,303 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 16:48:20,304 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 16:48:20,304 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 16:48:20,315 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 16:48:20,316 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:48:20" (1/1) ... [2024-11-13 16:48:20,327 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 16:48:20,377 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:48:20,387 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 16 states and 18 transitions. [2024-11-13 16:48:20,389 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 18 transitions. [2024-11-13 16:48:20,394 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 16:48:20,394 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:48:20,395 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:48:20,553 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:48:20,805 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 16:48:20,889 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:48:20,891 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 18 states and 21 transitions. [2024-11-13 16:48:20,891 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 21 transitions. [2024-11-13 16:48:20,893 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:48:20,893 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:48:20,893 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:48:20,957 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:48:20,957 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:48:20,972 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:48:21,058 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:48:21,058 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:48:21,083 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:48:21,101 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 16:48:21,135 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 04:48:21 ImpRootNode [2024-11-13 16:48:21,136 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 16:48:21,137 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 16:48:21,137 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 16:48:21,138 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 16:48:21,138 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:48:20" (3/4) ... [2024-11-13 16:48:21,141 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 16:48:21,142 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 16:48:21,143 INFO L158 Benchmark]: Toolchain (without parser) took 2722.34ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 70.1MB in the end (delta: 45.9MB). Peak memory consumption was 47.5MB. Max. memory is 16.1GB. [2024-11-13 16:48:21,143 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 142.6MB. Free memory is still 79.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:48:21,144 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1371.90ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 55.7MB in the end (delta: 60.2MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2024-11-13 16:48:21,144 INFO L158 Benchmark]: Boogie Procedure Inliner took 77.96ms. Allocated memory is still 142.6MB. Free memory was 55.5MB in the beginning and 53.1MB in the end (delta: 2.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 16:48:21,144 INFO L158 Benchmark]: Boogie Preprocessor took 29.97ms. Allocated memory is still 142.6MB. Free memory was 53.1MB in the beginning and 51.9MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:48:21,145 INFO L158 Benchmark]: RCFGBuilder took 399.59ms. Allocated memory is still 142.6MB. Free memory was 51.9MB in the beginning and 106.0MB in the end (delta: -54.0MB). Peak memory consumption was 13.9MB. Max. memory is 16.1GB. [2024-11-13 16:48:21,145 INFO L158 Benchmark]: CodeCheck took 832.10ms. Allocated memory is still 142.6MB. Free memory was 106.0MB in the beginning and 70.8MB in the end (delta: 35.2MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 16:48:21,145 INFO L158 Benchmark]: Witness Printer took 5.39ms. Allocated memory is still 142.6MB. Free memory was 70.8MB in the beginning and 70.1MB in the end (delta: 734.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:48:21,154 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, 16 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 11 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 10 IncrementalHoareTripleChecker+Invalid, 14 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 9 mSDtfsCounter, 10 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 56 GetRequests, 52 SyntacticMatches, 0 SemanticMatches, 4 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.2s InterpolantComputationTime, 17 NumberOfCodeBlocks, 17 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 7 ConstructedInterpolants, 0 QuantifiedInterpolants, 15 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: 1577]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1557, overapproximation of large string literal at line 1569, overapproximation of fgets at line 1555. 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); [L1569] 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) [L1569] 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] [L1570] CALL CWE190_Integer_Overflow__int_fgets_postinc_51_bad() [L1551] int data; [L1552] data = 0 [L1554] 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] [L1555] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1557] data = atoi(inputBuffer) [L1564] CALL CWE190_Integer_Overflow__int_fgets_postinc_51b_badSink(data) [L1577] 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.32ms. Allocated memory is still 142.6MB. Free memory is still 79.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1371.90ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 55.7MB in the end (delta: 60.2MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 77.96ms. Allocated memory is still 142.6MB. Free memory was 55.5MB in the beginning and 53.1MB in the end (delta: 2.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 29.97ms. Allocated memory is still 142.6MB. Free memory was 53.1MB in the beginning and 51.9MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 399.59ms. Allocated memory is still 142.6MB. Free memory was 51.9MB in the beginning and 106.0MB in the end (delta: -54.0MB). Peak memory consumption was 13.9MB. Max. memory is 16.1GB. * CodeCheck took 832.10ms. Allocated memory is still 142.6MB. Free memory was 106.0MB in the beginning and 70.8MB in the end (delta: 35.2MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * Witness Printer took 5.39ms. Allocated memory is still 142.6MB. Free memory was 70.8MB in the beginning and 70.1MB in the end (delta: 734.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 16:48:21,181 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, 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_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/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_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_51_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/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_c3654781-ef90-4651-995c-edef0ad8432b/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 fcef6dc9969520864ff3eb237f503bd49786ed83e05593d88361b4eab4a4eb5b --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 16:48:23,795 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 16:48:23,910 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 16:48:23,949 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 16:48:23,951 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 16:48:23,952 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 16:48:23,952 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 16:48:23,952 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 16:48:23,953 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 16:48:23,953 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 16:48:23,954 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 16:48:23,954 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 16:48:23,954 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 16:48:23,954 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 16:48:23,955 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 16:48:23,955 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 16:48:23,956 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 16:48:23,956 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 16:48:23,956 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 16:48:23,956 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 16:48:23,957 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 16:48:23,957 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 16:48:23,957 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 16:48:23,957 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 16:48:23,957 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 16:48:23,957 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 16:48:23,957 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 16:48:23,957 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 16:48:23,958 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:48:23,958 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 16:48:23,958 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 16:48:23,958 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 16:48:23,958 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 16:48:23,958 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 16:48:23,958 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 16:48:23,958 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_c3654781-ef90-4651-995c-edef0ad8432b/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 -> fcef6dc9969520864ff3eb237f503bd49786ed83e05593d88361b4eab4a4eb5b [2024-11-13 16:48:24,287 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 16:48:24,296 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 16:48:24,298 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 16:48:24,299 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 16:48:24,300 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 16:48:24,301 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_51_bad.i Unable to find full path for "g++" [2024-11-13 16:48:26,187 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 16:48:26,623 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 16:48:26,627 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_51_bad.i [2024-11-13 16:48:26,663 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/data/1aebfb417/e8426c6a87624d759d10e09551b68f4b/FLAG2991c6700 [2024-11-13 16:48:26,690 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/data/1aebfb417/e8426c6a87624d759d10e09551b68f4b [2024-11-13 16:48:26,692 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 16:48:26,694 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 16:48:26,696 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 16:48:26,698 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 16:48:26,704 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 16:48:26,705 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:48:26" (1/1) ... [2024-11-13 16:48:26,708 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7e5a6452 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:26, skipping insertion in model container [2024-11-13 16:48:26,708 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:48:26" (1/1) ... [2024-11-13 16:48:26,768 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 16:48:27,652 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:48:27,668 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 16:48:27,781 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:48:27,937 INFO L204 MainTranslator]: Completed translation [2024-11-13 16:48:27,938 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27 WrapperNode [2024-11-13 16:48:27,938 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 16:48:27,939 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 16:48:27,939 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 16:48:27,939 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 16:48:27,945 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:27,969 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:27,996 INFO L138 Inliner]: procedures = 504, calls = 28, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 68 [2024-11-13 16:48:27,997 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 16:48:27,997 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 16:48:27,997 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 16:48:27,997 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 16:48:28,007 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:28,007 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:28,010 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:28,011 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:28,018 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:28,020 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:28,022 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:28,023 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:28,026 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 16:48:28,027 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 16:48:28,027 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 16:48:28,028 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 16:48:28,029 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:48:27" (1/1) ... [2024-11-13 16:48:28,035 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:48:28,051 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 16:48:28,064 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 16:48:28,067 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 16:48:28,093 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 16:48:28,093 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 16:48:28,093 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 16:48:28,093 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 16:48:28,094 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 16:48:28,094 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 16:48:28,251 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 16:48:28,252 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 16:48:28,419 INFO L? ?]: Removed 22 outVars from TransFormulas that were not future-live. [2024-11-13 16:48:28,419 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 16:48:28,495 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 16:48:28,495 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 16:48:28,496 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:48:28 BoogieIcfgContainer [2024-11-13 16:48:28,496 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 16:48:28,497 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 16:48:28,497 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 16:48:28,508 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 16:48:28,508 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:48:28" (1/1) ... [2024-11-13 16:48:28,553 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 16:48:28,603 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:48:28,613 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 16 states and 18 transitions. [2024-11-13 16:48:28,613 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 18 transitions. [2024-11-13 16:48:28,617 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 16:48:28,618 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:48:28,618 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:48:28,618 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:48:28,623 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:48:28,625 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 16:48:28,822 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:48:28,824 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 16:48:28,879 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:48:28,882 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 16:48:28,885 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 16:48:28,913 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 16:48:28,915 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 16:48:28,943 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:48:28,944 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 15 states and 17 transitions. [2024-11-13 16:48:28,944 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 17 transitions. [2024-11-13 16:48:28,944 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:48:28,944 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:48:28,944 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:48:28,945 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:48:28,949 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:48:28,951 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 16:48:29,151 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:48:29,151 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:48:29,226 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:48:29,305 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:48:29,306 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:48:29,331 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:48:29,354 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 16:48:29,355 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 16:48:29,389 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 04:48:29 ImpRootNode [2024-11-13 16:48:29,389 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 16:48:29,390 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 16:48:29,390 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 16:48:29,390 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 16:48:29,391 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:48:28" (3/4) ... [2024-11-13 16:48:29,394 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 16:48:29,395 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 16:48:29,398 INFO L158 Benchmark]: Toolchain (without parser) took 2702.30ms. Allocated memory was 83.9MB in the beginning and 134.2MB in the end (delta: 50.3MB). Free memory was 55.3MB in the beginning and 76.6MB in the end (delta: -21.3MB). Peak memory consumption was 31.4MB. Max. memory is 16.1GB. [2024-11-13 16:48:29,399 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 83.9MB. Free memory is still 63.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:48:29,399 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1242.00ms. Allocated memory was 83.9MB in the beginning and 134.2MB in the end (delta: 50.3MB). Free memory was 55.1MB in the beginning and 63.5MB in the end (delta: -8.4MB). Peak memory consumption was 46.3MB. Max. memory is 16.1GB. [2024-11-13 16:48:29,400 INFO L158 Benchmark]: Boogie Procedure Inliner took 57.82ms. Allocated memory is still 134.2MB. Free memory was 63.5MB in the beginning and 60.7MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:48:29,404 INFO L158 Benchmark]: Boogie Preprocessor took 29.46ms. Allocated memory is still 134.2MB. Free memory was 60.7MB in the beginning and 59.1MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:48:29,404 INFO L158 Benchmark]: RCFGBuilder took 468.71ms. Allocated memory is still 134.2MB. Free memory was 59.1MB in the beginning and 42.1MB in the end (delta: 17.0MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 16:48:29,404 INFO L158 Benchmark]: CodeCheck took 892.39ms. Allocated memory is still 134.2MB. Free memory was 42.1MB in the beginning and 77.4MB in the end (delta: -35.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:48:29,405 INFO L158 Benchmark]: Witness Printer took 5.94ms. Allocated memory is still 134.2MB. Free memory is still 76.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:48:29,407 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, 12 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 2 IncrementalHoareTripleChecker+Invalid, 2 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 12 mSDtfsCounter, 2 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: 1577]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1557, overapproximation of large string literal at line 1569, overapproximation of fgets at line 1555. 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); [L1569] 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) [L1569] 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] [L1570] CALL CWE190_Integer_Overflow__int_fgets_postinc_51_bad() [L1551] int data; [L1552] data = 0 [L1554] 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] [L1555] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1557] data = atoi(inputBuffer) [L1564] CALL CWE190_Integer_Overflow__int_fgets_postinc_51b_badSink(data) [L1577] 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.30ms. Allocated memory is still 83.9MB. Free memory is still 63.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1242.00ms. Allocated memory was 83.9MB in the beginning and 134.2MB in the end (delta: 50.3MB). Free memory was 55.1MB in the beginning and 63.5MB in the end (delta: -8.4MB). Peak memory consumption was 46.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 57.82ms. Allocated memory is still 134.2MB. Free memory was 63.5MB in the beginning and 60.7MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 29.46ms. Allocated memory is still 134.2MB. Free memory was 60.7MB in the beginning and 59.1MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 468.71ms. Allocated memory is still 134.2MB. Free memory was 59.1MB in the beginning and 42.1MB in the end (delta: 17.0MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 892.39ms. Allocated memory is still 134.2MB. Free memory was 42.1MB in the beginning and 77.4MB in the end (delta: -35.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.94ms. Allocated memory is still 134.2MB. Free memory is still 76.6MB. 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 16:48:29,439 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c3654781-ef90-4651-995c-edef0ad8432b/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