./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_09_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_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_09_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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_02e2091f-562c-4d99-8432-98131e040b3e/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 aa05a18aecd26648795d669443e856f1c6673d34cbf544333932fd03ac8d6997 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 16:55:38,586 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 16:55:38,646 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 16:55:38,651 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 16:55:38,651 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 16:55:38,687 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 16:55:38,688 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 16:55:38,690 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 16:55:38,690 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 16:55:38,690 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 16:55:38,690 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 16:55:38,690 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 16:55:38,691 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 16:55:38,691 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 16:55:38,691 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 16:55:38,691 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 16:55:38,691 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 16:55:38,691 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 16:55:38,691 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 16:55:38,691 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 16:55:38,691 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 16:55:38,693 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 16:55:38,694 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 16:55:38,694 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 16:55:38,694 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 16:55:38,694 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 16:55:38,694 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:55:38,694 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 16:55:38,695 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 16:55:38,695 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 16:55:38,695 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 16:55:38,695 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 16:55:38,695 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_02e2091f-562c-4d99-8432-98131e040b3e/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 -> aa05a18aecd26648795d669443e856f1c6673d34cbf544333932fd03ac8d6997 [2024-11-13 16:55:39,040 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 16:55:39,053 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 16:55:39,057 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 16:55:39,059 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 16:55:39,059 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 16:55:39,061 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_09_bad.i Unable to find full path for "g++" [2024-11-13 16:55:40,998 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 16:55:41,393 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 16:55:41,398 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_09_bad.i [2024-11-13 16:55:41,421 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/data/e916ad1ec/4e5eaec202fb4919b03e34e462cc1fc3/FLAG0e83f990a [2024-11-13 16:55:41,442 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/data/e916ad1ec/4e5eaec202fb4919b03e34e462cc1fc3 [2024-11-13 16:55:41,444 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 16:55:41,447 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 16:55:41,449 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 16:55:41,449 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 16:55:41,454 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 16:55:41,455 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:55:41" (1/1) ... [2024-11-13 16:55:41,458 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@72bd950f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:41, skipping insertion in model container [2024-11-13 16:55:41,459 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:55:41" (1/1) ... [2024-11-13 16:55:41,513 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 16:55:42,356 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:55:42,369 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 16:55:42,455 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:55:42,622 INFO L204 MainTranslator]: Completed translation [2024-11-13 16:55:42,623 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42 WrapperNode [2024-11-13 16:55:42,624 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 16:55:42,625 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 16:55:42,625 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 16:55:42,625 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 16:55:42,631 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:55:42" (1/1) ... [2024-11-13 16:55:42,663 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:55:42" (1/1) ... [2024-11-13 16:55:42,692 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 67 [2024-11-13 16:55:42,694 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 16:55:42,694 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 16:55:42,694 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 16:55:42,694 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 16:55:42,702 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42" (1/1) ... [2024-11-13 16:55:42,702 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42" (1/1) ... [2024-11-13 16:55:42,707 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42" (1/1) ... [2024-11-13 16:55:42,711 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42" (1/1) ... [2024-11-13 16:55:42,719 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42" (1/1) ... [2024-11-13 16:55:42,721 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42" (1/1) ... [2024-11-13 16:55:42,725 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42" (1/1) ... [2024-11-13 16:55:42,726 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42" (1/1) ... [2024-11-13 16:55:42,732 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 16:55:42,733 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 16:55:42,733 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 16:55:42,733 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 16:55:42,734 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:42" (1/1) ... [2024-11-13 16:55:42,744 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:55:42,761 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 16:55:42,774 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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:55:42,782 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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:55:42,806 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 16:55:42,806 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 16:55:42,806 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 16:55:42,806 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 16:55:42,806 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 16:55:42,807 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 16:55:43,002 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 16:55:43,004 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 16:55:43,120 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2024-11-13 16:55:43,121 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 16:55:43,155 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 16:55:43,156 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 16:55:43,156 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:55:43 BoogieIcfgContainer [2024-11-13 16:55:43,156 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 16:55:43,157 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 16:55:43,157 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 16:55:43,173 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 16:55:43,174 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:55:43" (1/1) ... [2024-11-13 16:55:43,184 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 16:55:43,232 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:55:43,244 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 20 states and 25 transitions. [2024-11-13 16:55:43,246 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 25 transitions. [2024-11-13 16:55:43,250 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:55:43,251 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:55:43,251 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:55:43,380 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:55:43,558 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:55:43,622 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:55:43,625 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 20 states and 24 transitions. [2024-11-13 16:55:43,625 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 24 transitions. [2024-11-13 16:55:43,626 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 16:55:43,626 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:55:43,626 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:55:43,689 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:55:43,806 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:55:43,843 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:55:43,844 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 19 states and 23 transitions. [2024-11-13 16:55:43,844 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2024-11-13 16:55:43,844 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-13 16:55:43,844 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:55:43,845 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:55:43,911 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:55:43,911 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:55:43,932 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:55:44,070 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:55:44,071 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:55:44,094 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:55:44,120 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-13 16:55:44,166 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 04:55:44 ImpRootNode [2024-11-13 16:55:44,167 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 16:55:44,167 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 16:55:44,167 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 16:55:44,167 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 16:55:44,168 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:55:43" (3/4) ... [2024-11-13 16:55:44,170 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 16:55:44,171 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 16:55:44,172 INFO L158 Benchmark]: Toolchain (without parser) took 2726.01ms. Allocated memory is still 117.4MB. Free memory was 89.4MB in the beginning and 83.5MB in the end (delta: 5.9MB). Peak memory consumption was 7.6MB. Max. memory is 16.1GB. [2024-11-13 16:55:44,173 INFO L158 Benchmark]: CDTParser took 0.98ms. Allocated memory is still 117.4MB. Free memory is still 75.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:44,173 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1175.78ms. Allocated memory is still 117.4MB. Free memory was 89.2MB in the beginning and 80.1MB in the end (delta: 9.1MB). Peak memory consumption was 66.1MB. Max. memory is 16.1GB. [2024-11-13 16:55:44,173 INFO L158 Benchmark]: Boogie Procedure Inliner took 68.94ms. Allocated memory is still 117.4MB. Free memory was 79.6MB in the beginning and 77.4MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:44,174 INFO L158 Benchmark]: Boogie Preprocessor took 38.46ms. Allocated memory is still 117.4MB. Free memory was 77.4MB in the beginning and 76.3MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:44,174 INFO L158 Benchmark]: RCFGBuilder took 422.93ms. Allocated memory is still 117.4MB. Free memory was 76.3MB in the beginning and 62.2MB in the end (delta: 14.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 16:55:44,179 INFO L158 Benchmark]: CodeCheck took 1009.99ms. Allocated memory is still 117.4MB. Free memory was 62.2MB in the beginning and 84.2MB in the end (delta: -22.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:44,179 INFO L158 Benchmark]: Witness Printer took 4.15ms. Allocated memory is still 117.4MB. Free memory was 83.5MB in the beginning and 83.5MB in the end (delta: 13.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:44,181 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, 20 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.9s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 57 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 4 mSDsluCounter, 41 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 4 mSDsCounter, 6 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 18 IncrementalHoareTripleChecker+Invalid, 24 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 6 mSolverCounterUnsat, 37 mSDtfsCounter, 18 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 151 GetRequests, 147 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.3s InterpolantComputationTime, 32 NumberOfCodeBlocks, 32 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 18 ConstructedInterpolants, 0 QuantifiedInterpolants, 26 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 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: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1578, overapproximation of fgets at line 1556. 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); [L1578] 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) [L1578] 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] [L1579] CALL CWE190_Integer_Overflow__int_fgets_multiply_09_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE \read(GLOBAL_CONST_TRUE) [L1555] 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] [L1556] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] data = atoi(inputBuffer) [L1566] COND TRUE \read(GLOBAL_CONST_TRUE) VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1568] COND TRUE data > 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] data * 2 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.98ms. Allocated memory is still 117.4MB. Free memory is still 75.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1175.78ms. Allocated memory is still 117.4MB. Free memory was 89.2MB in the beginning and 80.1MB in the end (delta: 9.1MB). Peak memory consumption was 66.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 68.94ms. Allocated memory is still 117.4MB. Free memory was 79.6MB in the beginning and 77.4MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 38.46ms. Allocated memory is still 117.4MB. Free memory was 77.4MB in the beginning and 76.3MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 422.93ms. Allocated memory is still 117.4MB. Free memory was 76.3MB in the beginning and 62.2MB in the end (delta: 14.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1009.99ms. Allocated memory is still 117.4MB. Free memory was 62.2MB in the beginning and 84.2MB in the end (delta: -22.0MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.15ms. Allocated memory is still 117.4MB. Free memory was 83.5MB in the beginning and 83.5MB in the end (delta: 13.7kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 16:55:44,218 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_09_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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_02e2091f-562c-4d99-8432-98131e040b3e/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 aa05a18aecd26648795d669443e856f1c6673d34cbf544333932fd03ac8d6997 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 16:55:46,862 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 16:55:47,002 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 16:55:47,040 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 16:55:47,042 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 16:55:47,043 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 16:55:47,043 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 16:55:47,044 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 16:55:47,044 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 16:55:47,045 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 16:55:47,045 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 16:55:47,045 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 16:55:47,045 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 16:55:47,045 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 16:55:47,045 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 16:55:47,046 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 16:55:47,047 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 16:55:47,047 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 16:55:47,047 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 16:55:47,047 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 16:55:47,047 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 16:55:47,047 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 16:55:47,047 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 16:55:47,048 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 16:55:47,048 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 16:55:47,048 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 16:55:47,048 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 16:55:47,048 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 16:55:47,048 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:55:47,048 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 16:55:47,048 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 16:55:47,049 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 16:55:47,049 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 16:55:47,049 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 16:55:47,049 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 16:55:47,049 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_02e2091f-562c-4d99-8432-98131e040b3e/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 -> aa05a18aecd26648795d669443e856f1c6673d34cbf544333932fd03ac8d6997 [2024-11-13 16:55:47,386 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 16:55:47,397 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 16:55:47,399 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 16:55:47,403 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 16:55:47,404 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 16:55:47,405 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_09_bad.i Unable to find full path for "g++" [2024-11-13 16:55:49,326 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 16:55:49,775 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 16:55:49,778 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_09_bad.i [2024-11-13 16:55:49,816 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/data/803493de5/c759dc7750164ec885602e0624e26366/FLAG75284642c [2024-11-13 16:55:49,840 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/data/803493de5/c759dc7750164ec885602e0624e26366 [2024-11-13 16:55:49,843 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 16:55:49,844 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 16:55:49,847 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 16:55:49,848 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 16:55:49,853 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 16:55:49,854 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:55:49" (1/1) ... [2024-11-13 16:55:49,857 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7432f973 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:49, skipping insertion in model container [2024-11-13 16:55:49,857 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:55:49" (1/1) ... [2024-11-13 16:55:49,927 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 16:55:50,831 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:55:50,844 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 16:55:50,955 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:55:51,143 INFO L204 MainTranslator]: Completed translation [2024-11-13 16:55:51,144 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51 WrapperNode [2024-11-13 16:55:51,144 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 16:55:51,145 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 16:55:51,145 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 16:55:51,145 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 16:55:51,150 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:55:51" (1/1) ... [2024-11-13 16:55:51,172 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:55:51" (1/1) ... [2024-11-13 16:55:51,197 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 66 [2024-11-13 16:55:51,199 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 16:55:51,199 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 16:55:51,200 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 16:55:51,200 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 16:55:51,208 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,208 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,213 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,218 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,228 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,235 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,238 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,239 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,242 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 16:55:51,243 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 16:55:51,243 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 16:55:51,243 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 16:55:51,244 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,250 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:55:51,261 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 16:55:51,271 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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:55:51,277 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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:55:51,298 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 16:55:51,298 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 16:55:51,298 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 16:55:51,298 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 16:55:51,299 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 16:55:51,299 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 16:55:51,478 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 16:55:51,480 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 16:55:51,656 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2024-11-13 16:55:51,656 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 16:55:51,718 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 16:55:51,719 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 16:55:51,720 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:55:51 BoogieIcfgContainer [2024-11-13 16:55:51,720 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 16:55:51,721 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 16:55:51,721 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 16:55:51,731 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 16:55:51,731 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:55:51" (1/1) ... [2024-11-13 16:55:51,746 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 16:55:51,792 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:55:51,804 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 20 states and 25 transitions. [2024-11-13 16:55:51,804 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 25 transitions. [2024-11-13 16:55:51,808 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:55:51,809 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:55:51,810 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:55:51,810 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:55:51,815 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:55:51,816 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 16:55:51,970 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:55:51,973 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 16:55:52,012 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:55:52,014 INFO L255 TraceCheckSpWp]: Trace formula consists of 36 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 16:55:52,020 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 16:55:52,061 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:55:52,065 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 16:55:52,114 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:55:52,115 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 21 states and 26 transitions. [2024-11-13 16:55:52,115 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 26 transitions. [2024-11-13 16:55:52,116 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 16:55:52,117 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:55:52,117 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:55:52,117 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:55:52,120 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:55:52,127 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 16:55:52,306 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:55:52,306 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 16:55:52,353 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:55:52,355 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 16:55:52,356 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 16:55:52,375 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:55:52,379 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2024-11-13 16:55:52,419 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:55:52,420 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 20 states and 25 transitions. [2024-11-13 16:55:52,421 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 25 transitions. [2024-11-13 16:55:52,422 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-13 16:55:52,422 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:55:52,422 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:55:52,422 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:55:52,427 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:55:52,428 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-13 16:55:52,613 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:55:52,613 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:55:52,684 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:55:52,774 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:55:52,774 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:55:52,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:55:52,816 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 16:55:52,819 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-13 16:55:52,819 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-13 16:55:52,861 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 04:55:52 ImpRootNode [2024-11-13 16:55:52,862 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 16:55:52,863 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 16:55:52,863 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 16:55:52,863 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 16:55:52,864 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:55:51" (3/4) ... [2024-11-13 16:55:52,867 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 16:55:52,868 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 16:55:52,871 INFO L158 Benchmark]: Toolchain (without parser) took 3025.09ms. Allocated memory is still 83.9MB. Free memory was 57.6MB in the beginning and 41.0MB in the end (delta: 16.6MB). Peak memory consumption was 20.3MB. Max. memory is 16.1GB. [2024-11-13 16:55:52,872 INFO L158 Benchmark]: CDTParser took 1.55ms. Allocated memory is still 83.9MB. Free memory is still 64.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:52,872 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1297.08ms. Allocated memory is still 83.9MB. Free memory was 57.3MB in the beginning and 51.7MB in the end (delta: 5.6MB). Peak memory consumption was 58.2MB. Max. memory is 16.1GB. [2024-11-13 16:55:52,873 INFO L158 Benchmark]: Boogie Procedure Inliner took 54.20ms. Allocated memory is still 83.9MB. Free memory was 51.7MB in the beginning and 49.0MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:52,873 INFO L158 Benchmark]: Boogie Preprocessor took 42.90ms. Allocated memory is still 83.9MB. Free memory was 49.0MB in the beginning and 47.4MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:52,873 INFO L158 Benchmark]: RCFGBuilder took 476.97ms. Allocated memory is still 83.9MB. Free memory was 47.1MB in the beginning and 30.7MB in the end (delta: 16.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 16:55:52,873 INFO L158 Benchmark]: CodeCheck took 1141.40ms. Allocated memory is still 83.9MB. Free memory was 30.7MB in the beginning and 41.0MB in the end (delta: -10.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:52,874 INFO L158 Benchmark]: Witness Printer took 5.84ms. Allocated memory is still 83.9MB. Free memory was 41.0MB in the beginning and 41.0MB in the end (delta: 4.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:55:52,876 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, 20 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.1s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 52 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 33 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 4 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 14 IncrementalHoareTripleChecker+Invalid, 22 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 29 mSDtfsCounter, 14 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 150 GetRequests, 146 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.1s InterpolantComputationTime, 32 NumberOfCodeBlocks, 32 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 18 ConstructedInterpolants, 0 QuantifiedInterpolants, 22 SizeOfPredicates, 0 NumberOfNonLiveVariables, 90 ConjunctsInSsa, 4 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 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: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1578, overapproximation of fgets at line 1556. 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); [L1578] 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) [L1578] 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] [L1579] CALL CWE190_Integer_Overflow__int_fgets_multiply_09_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE \read(GLOBAL_CONST_TRUE) [L1555] 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] [L1556] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] data = atoi(inputBuffer) [L1566] COND TRUE \read(GLOBAL_CONST_TRUE) VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1568] COND TRUE data > 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] data * 2 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 1.55ms. Allocated memory is still 83.9MB. Free memory is still 64.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1297.08ms. Allocated memory is still 83.9MB. Free memory was 57.3MB in the beginning and 51.7MB in the end (delta: 5.6MB). Peak memory consumption was 58.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 54.20ms. Allocated memory is still 83.9MB. Free memory was 51.7MB in the beginning and 49.0MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 42.90ms. Allocated memory is still 83.9MB. Free memory was 49.0MB in the beginning and 47.4MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 476.97ms. Allocated memory is still 83.9MB. Free memory was 47.1MB in the beginning and 30.7MB in the end (delta: 16.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1141.40ms. Allocated memory is still 83.9MB. Free memory was 30.7MB in the beginning and 41.0MB in the end (delta: -10.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.84ms. Allocated memory is still 83.9MB. Free memory was 41.0MB in the beginning and 41.0MB in the end (delta: 4.2kB). 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:55:52,907 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_02e2091f-562c-4d99-8432-98131e040b3e/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