./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_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_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/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_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/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_84bc2dcb-e026-4bea-baa7-90feec400ae9/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 dddfccd8da9f12f34e194b4a9fc4c4f6991db16bc01a02bc13eca415e127610f --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:44:38,692 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:44:38,781 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 22:44:38,787 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:44:38,787 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:44:38,810 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:44:38,811 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:44:38,812 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:44:38,812 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:44:38,812 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:44:38,813 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:44:38,813 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:44:38,813 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:44:38,813 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:44:38,813 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:44:38,813 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:44:38,814 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:44:38,814 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:44:38,814 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:44:38,814 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:44:38,814 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:44:38,814 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:44:38,815 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:44:38,815 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:44:38,815 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:44:38,815 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:44:38,815 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:44:38,816 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:44:38,816 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:44:38,816 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:44:38,816 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:44:38,816 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:44:38,816 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_84bc2dcb-e026-4bea-baa7-90feec400ae9/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 -> dddfccd8da9f12f34e194b4a9fc4c4f6991db16bc01a02bc13eca415e127610f [2024-11-13 22:44:39,180 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:44:39,190 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:44:39,198 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:44:39,199 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:44:39,200 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:44:39,201 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i Unable to find full path for "g++" [2024-11-13 22:44:41,428 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:44:41,836 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:44:41,837 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i [2024-11-13 22:44:41,861 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/data/a21f9f65c/698f6fb92b9e4e928624336e0e84e0a4/FLAGd3220d528 [2024-11-13 22:44:41,882 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/data/a21f9f65c/698f6fb92b9e4e928624336e0e84e0a4 [2024-11-13 22:44:41,885 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:44:41,887 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:44:41,889 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:44:41,889 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:44:41,893 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:44:41,894 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:44:41" (1/1) ... [2024-11-13 22:44:41,895 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2b45bbba and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:41, skipping insertion in model container [2024-11-13 22:44:41,895 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:44:41" (1/1) ... [2024-11-13 22:44:41,951 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:44:43,099 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:44:43,113 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:44:43,215 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:44:43,400 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:44:43,400 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43 WrapperNode [2024-11-13 22:44:43,400 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:44:43,401 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:44:43,401 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:44:43,401 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:44:43,407 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,428 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,453 INFO L138 Inliner]: procedures = 498, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 84 [2024-11-13 22:44:43,454 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:44:43,454 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:44:43,455 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:44:43,455 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:44:43,464 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,464 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,468 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,468 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,475 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,478 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,480 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,481 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,484 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:44:43,485 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:44:43,485 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:44:43,486 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:44:43,487 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:43" (1/1) ... [2024-11-13 22:44:43,495 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:44:43,524 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:44:43,539 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:44:43,543 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:44:43,579 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-13 22:44:43,579 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-13 22:44:43,580 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-13 22:44:43,580 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-13 22:44:43,580 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:44:43,580 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:44:43,581 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:44:43,581 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:44:43,582 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:44:43,582 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 22:44:43,793 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:44:43,796 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:44:44,070 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-13 22:44:44,070 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:44:44,142 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:44:44,142 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:44:44,143 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:44:44 BoogieIcfgContainer [2024-11-13 22:44:44,143 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:44:44,145 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:44:44,145 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:44:44,158 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:44:44,159 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:44:44" (1/1) ... [2024-11-13 22:44:44,170 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:44:44,223 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:44:44,237 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 40 states and 50 transitions. [2024-11-13 22:44:44,238 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 50 transitions. [2024-11-13 22:44:44,245 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 22:44:44,246 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:44:44,246 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:44:44,388 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:44,581 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:44:44,664 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:44:44,665 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 58 states to 45 states and 58 transitions. [2024-11-13 22:44:44,665 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 58 transitions. [2024-11-13 22:44:44,666 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-13 22:44:44,666 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:44:44,666 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:44:44,699 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:44,827 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:44:44,876 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:44:44,879 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 48 states and 61 transitions. [2024-11-13 22:44:44,880 INFO L276 IsEmpty]: Start isEmpty. Operand 48 states and 61 transitions. [2024-11-13 22:44:44,880 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-13 22:44:44,881 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:44:44,881 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:44:44,931 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:44,995 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:44:45,149 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:44:45,150 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 70 states to 54 states and 70 transitions. [2024-11-13 22:44:45,150 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 70 transitions. [2024-11-13 22:44:45,151 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2024-11-13 22:44:45,151 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:44:45,151 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:44:45,199 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:45,303 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:44:45,372 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:44:45,373 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 74 states to 58 states and 74 transitions. [2024-11-13 22:44:45,373 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 74 transitions. [2024-11-13 22:44:45,374 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2024-11-13 22:44:45,374 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:44:45,374 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:44:45,430 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:44:45,431 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:44:45,462 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:44:45,579 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:44:45,579 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:44:45,603 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:44:45,639 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-11-13 22:44:45,686 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:44:45 ImpRootNode [2024-11-13 22:44:45,686 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:44:45,687 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:44:45,687 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:44:45,687 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:44:45,688 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:44:44" (3/4) ... [2024-11-13 22:44:45,691 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:44:45,692 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:44:45,695 INFO L158 Benchmark]: Toolchain (without parser) took 3805.81ms. Allocated memory is still 117.4MB. Free memory was 87.9MB in the beginning and 44.9MB in the end (delta: 42.9MB). Peak memory consumption was 49.0MB. Max. memory is 16.1GB. [2024-11-13 22:44:45,696 INFO L158 Benchmark]: CDTParser took 0.49ms. Allocated memory is still 83.9MB. Free memory is still 41.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:44:45,696 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1511.85ms. Allocated memory is still 117.4MB. Free memory was 87.9MB in the beginning and 79.0MB in the end (delta: 8.8MB). Peak memory consumption was 66.0MB. Max. memory is 16.1GB. [2024-11-13 22:44:45,697 INFO L158 Benchmark]: Boogie Procedure Inliner took 52.59ms. Allocated memory is still 117.4MB. Free memory was 79.0MB in the beginning and 76.2MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:44:45,697 INFO L158 Benchmark]: Boogie Preprocessor took 29.88ms. Allocated memory is still 117.4MB. Free memory was 76.2MB in the beginning and 74.8MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:44:45,701 INFO L158 Benchmark]: RCFGBuilder took 657.66ms. Allocated memory is still 117.4MB. Free memory was 74.8MB in the beginning and 59.5MB in the end (delta: 15.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:44:45,701 INFO L158 Benchmark]: CodeCheck took 1540.90ms. Allocated memory is still 117.4MB. Free memory was 59.5MB in the beginning and 45.0MB in the end (delta: 14.5MB). Peak memory consumption was 16.5MB. Max. memory is 16.1GB. [2024-11-13 22:44:45,702 INFO L158 Benchmark]: Witness Printer took 5.21ms. Allocated memory is still 117.4MB. Free memory was 45.0MB in the beginning and 44.9MB in the end (delta: 7.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:44:45,707 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 4 procedures, 40 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.5s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 202 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 69 mSDsluCounter, 164 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 56 mSDsCounter, 33 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 148 IncrementalHoareTripleChecker+Invalid, 181 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 33 mSolverCounterUnsat, 108 mSDtfsCounter, 148 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 512 GetRequests, 500 SyntacticMatches, 6 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 4 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 91 NumberOfCodeBlocks, 91 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 68 ConstructedInterpolants, 0 QuantifiedInterpolants, 164 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 8/8 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: 1574]: 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 1597, 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); [L1597] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={4:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1597] 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] [L1598] CALL CWE191_Integer_Underflow__int_fgets_multiply_12_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] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() 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 globalReturnsTrueOrFalse() [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) [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() 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] COND TRUE globalReturnsTrueOrFalse() [L1572] 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] [L1574] 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.49ms. Allocated memory is still 83.9MB. Free memory is still 41.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1511.85ms. Allocated memory is still 117.4MB. Free memory was 87.9MB in the beginning and 79.0MB in the end (delta: 8.8MB). Peak memory consumption was 66.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 52.59ms. Allocated memory is still 117.4MB. Free memory was 79.0MB in the beginning and 76.2MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 29.88ms. Allocated memory is still 117.4MB. Free memory was 76.2MB in the beginning and 74.8MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 657.66ms. Allocated memory is still 117.4MB. Free memory was 74.8MB in the beginning and 59.5MB in the end (delta: 15.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1540.90ms. Allocated memory is still 117.4MB. Free memory was 59.5MB in the beginning and 45.0MB in the end (delta: 14.5MB). Peak memory consumption was 16.5MB. Max. memory is 16.1GB. * Witness Printer took 5.21ms. Allocated memory is still 117.4MB. Free memory was 45.0MB in the beginning and 44.9MB in the end (delta: 7.9kB). 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 22:44:45,743 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/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_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/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_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/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_84bc2dcb-e026-4bea-baa7-90feec400ae9/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 dddfccd8da9f12f34e194b4a9fc4c4f6991db16bc01a02bc13eca415e127610f --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:44:48,754 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:44:48,848 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 22:44:48,904 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:44:48,906 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:44:48,906 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:44:48,907 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:44:48,907 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:44:48,908 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:44:48,908 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:44:48,908 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:44:48,909 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:44:48,909 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:44:48,909 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:44:48,910 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:44:48,910 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:44:48,910 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:44:48,911 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:44:48,911 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:44:48,911 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:44:48,912 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:44:48,912 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:44:48,912 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:44:48,912 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:44:48,912 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:44:48,912 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:44:48,912 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:44:48,913 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:44:48,913 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:44:48,913 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:44:48,913 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:44:48,913 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:44:48,913 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:44:48,913 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:44:48,913 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:44:48,914 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_84bc2dcb-e026-4bea-baa7-90feec400ae9/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 -> dddfccd8da9f12f34e194b4a9fc4c4f6991db16bc01a02bc13eca415e127610f [2024-11-13 22:44:49,228 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:44:49,238 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:44:49,240 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:44:49,242 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:44:49,242 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:44:49,244 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i Unable to find full path for "g++" [2024-11-13 22:44:51,443 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:44:51,834 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:44:51,834 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i [2024-11-13 22:44:51,858 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/data/f4307808f/44929b2e5ebe4f6daaf32d535064f812/FLAGbb6a81301 [2024-11-13 22:44:51,873 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/data/f4307808f/44929b2e5ebe4f6daaf32d535064f812 [2024-11-13 22:44:51,875 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:44:51,876 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:44:51,878 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:44:51,878 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:44:51,882 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:44:51,883 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:44:51" (1/1) ... [2024-11-13 22:44:51,884 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@410e4e6b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:51, skipping insertion in model container [2024-11-13 22:44:51,884 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:44:51" (1/1) ... [2024-11-13 22:44:51,932 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:44:52,876 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:44:52,891 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:44:53,004 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:44:53,186 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:44:53,186 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53 WrapperNode [2024-11-13 22:44:53,187 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:44:53,188 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:44:53,188 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:44:53,188 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:44:53,194 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,216 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,244 INFO L138 Inliner]: procedures = 503, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 81 [2024-11-13 22:44:53,246 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:44:53,247 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:44:53,248 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:44:53,248 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:44:53,254 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,255 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,257 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,258 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,266 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,268 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,270 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,271 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,278 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:44:53,279 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:44:53,279 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:44:53,279 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:44:53,280 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,286 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:44:53,300 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:44:53,311 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:44:53,319 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:44:53,343 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-13 22:44:53,343 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-13 22:44:53,343 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-13 22:44:53,343 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-13 22:44:53,343 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:44:53,344 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:44:53,344 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 22:44:53,344 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:44:53,344 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:44:53,344 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:44:53,509 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:44:53,511 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:44:53,743 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-13 22:44:53,747 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:44:53,808 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:44:53,810 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:44:53,811 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:44:53 BoogieIcfgContainer [2024-11-13 22:44:53,811 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:44:53,812 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:44:53,812 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:44:53,823 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:44:53,823 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:44:53" (1/1) ... [2024-11-13 22:44:53,833 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:44:53,876 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:44:53,886 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 38 states and 48 transitions. [2024-11-13 22:44:53,888 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 48 transitions. [2024-11-13 22:44:53,892 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-13 22:44:53,892 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:44:53,893 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:44:53,893 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:44:53,897 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:44:53,899 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:44:54,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:54,092 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:44:54,135 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:54,137 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 22:44:54,144 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:44:54,222 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:44:54,225 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 22:44:54,308 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:44:54,309 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 55 states to 42 states and 55 transitions. [2024-11-13 22:44:54,309 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 55 transitions. [2024-11-13 22:44:54,309 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-13 22:44:54,310 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:44:54,310 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:44:54,310 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:44:54,312 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:44:54,315 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 22:44:54,460 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:54,461 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:44:54,486 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:54,487 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 22:44:54,489 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:44:54,523 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:44:54,526 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 22:44:54,612 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:44:54,613 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 41 states and 54 transitions. [2024-11-13 22:44:54,613 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 54 transitions. [2024-11-13 22:44:54,614 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-13 22:44:54,614 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:44:54,614 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:44:54,614 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:44:54,619 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:44:54,621 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-13 22:44:54,771 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:54,772 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:44:54,804 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:44:54,806 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 22:44:54,807 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:44:54,818 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:44:54,822 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-13 22:44:54,852 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:44:54,852 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 56 states to 42 states and 56 transitions. [2024-11-13 22:44:54,852 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 56 transitions. [2024-11-13 22:44:54,853 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 22:44:54,853 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:44:54,853 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:44:54,853 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:44:54,857 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:44:54,859 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-13 22:44:55,039 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:44:55,039 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:44:55,144 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:44:55,241 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:44:55,241 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:44:55,266 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:44:55,292 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-13 22:44:55,292 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2024-11-13 22:44:55,336 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:44:55 ImpRootNode [2024-11-13 22:44:55,338 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:44:55,339 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:44:55,339 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:44:55,340 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:44:55,340 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:44:53" (3/4) ... [2024-11-13 22:44:55,343 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:44:55,344 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:44:55,347 INFO L158 Benchmark]: Toolchain (without parser) took 3468.18ms. Allocated memory was 83.9MB in the beginning and 134.2MB in the end (delta: 50.3MB). Free memory was 57.2MB in the beginning and 100.6MB in the end (delta: -43.4MB). Peak memory consumption was 12.5MB. Max. memory is 16.1GB. [2024-11-13 22:44:55,348 INFO L158 Benchmark]: CDTParser took 0.52ms. 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 22:44:55,348 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1309.36ms. Allocated memory is still 83.9MB. Free memory was 56.9MB in the beginning and 50.2MB in the end (delta: 6.7MB). Peak memory consumption was 58.8MB. Max. memory is 16.1GB. [2024-11-13 22:44:55,348 INFO L158 Benchmark]: Boogie Procedure Inliner took 58.93ms. Allocated memory is still 83.9MB. Free memory was 50.2MB in the beginning and 47.5MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:44:55,349 INFO L158 Benchmark]: Boogie Preprocessor took 31.41ms. Allocated memory is still 83.9MB. Free memory was 47.5MB in the beginning and 45.6MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:44:55,349 INFO L158 Benchmark]: RCFGBuilder took 531.75ms. Allocated memory is still 83.9MB. Free memory was 45.6MB in the beginning and 51.6MB in the end (delta: -5.9MB). Peak memory consumption was 26.3MB. Max. memory is 16.1GB. [2024-11-13 22:44:55,349 INFO L158 Benchmark]: CodeCheck took 1526.89ms. Allocated memory was 83.9MB in the beginning and 134.2MB in the end (delta: 50.3MB). Free memory was 51.6MB in the beginning and 100.6MB in the end (delta: -49.1MB). Peak memory consumption was 26.7MB. Max. memory is 16.1GB. [2024-11-13 22:44:55,350 INFO L158 Benchmark]: Witness Printer took 5.00ms. Allocated memory is still 134.2MB. Free memory was 100.6MB in the beginning and 100.6MB in the end (delta: 4.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:44:55,355 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 4 procedures, 38 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.5s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 117 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 15 mSDsluCounter, 85 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 12 mSDsCounter, 18 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 66 IncrementalHoareTripleChecker+Invalid, 84 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 18 mSolverCounterUnsat, 73 mSDtfsCounter, 66 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 357 GetRequests, 350 SyntacticMatches, 1 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 64 NumberOfCodeBlocks, 64 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 44 ConstructedInterpolants, 0 QuantifiedInterpolants, 72 SizeOfPredicates, 0 NumberOfNonLiveVariables, 161 ConjunctsInSsa, 8 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 6/6 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: 1574]: 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 1597, 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); [L1597] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={4:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1597] 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] [L1598] CALL CWE191_Integer_Underflow__int_fgets_multiply_12_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] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() 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 globalReturnsTrueOrFalse() [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) [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1572] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1574] 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.52ms. Allocated memory is still 83.9MB. Free memory is still 65.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1309.36ms. Allocated memory is still 83.9MB. Free memory was 56.9MB in the beginning and 50.2MB in the end (delta: 6.7MB). Peak memory consumption was 58.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 58.93ms. Allocated memory is still 83.9MB. Free memory was 50.2MB in the beginning and 47.5MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 31.41ms. Allocated memory is still 83.9MB. Free memory was 47.5MB in the beginning and 45.6MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 531.75ms. Allocated memory is still 83.9MB. Free memory was 45.6MB in the beginning and 51.6MB in the end (delta: -5.9MB). Peak memory consumption was 26.3MB. Max. memory is 16.1GB. * CodeCheck took 1526.89ms. Allocated memory was 83.9MB in the beginning and 134.2MB in the end (delta: 50.3MB). Free memory was 51.6MB in the beginning and 100.6MB in the end (delta: -49.1MB). Peak memory consumption was 26.7MB. Max. memory is 16.1GB. * Witness Printer took 5.00ms. Allocated memory is still 134.2MB. Free memory was 100.6MB in the beginning and 100.6MB 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 22:44:55,387 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_84bc2dcb-e026-4bea-baa7-90feec400ae9/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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample