./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 d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/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_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3 --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-d790fec [2024-11-25 04:36:22,667 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 04:36:22,755 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-25 04:36:22,765 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-25 04:36:22,766 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-25 04:36:22,797 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 04:36:22,798 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-25 04:36:22,799 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-25 04:36:22,799 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 04:36:22,799 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 04:36:22,800 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 04:36:22,800 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 04:36:22,800 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-25 04:36:22,800 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 04:36:22,800 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 04:36:22,800 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 04:36:22,800 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 04:36:22,801 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-25 04:36:22,801 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-25 04:36:22,801 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 04:36:22,801 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 04:36:22,801 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 04:36:22,801 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 04:36:22,802 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 04:36:22,802 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 04:36:22,802 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 04:36:22,802 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:36:22,802 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 04:36:22,802 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 04:36:22,803 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-25 04:36:22,803 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-25 04:36:22,803 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-25 04:36:22,803 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_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3 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-25 04:36:23,210 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 04:36:23,224 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 04:36:23,229 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 04:36:23,230 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 04:36:23,231 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 04:36:23,235 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i [2024-11-25 04:36:26,938 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data/5fb1755c5/c7fc9c04f6be4fabae03eee605dc8065/FLAG684f69021 [2024-11-25 04:36:27,539 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 04:36:27,540 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i [2024-11-25 04:36:27,586 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data/5fb1755c5/c7fc9c04f6be4fabae03eee605dc8065/FLAG684f69021 [2024-11-25 04:36:27,616 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data/5fb1755c5/c7fc9c04f6be4fabae03eee605dc8065 [2024-11-25 04:36:27,620 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 04:36:27,624 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 04:36:27,626 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 04:36:27,626 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 04:36:27,636 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 04:36:27,637 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:36:27" (1/1) ... [2024-11-25 04:36:27,638 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1d38d7d5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:27, skipping insertion in model container [2024-11-25 04:36:27,639 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:36:27" (1/1) ... [2024-11-25 04:36:27,732 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 04:36:28,835 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:36:28,854 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 04:36:29,022 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:36:29,256 INFO L204 MainTranslator]: Completed translation [2024-11-25 04:36:29,257 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29 WrapperNode [2024-11-25 04:36:29,258 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 04:36:29,259 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 04:36:29,260 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 04:36:29,260 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 04:36:29,271 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,309 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,349 INFO L138 Inliner]: procedures = 498, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 76 [2024-11-25 04:36:29,350 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 04:36:29,351 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 04:36:29,351 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 04:36:29,351 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 04:36:29,361 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,361 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,364 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,368 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,379 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,383 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,389 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,391 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,396 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,399 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 04:36:29,403 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 04:36:29,403 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 04:36:29,403 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 04:36:29,404 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:29" (1/1) ... [2024-11-25 04:36:29,419 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:36:29,442 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 04:36:29,461 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 04:36:29,467 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 04:36:29,505 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-25 04:36:29,505 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-25 04:36:29,505 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-25 04:36:29,506 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-25 04:36:29,506 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-25 04:36:29,506 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-25 04:36:29,506 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 04:36:29,506 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 04:36:29,507 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 04:36:29,509 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-25 04:36:29,737 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 04:36:29,740 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 04:36:29,944 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-25 04:36:29,944 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 04:36:30,007 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 04:36:30,007 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-25 04:36:30,008 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:30 BoogieIcfgContainer [2024-11-25 04:36:30,008 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 04:36:30,009 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 04:36:30,009 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 04:36:30,023 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 04:36:30,023 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:30" (1/1) ... [2024-11-25 04:36:30,033 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 04:36:30,089 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:30,104 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 38 states and 48 transitions. [2024-11-25 04:36:30,106 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 48 transitions. [2024-11-25 04:36:30,112 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-25 04:36:30,112 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:30,114 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:30,308 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:30,552 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-25 04:36:30,678 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:30,679 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 56 states to 43 states and 56 transitions. [2024-11-25 04:36:30,680 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 56 transitions. [2024-11-25 04:36:30,680 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-25 04:36:30,680 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:30,681 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:30,717 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:30,820 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-25 04:36:30,880 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:30,881 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 59 states to 46 states and 59 transitions. [2024-11-25 04:36:30,882 INFO L276 IsEmpty]: Start isEmpty. Operand 46 states and 59 transitions. [2024-11-25 04:36:30,883 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-25 04:36:30,883 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:30,883 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:30,965 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:31,087 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-25 04:36:31,230 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:31,231 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 68 states to 52 states and 68 transitions. [2024-11-25 04:36:31,232 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 68 transitions. [2024-11-25 04:36:31,233 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2024-11-25 04:36:31,234 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:31,234 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-25 04:36:31,321 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:31,321 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 04:36:31,350 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:31,480 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:31,480 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 04:36:31,508 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:31,545 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2024-11-25 04:36:31,603 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 04:36:31 ImpRootNode [2024-11-25 04:36:31,604 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 04:36:31,605 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 04:36:31,605 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 04:36:31,605 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 04:36:31,606 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:30" (3/4) ... [2024-11-25 04:36:31,610 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-25 04:36:31,611 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 04:36:31,612 INFO L158 Benchmark]: Toolchain (without parser) took 3988.51ms. Allocated memory is still 117.4MB. Free memory was 89.1MB in the beginning and 63.4MB in the end (delta: 25.7MB). Peak memory consumption was 33.2MB. Max. memory is 16.1GB. [2024-11-25 04:36:31,615 INFO L158 Benchmark]: CDTParser took 0.55ms. Allocated memory is still 117.4MB. Free memory is still 74.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:31,616 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1632.67ms. Allocated memory is still 117.4MB. Free memory was 88.9MB in the beginning and 79.4MB in the end (delta: 9.5MB). Peak memory consumption was 66.4MB. Max. memory is 16.1GB. [2024-11-25 04:36:31,616 INFO L158 Benchmark]: Boogie Procedure Inliner took 91.04ms. Allocated memory is still 117.4MB. Free memory was 79.4MB in the beginning and 76.7MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:31,617 INFO L158 Benchmark]: Boogie Preprocessor took 51.33ms. Allocated memory is still 117.4MB. Free memory was 76.7MB in the beginning and 75.7MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:31,617 INFO L158 Benchmark]: RCFGBuilder took 605.48ms. Allocated memory is still 117.4MB. Free memory was 75.7MB in the beginning and 60.6MB in the end (delta: 15.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-25 04:36:31,617 INFO L158 Benchmark]: CodeCheck took 1594.75ms. Allocated memory is still 117.4MB. Free memory was 60.6MB in the beginning and 63.4MB in the end (delta: -2.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:31,618 INFO L158 Benchmark]: Witness Printer took 6.19ms. Allocated memory is still 117.4MB. Free memory was 63.4MB in the beginning and 63.4MB in the end (delta: 13.7kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-25 04:36:31,624 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, 138 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 39 mSDsluCounter, 114 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 34 mSDsCounter, 20 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 86 IncrementalHoareTripleChecker+Invalid, 106 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 20 mSolverCounterUnsat, 80 mSDtfsCounter, 86 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 372 GetRequests, 363 SyntacticMatches, 3 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, 72 NumberOfCodeBlocks, 72 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 50 ConstructedInterpolants, 0 QuantifiedInterpolants, 118 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 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, ConComCheckerStatistics: 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 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.55ms. Allocated memory is still 117.4MB. Free memory is still 74.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1632.67ms. Allocated memory is still 117.4MB. Free memory was 88.9MB in the beginning and 79.4MB in the end (delta: 9.5MB). Peak memory consumption was 66.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 91.04ms. Allocated memory is still 117.4MB. Free memory was 79.4MB in the beginning and 76.7MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 51.33ms. Allocated memory is still 117.4MB. Free memory was 76.7MB in the beginning and 75.7MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 605.48ms. Allocated memory is still 117.4MB. Free memory was 75.7MB in the beginning and 60.6MB in the end (delta: 15.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1594.75ms. Allocated memory is still 117.4MB. Free memory was 60.6MB in the beginning and 63.4MB in the end (delta: -2.8MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.19ms. Allocated memory is still 117.4MB. Free memory was 63.4MB in the beginning and 63.4MB in the end (delta: 13.7kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-25 04:36:31,655 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/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_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/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_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3 --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-d790fec [2024-11-25 04:36:34,882 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-25 04:36:35,015 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-25 04:36:35,107 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-25 04:36:35,108 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-25 04:36:35,108 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-25 04:36:35,109 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-25 04:36:35,109 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-25 04:36:35,109 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-25 04:36:35,110 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-25 04:36:35,110 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-25 04:36:35,110 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-25 04:36:35,110 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-25 04:36:35,110 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-25 04:36:35,111 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-25 04:36:35,111 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-25 04:36:35,111 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-25 04:36:35,111 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-25 04:36:35,111 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-25 04:36:35,111 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-25 04:36:35,112 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-25 04:36:35,112 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-25 04:36:35,112 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-25 04:36:35,112 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-25 04:36:35,112 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-25 04:36:35,112 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:35,112 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-25 04:36:35,113 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-25 04:36:35,113 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:36:35,113 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-25 04:36:35,113 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-25 04:36:35,113 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-25 04:36:35,113 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-25 04:36:35,114 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:35,114 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-25 04:36:35,114 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_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3 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-25 04:36:35,534 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-25 04:36:35,545 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-25 04:36:35,548 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-25 04:36:35,551 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-25 04:36:35,551 INFO L274 PluginConnector]: CDTParser initialized [2024-11-25 04:36:35,552 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i [2024-11-25 04:36:39,061 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data/639b46264/901d79ea9f504950b281d9d6ef721a5a/FLAG5ec08eba0 [2024-11-25 04:36:39,725 INFO L384 CDTParser]: Found 1 translation units. [2024-11-25 04:36:39,728 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_12_bad.i [2024-11-25 04:36:39,771 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data/639b46264/901d79ea9f504950b281d9d6ef721a5a/FLAG5ec08eba0 [2024-11-25 04:36:39,800 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/data/639b46264/901d79ea9f504950b281d9d6ef721a5a [2024-11-25 04:36:39,803 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-25 04:36:39,805 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-25 04:36:39,809 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-25 04:36:39,810 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-25 04:36:39,817 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-25 04:36:39,818 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:36:39" (1/1) ... [2024-11-25 04:36:39,821 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4b8c7869 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:39, skipping insertion in model container [2024-11-25 04:36:39,822 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 04:36:39" (1/1) ... [2024-11-25 04:36:39,899 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-25 04:36:41,284 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:36:41,300 INFO L200 MainTranslator]: Completed pre-run [2024-11-25 04:36:41,434 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-25 04:36:41,618 INFO L204 MainTranslator]: Completed translation [2024-11-25 04:36:41,618 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41 WrapperNode [2024-11-25 04:36:41,619 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-25 04:36:41,620 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-25 04:36:41,620 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-25 04:36:41,620 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-25 04:36:41,630 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,676 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,706 INFO L138 Inliner]: procedures = 503, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 73 [2024-11-25 04:36:41,707 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-25 04:36:41,708 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-25 04:36:41,708 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-25 04:36:41,708 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-25 04:36:41,716 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,717 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,720 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,721 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,730 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,731 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,733 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,736 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,738 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,741 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-25 04:36:41,742 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-25 04:36:41,743 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-25 04:36:41,743 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-25 04:36:41,744 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 04:36:41" (1/1) ... [2024-11-25 04:36:41,753 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-25 04:36:41,769 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/z3 [2024-11-25 04:36:41,787 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-25 04:36:41,790 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-25 04:36:41,814 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-25 04:36:41,814 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-25 04:36:41,814 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-25 04:36:41,815 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-25 04:36:41,815 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-25 04:36:41,815 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-25 04:36:41,815 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-25 04:36:41,815 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-25 04:36:41,815 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-25 04:36:41,815 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-25 04:36:42,030 INFO L234 CfgBuilder]: Building ICFG [2024-11-25 04:36:42,033 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-25 04:36:42,266 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-25 04:36:42,266 INFO L283 CfgBuilder]: Performing block encoding [2024-11-25 04:36:42,337 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-25 04:36:42,338 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-25 04:36:42,338 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:42 BoogieIcfgContainer [2024-11-25 04:36:42,338 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-25 04:36:42,339 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-25 04:36:42,339 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-25 04:36:42,351 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-25 04:36:42,352 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:42" (1/1) ... [2024-11-25 04:36:42,360 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-25 04:36:42,411 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:42,422 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 36 states and 46 transitions. [2024-11-25 04:36:42,423 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 46 transitions. [2024-11-25 04:36:42,428 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-25 04:36:42,429 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:42,431 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:42,431 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:42,434 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:42,439 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-25 04:36:42,717 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:42,721 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 04:36:42,784 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:42,788 INFO L256 TraceCheckSpWp]: Trace formula consists of 51 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-25 04:36:42,795 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 04:36:42,888 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-25 04:36:42,894 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-25 04:36:42,991 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:42,992 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 40 states and 53 transitions. [2024-11-25 04:36:42,994 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 53 transitions. [2024-11-25 04:36:42,995 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-25 04:36:42,995 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:42,995 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:42,995 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:42,998 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:43,001 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-25 04:36:43,157 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:43,158 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 04:36:43,194 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:43,195 INFO L256 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-25 04:36:43,197 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 04:36:43,244 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-25 04:36:43,248 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-25 04:36:43,336 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:43,337 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 39 states and 52 transitions. [2024-11-25 04:36:43,337 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 52 transitions. [2024-11-25 04:36:43,338 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-25 04:36:43,338 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:43,339 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:43,339 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:43,342 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:43,345 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-25 04:36:43,504 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:43,504 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-25 04:36:43,545 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-25 04:36:43,546 INFO L256 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-25 04:36:43,548 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-25 04:36:43,561 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-25 04:36:43,565 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2024-11-25 04:36:43,606 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-25 04:36:43,607 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 40 states and 54 transitions. [2024-11-25 04:36:43,608 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 54 transitions. [2024-11-25 04:36:43,609 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-25 04:36:43,609 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-25 04:36:43,609 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-25 04:36:43,610 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 [2024-11-25 04:36:43,612 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-25 04:36:43,616 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-25 04:36:43,820 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:43,821 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 04:36:43,915 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:44,016 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:44,016 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-25 04:36:44,040 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-25 04:36:44,068 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-25 04:36:44,069 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2024-11-25 04:36:44,112 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 25.11 04:36:44 ImpRootNode [2024-11-25 04:36:44,112 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-25 04:36:44,113 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-25 04:36:44,113 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-25 04:36:44,113 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-25 04:36:44,114 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 04:36:42" (3/4) ... [2024-11-25 04:36:44,118 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-25 04:36:44,119 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-25 04:36:44,120 INFO L158 Benchmark]: Toolchain (without parser) took 4315.27ms. Allocated memory is still 117.4MB. Free memory was 88.8MB in the beginning and 44.6MB in the end (delta: 44.2MB). Peak memory consumption was 49.7MB. Max. memory is 16.1GB. [2024-11-25 04:36:44,121 INFO L158 Benchmark]: CDTParser took 0.38ms. Allocated memory is still 117.4MB. Free memory is still 83.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:44,121 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1810.84ms. Allocated memory is still 117.4MB. Free memory was 88.6MB in the beginning and 66.9MB in the end (delta: 21.7MB). Peak memory consumption was 58.1MB. Max. memory is 16.1GB. [2024-11-25 04:36:44,122 INFO L158 Benchmark]: Boogie Procedure Inliner took 87.07ms. Allocated memory is still 117.4MB. Free memory was 66.9MB in the beginning and 64.0MB in the end (delta: 2.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:44,122 INFO L158 Benchmark]: Boogie Preprocessor took 34.20ms. Allocated memory is still 117.4MB. Free memory was 64.0MB in the beginning and 62.5MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:44,122 INFO L158 Benchmark]: RCFGBuilder took 595.98ms. Allocated memory is still 117.4MB. Free memory was 62.5MB in the beginning and 44.8MB in the end (delta: 17.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-25 04:36:44,123 INFO L158 Benchmark]: CodeCheck took 1772.70ms. Allocated memory is still 117.4MB. Free memory was 44.8MB in the beginning and 44.6MB in the end (delta: 151.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:44,123 INFO L158 Benchmark]: Witness Printer took 6.47ms. Allocated memory is still 117.4MB. Free memory was 44.6MB in the beginning and 44.6MB in the end (delta: 27.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-25 04:36:44,125 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, 36 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.7s, 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.2s InterpolantComputationTime, 64 NumberOfCodeBlocks, 64 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 44 ConstructedInterpolants, 0 QuantifiedInterpolants, 72 SizeOfPredicates, 0 NumberOfNonLiveVariables, 155 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, ConComCheckerStatistics: 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 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.38ms. Allocated memory is still 117.4MB. Free memory is still 83.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1810.84ms. Allocated memory is still 117.4MB. Free memory was 88.6MB in the beginning and 66.9MB in the end (delta: 21.7MB). Peak memory consumption was 58.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 87.07ms. Allocated memory is still 117.4MB. Free memory was 66.9MB in the beginning and 64.0MB in the end (delta: 2.9MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 34.20ms. Allocated memory is still 117.4MB. Free memory was 64.0MB in the beginning and 62.5MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 595.98ms. Allocated memory is still 117.4MB. Free memory was 62.5MB in the beginning and 44.8MB in the end (delta: 17.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * CodeCheck took 1772.70ms. Allocated memory is still 117.4MB. Free memory was 44.8MB in the beginning and 44.6MB in the end (delta: 151.3kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.47ms. Allocated memory is still 117.4MB. Free memory was 44.6MB in the beginning and 44.6MB in the end (delta: 27.7kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-25 04:36:44,146 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1da4ff3a-3c76-4438-bece-b1912b5377bc/bin/ukojak-verify-ENZ3QT5qd3/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