./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_16_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_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/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_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_16_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/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_89ac433e-0700-4c36-9eb5-17f23567bdf3/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 d03d41497e0f5058a2c8524383adbc0c8d28214654016469a458919e0265b126 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:37:08,335 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:37:08,430 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 21:37:08,437 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:37:08,437 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:37:08,475 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:37:08,476 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:37:08,476 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:37:08,477 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:37:08,477 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:37:08,478 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:37:08,478 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:37:08,478 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:37:08,479 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:37:08,479 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:37:08,479 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:37:08,479 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:37:08,479 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:37:08,480 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:37:08,480 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:37:08,480 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:37:08,480 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:37:08,480 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:37:08,480 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:37:08,480 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:37:08,481 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:37:08,481 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:37:08,481 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:37:08,481 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:37:08,481 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:37:08,481 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:37:08,481 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:37:08,481 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_89ac433e-0700-4c36-9eb5-17f23567bdf3/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 -> d03d41497e0f5058a2c8524383adbc0c8d28214654016469a458919e0265b126 [2024-11-13 21:37:08,779 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:37:08,787 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:37:08,789 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:37:08,791 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:37:08,791 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:37:08,792 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_16_bad.i Unable to find full path for "g++" [2024-11-13 21:37:10,586 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:37:11,133 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:37:11,137 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_16_bad.i [2024-11-13 21:37:11,173 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/data/ee0abb983/282dd8a4281948fb95544681e22439bd/FLAG4b65adcec [2024-11-13 21:37:11,199 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/data/ee0abb983/282dd8a4281948fb95544681e22439bd [2024-11-13 21:37:11,201 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:37:11,203 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:37:11,204 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:37:11,205 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:37:11,213 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:37:11,214 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:37:11" (1/1) ... [2024-11-13 21:37:11,215 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7c0fe130 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:11, skipping insertion in model container [2024-11-13 21:37:11,216 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:37:11" (1/1) ... [2024-11-13 21:37:11,269 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:37:12,061 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:37:12,071 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:37:12,208 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:37:12,320 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:37:12,321 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12 WrapperNode [2024-11-13 21:37:12,321 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:37:12,322 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:37:12,322 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:37:12,322 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:37:12,329 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,348 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,368 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 73 [2024-11-13 21:37:12,368 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:37:12,369 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:37:12,369 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:37:12,369 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:37:12,377 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,378 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,381 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,385 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,394 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,401 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,406 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,407 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,409 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:37:12,410 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:37:12,410 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:37:12,410 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:37:12,411 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,417 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:37:12,433 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:37:12,444 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:37:12,447 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:37:12,469 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:37:12,469 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:37:12,469 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:37:12,469 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:37:12,469 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:37:12,470 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 21:37:12,616 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:37:12,618 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:37:12,822 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2024-11-13 21:37:12,822 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:37:12,884 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:37:12,884 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 21:37:12,885 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:37:12 BoogieIcfgContainer [2024-11-13 21:37:12,885 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:37:12,888 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:37:12,888 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:37:12,902 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:37:12,902 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:37:12" (1/1) ... [2024-11-13 21:37:12,913 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:37:12,970 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:37:12,982 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 20 states and 25 transitions. [2024-11-13 21:37:12,983 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 25 transitions. [2024-11-13 21:37:12,991 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:37:12,991 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:37:12,992 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:37:13,115 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:37:13,232 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:37:13,288 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:37:13,289 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 20 states and 23 transitions. [2024-11-13 21:37:13,289 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 23 transitions. [2024-11-13 21:37:13,289 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 21:37:13,290 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:37:13,290 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:37:13,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:37:13,506 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:37:13,547 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:37:13,551 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 19 states and 22 transitions. [2024-11-13 21:37:13,551 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 22 transitions. [2024-11-13 21:37:13,552 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-13 21:37:13,552 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:37:13,552 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:37:13,608 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:37:13,608 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:37:13,636 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:37:13,746 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:37:13,746 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:37:13,775 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:37:13,793 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-13 21:37:13,819 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:37:13 ImpRootNode [2024-11-13 21:37:13,819 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:37:13,820 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:37:13,820 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:37:13,820 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:37:13,821 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:37:12" (3/4) ... [2024-11-13 21:37:13,823 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:37:13,824 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:37:13,825 INFO L158 Benchmark]: Toolchain (without parser) took 2622.47ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 74.9MB in the end (delta: 41.0MB). Peak memory consumption was 39.1MB. Max. memory is 16.1GB. [2024-11-13 21:37:13,825 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 142.6MB. Free memory is still 81.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:37:13,826 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1117.51ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 58.1MB in the end (delta: 57.8MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2024-11-13 21:37:13,826 INFO L158 Benchmark]: Boogie Procedure Inliner took 46.49ms. Allocated memory is still 142.6MB. Free memory was 58.1MB in the beginning and 55.4MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:37:13,827 INFO L158 Benchmark]: Boogie Preprocessor took 40.24ms. Allocated memory is still 142.6MB. Free memory was 55.4MB in the beginning and 54.2MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:37:13,827 INFO L158 Benchmark]: RCFGBuilder took 477.19ms. Allocated memory is still 142.6MB. Free memory was 54.2MB in the beginning and 108.5MB in the end (delta: -54.3MB). Peak memory consumption was 22.4MB. Max. memory is 16.1GB. [2024-11-13 21:37:13,828 INFO L158 Benchmark]: CodeCheck took 931.56ms. Allocated memory is still 142.6MB. Free memory was 108.5MB in the beginning and 74.9MB in the end (delta: 33.6MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 21:37:13,828 INFO L158 Benchmark]: Witness Printer took 4.43ms. Allocated memory is still 142.6MB. Free memory is still 74.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:37:13,830 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, 54 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 31 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 6 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 8 IncrementalHoareTripleChecker+Invalid, 14 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 6 mSolverCounterUnsat, 31 mSDtfsCounter, 8 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 130 GetRequests, 128 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 32 NumberOfCodeBlocks, 32 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 18 ConstructedInterpolants, 0 QuantifiedInterpolants, 20 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: 1571]: 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 1580, 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); [L1580] 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) [L1580] 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] [L1581] CALL CWE190_Integer_Overflow__int_fgets_multiply_16_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 1 [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) [L1567] COND TRUE 1 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] [L1569] 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] [L1571] 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.33ms. Allocated memory is still 142.6MB. Free memory is still 81.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1117.51ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 58.1MB in the end (delta: 57.8MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 46.49ms. Allocated memory is still 142.6MB. Free memory was 58.1MB in the beginning and 55.4MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 40.24ms. Allocated memory is still 142.6MB. Free memory was 55.4MB in the beginning and 54.2MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 477.19ms. Allocated memory is still 142.6MB. Free memory was 54.2MB in the beginning and 108.5MB in the end (delta: -54.3MB). Peak memory consumption was 22.4MB. Max. memory is 16.1GB. * CodeCheck took 931.56ms. Allocated memory is still 142.6MB. Free memory was 108.5MB in the beginning and 74.9MB in the end (delta: 33.6MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * Witness Printer took 4.43ms. Allocated memory is still 142.6MB. Free memory is still 74.9MB. There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 21:37:13,860 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/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_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/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_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_16_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/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_89ac433e-0700-4c36-9eb5-17f23567bdf3/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 d03d41497e0f5058a2c8524383adbc0c8d28214654016469a458919e0265b126 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:37:16,996 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:37:17,116 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 21:37:17,154 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:37:17,155 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:37:17,155 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:37:17,155 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:37:17,155 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:37:17,155 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:37:17,156 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:37:17,156 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:37:17,157 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:37:17,157 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:37:17,157 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:37:17,158 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 21:37:17,158 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 21:37:17,158 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:37:17,158 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:37:17,159 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 21:37:17,159 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:37:17,159 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:37:17,159 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:37:17,159 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:37:17,159 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:37:17,159 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:37:17,159 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:37:17,160 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 21:37:17,160 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:37:17,160 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:37:17,160 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:37:17,160 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:37:17,160 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:37:17,160 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 21:37:17,160 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:37:17,161 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 21:37:17,161 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_89ac433e-0700-4c36-9eb5-17f23567bdf3/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 -> d03d41497e0f5058a2c8524383adbc0c8d28214654016469a458919e0265b126 [2024-11-13 21:37:17,455 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:37:17,463 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:37:17,465 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:37:17,466 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:37:17,466 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:37:17,467 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_16_bad.i Unable to find full path for "g++" [2024-11-13 21:37:19,412 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:37:19,833 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:37:19,833 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_16_bad.i [2024-11-13 21:37:19,852 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/data/2d0d7310d/1b115299b7dc4d3394d396c92f43d69d/FLAG9f9ede13f [2024-11-13 21:37:19,866 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/data/2d0d7310d/1b115299b7dc4d3394d396c92f43d69d [2024-11-13 21:37:19,868 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:37:19,870 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:37:19,871 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:37:19,871 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:37:19,875 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:37:19,876 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:37:19" (1/1) ... [2024-11-13 21:37:19,877 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@e2a3f14 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:19, skipping insertion in model container [2024-11-13 21:37:19,877 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:37:19" (1/1) ... [2024-11-13 21:37:19,928 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:37:20,729 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:37:20,741 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:37:20,867 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:37:21,084 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:37:21,085 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21 WrapperNode [2024-11-13 21:37:21,085 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:37:21,086 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:37:21,086 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:37:21,086 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:37:21,093 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,126 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,156 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 72 [2024-11-13 21:37:21,156 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:37:21,157 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:37:21,157 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:37:21,158 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:37:21,165 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,165 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,170 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,174 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,189 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,195 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,197 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,202 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,208 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:37:21,209 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:37:21,209 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:37:21,209 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:37:21,210 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,222 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:37:21,236 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:37:21,248 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:37:21,255 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:37:21,277 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:37:21,277 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:37:21,277 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 21:37:21,277 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:37:21,277 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:37:21,278 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:37:21,433 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:37:21,435 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:37:21,556 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2024-11-13 21:37:21,556 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:37:21,596 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:37:21,596 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 21:37:21,597 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:37:21 BoogieIcfgContainer [2024-11-13 21:37:21,597 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:37:21,597 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:37:21,597 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:37:21,607 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:37:21,608 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:37:21" (1/1) ... [2024-11-13 21:37:21,624 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:37:21,666 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:37:21,675 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 20 states and 25 transitions. [2024-11-13 21:37:21,675 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 25 transitions. [2024-11-13 21:37:21,679 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:37:21,679 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:37:21,680 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:37:21,680 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:37:21,684 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:37:21,685 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 21:37:21,817 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:37:21,819 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:37:21,860 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:37:21,862 INFO L255 TraceCheckSpWp]: Trace formula consists of 36 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 21:37:21,865 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:37:21,889 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:37:21,892 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 21:37:21,922 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:37:21,925 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 20 states and 23 transitions. [2024-11-13 21:37:21,925 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 23 transitions. [2024-11-13 21:37:21,926 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 21:37:21,926 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:37:21,926 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:37:21,926 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:37:21,928 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:37:21,931 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 21:37:22,118 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:37:22,118 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:37:22,166 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:37:22,168 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 21:37:22,169 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:37:22,185 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:37:22,188 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 21:37:22,217 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:37:22,217 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 19 states and 22 transitions. [2024-11-13 21:37:22,217 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 22 transitions. [2024-11-13 21:37:22,218 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-13 21:37:22,218 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:37:22,218 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:37:22,218 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:37:22,224 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:37:22,225 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-13 21:37:22,413 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:37:22,413 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:37:22,488 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:37:22,564 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:37:22,564 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:37:22,586 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:37:22,606 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 21:37:22,608 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-13 21:37:22,609 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-13 21:37:22,644 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:37:22 ImpRootNode [2024-11-13 21:37:22,644 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:37:22,645 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:37:22,645 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:37:22,645 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:37:22,646 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:37:21" (3/4) ... [2024-11-13 21:37:22,648 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:37:22,649 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:37:22,652 INFO L158 Benchmark]: Toolchain (without parser) took 2780.25ms. Allocated memory is still 83.9MB. Free memory was 57.0MB in the beginning and 41.0MB in the end (delta: 15.9MB). Peak memory consumption was 20.7MB. Max. memory is 16.1GB. [2024-11-13 21:37:22,652 INFO L158 Benchmark]: CDTParser took 0.22ms. Allocated memory is still 83.9MB. Free memory is still 65.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:37:22,652 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1214.70ms. Allocated memory is still 83.9MB. Free memory was 56.7MB in the beginning and 50.3MB in the end (delta: 6.4MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2024-11-13 21:37:22,653 INFO L158 Benchmark]: Boogie Procedure Inliner took 70.69ms. Allocated memory is still 83.9MB. Free memory was 50.3MB in the beginning and 47.6MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:37:22,654 INFO L158 Benchmark]: Boogie Preprocessor took 51.03ms. Allocated memory is still 83.9MB. Free memory was 47.6MB in the beginning and 45.9MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:37:22,655 INFO L158 Benchmark]: RCFGBuilder took 387.77ms. Allocated memory is still 83.9MB. Free memory was 45.9MB in the beginning and 29.8MB in the end (delta: 16.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:37:22,655 INFO L158 Benchmark]: CodeCheck took 1047.13ms. Allocated memory is still 83.9MB. Free memory was 29.8MB in the beginning and 41.5MB in the end (delta: -11.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:37:22,657 INFO L158 Benchmark]: Witness Printer took 4.12ms. Allocated memory is still 83.9MB. Free memory was 41.5MB in the beginning and 41.0MB in the end (delta: 460.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:37:22,659 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.0s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 54 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 31 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 6 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 8 IncrementalHoareTripleChecker+Invalid, 14 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 6 mSolverCounterUnsat, 31 mSDtfsCounter, 8 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 144 GetRequests, 142 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 32 NumberOfCodeBlocks, 32 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 18 ConstructedInterpolants, 0 QuantifiedInterpolants, 20 SizeOfPredicates, 0 NumberOfNonLiveVariables, 89 ConjunctsInSsa, 3 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: 1571]: 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 1580, 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); [L1580] 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) [L1580] 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] [L1581] CALL CWE190_Integer_Overflow__int_fgets_multiply_16_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 1 [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) [L1567] COND TRUE 1 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] [L1569] 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] [L1571] 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.22ms. Allocated memory is still 83.9MB. Free memory is still 65.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1214.70ms. Allocated memory is still 83.9MB. Free memory was 56.7MB in the beginning and 50.3MB in the end (delta: 6.4MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 70.69ms. Allocated memory is still 83.9MB. Free memory was 50.3MB in the beginning and 47.6MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 51.03ms. Allocated memory is still 83.9MB. Free memory was 47.6MB in the beginning and 45.9MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 387.77ms. Allocated memory is still 83.9MB. Free memory was 45.9MB in the beginning and 29.8MB in the end (delta: 16.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1047.13ms. Allocated memory is still 83.9MB. Free memory was 29.8MB in the beginning and 41.5MB in the end (delta: -11.7MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.12ms. Allocated memory is still 83.9MB. Free memory was 41.5MB in the beginning and 41.0MB in the end (delta: 460.0kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 21:37:22,689 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89ac433e-0700-4c36-9eb5-17f23567bdf3/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