./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_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_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/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_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/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_075b4bb7-a43e-49f9-bfdd-206e32e50c57/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 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 16:34:09,090 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 16:34:09,159 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 16:34:09,163 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 16:34:09,164 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 16:34:09,185 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 16:34:09,186 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 16:34:09,186 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 16:34:09,187 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 16:34:09,187 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 16:34:09,187 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 16:34:09,187 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 16:34:09,187 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 16:34:09,187 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 16:34:09,187 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 16:34:09,187 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 16:34:09,187 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 16:34:09,188 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 16:34:09,188 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 16:34:09,188 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 16:34:09,188 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 16:34:09,188 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 16:34:09,188 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 16:34:09,188 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 16:34:09,188 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 16:34:09,189 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 16:34:09,189 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:34:09,189 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 16:34:09,189 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 16:34:09,189 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 16:34:09,189 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 16:34:09,189 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 16:34:09,189 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_075b4bb7-a43e-49f9-bfdd-206e32e50c57/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 -> 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 [2024-11-13 16:34:09,547 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 16:34:09,557 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 16:34:09,560 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 16:34:09,561 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 16:34:09,562 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 16:34:09,563 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i Unable to find full path for "g++" [2024-11-13 16:34:11,578 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 16:34:11,980 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 16:34:11,981 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2024-11-13 16:34:12,014 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/data/c81bd21ca/9f727fd5db69408cb78ced466c861c42/FLAGdf941daf2 [2024-11-13 16:34:12,040 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/data/c81bd21ca/9f727fd5db69408cb78ced466c861c42 [2024-11-13 16:34:12,044 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 16:34:12,046 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 16:34:12,048 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 16:34:12,049 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 16:34:12,054 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 16:34:12,054 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:34:12" (1/1) ... [2024-11-13 16:34:12,055 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@192fa3b1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:12, skipping insertion in model container [2024-11-13 16:34:12,058 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:34:12" (1/1) ... [2024-11-13 16:34:12,119 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 16:34:13,185 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:34:13,198 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 16:34:13,306 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:34:13,471 INFO L204 MainTranslator]: Completed translation [2024-11-13 16:34:13,472 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13 WrapperNode [2024-11-13 16:34:13,472 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 16:34:13,472 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 16:34:13,472 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 16:34:13,473 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 16:34:13,477 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,494 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,516 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 84 [2024-11-13 16:34:13,516 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 16:34:13,517 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 16:34:13,517 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 16:34:13,517 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 16:34:13,525 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,525 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,527 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,527 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,532 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,535 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,536 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,537 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,539 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 16:34:13,540 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 16:34:13,540 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 16:34:13,540 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 16:34:13,541 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:13,547 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:34:13,560 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 16:34:13,576 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 16:34:13,580 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 16:34:13,607 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 16:34:13,608 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 16:34:13,608 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 16:34:13,608 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 16:34:13,608 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 16:34:13,608 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 16:34:13,770 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 16:34:13,772 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 16:34:13,940 INFO L? ?]: Removed 27 outVars from TransFormulas that were not future-live. [2024-11-13 16:34:13,940 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 16:34:13,985 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 16:34:13,985 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 16:34:13,985 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:34:13 BoogieIcfgContainer [2024-11-13 16:34:13,986 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 16:34:13,986 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 16:34:13,986 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 16:34:13,998 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 16:34:13,999 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:34:13" (1/1) ... [2024-11-13 16:34:14,008 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 16:34:14,058 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:14,069 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 26 states and 30 transitions. [2024-11-13 16:34:14,070 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 30 transitions. [2024-11-13 16:34:14,075 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 16:34:14,075 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:14,076 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:34:14,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:14,298 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:34:14,342 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:14,345 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 27 states and 32 transitions. [2024-11-13 16:34:14,345 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 32 transitions. [2024-11-13 16:34:14,345 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:34:14,345 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:14,345 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:34:14,409 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:14,619 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:34:14,684 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:14,687 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 30 states and 37 transitions. [2024-11-13 16:34:14,687 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 37 transitions. [2024-11-13 16:34:14,687 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 16:34:14,687 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:14,688 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:34:14,727 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:14,829 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:34:14,854 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:14,855 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 31 states and 38 transitions. [2024-11-13 16:34:14,856 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 38 transitions. [2024-11-13 16:34:14,856 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 16:34:14,856 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:14,857 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:34:14,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:14,952 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 16:34:14,972 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:14,972 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 33 states and 40 transitions. [2024-11-13 16:34:14,972 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 40 transitions. [2024-11-13 16:34:14,973 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 16:34:14,973 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:14,973 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:34:14,998 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:15,066 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:34:15,387 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:15,388 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 39 states and 51 transitions. [2024-11-13 16:34:15,388 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 51 transitions. [2024-11-13 16:34:15,389 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 16:34:15,389 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:15,389 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:34:15,425 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:15,502 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 3 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:34:15,654 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:15,655 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 40 states and 52 transitions. [2024-11-13 16:34:15,655 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 52 transitions. [2024-11-13 16:34:15,655 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 16:34:15,655 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:15,656 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:34:15,676 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:34:15,677 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:34:15,686 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:34:15,762 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:34:15,762 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:34:15,777 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:34:15,803 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 7 iterations. [2024-11-13 16:34:15,848 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 04:34:15 ImpRootNode [2024-11-13 16:34:15,848 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 16:34:15,852 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 16:34:15,852 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 16:34:15,852 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 16:34:15,853 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:34:13" (3/4) ... [2024-11-13 16:34:15,856 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 16:34:15,856 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 16:34:15,858 INFO L158 Benchmark]: Toolchain (without parser) took 3811.51ms. Allocated memory is still 117.4MB. Free memory was 88.5MB in the beginning and 55.9MB in the end (delta: 32.6MB). Peak memory consumption was 32.9MB. Max. memory is 16.1GB. [2024-11-13 16:34:15,858 INFO L158 Benchmark]: CDTParser took 0.40ms. Allocated memory is still 83.9MB. Free memory was 41.9MB in the beginning and 41.9MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:34:15,858 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1423.58ms. Allocated memory is still 117.4MB. Free memory was 88.5MB in the beginning and 79.0MB in the end (delta: 9.5MB). Peak memory consumption was 66.1MB. Max. memory is 16.1GB. [2024-11-13 16:34:15,859 INFO L158 Benchmark]: Boogie Procedure Inliner took 44.16ms. 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 16:34:15,861 INFO L158 Benchmark]: Boogie Preprocessor took 22.51ms. Allocated memory is still 117.4MB. Free memory was 76.2MB in the beginning and 75.5MB in the end (delta: 695.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:34:15,862 INFO L158 Benchmark]: RCFGBuilder took 445.56ms. Allocated memory is still 117.4MB. Free memory was 75.5MB in the beginning and 60.3MB in the end (delta: 15.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 16:34:15,863 INFO L158 Benchmark]: CodeCheck took 1861.45ms. Allocated memory is still 117.4MB. Free memory was 60.3MB in the beginning and 55.9MB in the end (delta: 4.4MB). Peak memory consumption was 334.8kB. Max. memory is 16.1GB. [2024-11-13 16:34:15,863 INFO L158 Benchmark]: Witness Printer took 4.66ms. Allocated memory is still 117.4MB. Free memory was 55.9MB in the beginning and 55.9MB in the end (delta: 7.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:34:15,867 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 26 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.8s, OverallIterations: 7, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 200 SdHoareTripleChecker+Valid, 0.5s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 52 mSDsluCounter, 146 SdHoareTripleChecker+Invalid, 0.4s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 44 mSDsCounter, 50 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 186 IncrementalHoareTripleChecker+Invalid, 236 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 50 mSolverCounterUnsat, 102 mSDtfsCounter, 186 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 504 GetRequests, 480 SyntacticMatches, 0 SemanticMatches, 24 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 151 ImplicationChecksByTransitivity, 0.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 81 NumberOfCodeBlocks, 81 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 61 ConstructedInterpolants, 0 QuantifiedInterpolants, 129 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 6 InterpolantComputations, 5 PerfectInterpolantSequences, 6/7 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of large string literal at line 1578, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1578] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1578] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1579] CALL CWE190_Integer_Overflow__int_fgets_add_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 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, i=0] [L1553] COND TRUE i < 1 [L1556] 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, i=0] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1553] i++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND TRUE j < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1570] data + 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.40ms. Allocated memory is still 83.9MB. Free memory was 41.9MB in the beginning and 41.9MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1423.58ms. Allocated memory is still 117.4MB. Free memory was 88.5MB in the beginning and 79.0MB in the end (delta: 9.5MB). Peak memory consumption was 66.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 44.16ms. 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 22.51ms. Allocated memory is still 117.4MB. Free memory was 76.2MB in the beginning and 75.5MB in the end (delta: 695.5kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 445.56ms. Allocated memory is still 117.4MB. Free memory was 75.5MB in the beginning and 60.3MB in the end (delta: 15.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1861.45ms. Allocated memory is still 117.4MB. Free memory was 60.3MB in the beginning and 55.9MB in the end (delta: 4.4MB). Peak memory consumption was 334.8kB. Max. memory is 16.1GB. * Witness Printer took 4.66ms. Allocated memory is still 117.4MB. Free memory was 55.9MB in the beginning and 55.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 16:34:15,905 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/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_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/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_075b4bb7-a43e-49f9-bfdd-206e32e50c57/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 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 16:34:18,754 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 16:34:18,936 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 16:34:19,008 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 16:34:19,011 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 16:34:19,011 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 16:34:19,012 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 16:34:19,012 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 16:34:19,013 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 16:34:19,013 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 16:34:19,013 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 16:34:19,014 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 16:34:19,015 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 16:34:19,015 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 16:34:19,015 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 16:34:19,015 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 16:34:19,015 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 16:34:19,016 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 16:34:19,016 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 16:34:19,016 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 16:34:19,016 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 16:34:19,016 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 16:34:19,016 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 16:34:19,017 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 16:34:19,017 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 16:34:19,017 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 16:34:19,018 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 16:34:19,018 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 16:34:19,018 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:34:19,018 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 16:34:19,018 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 16:34:19,018 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 16:34:19,019 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 16:34:19,019 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 16:34:19,019 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 16:34:19,020 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_075b4bb7-a43e-49f9-bfdd-206e32e50c57/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 -> 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 [2024-11-13 16:34:19,332 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 16:34:19,343 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 16:34:19,346 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 16:34:19,347 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 16:34:19,348 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 16:34:19,349 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i Unable to find full path for "g++" [2024-11-13 16:34:21,370 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 16:34:21,816 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 16:34:21,817 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2024-11-13 16:34:21,865 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/data/be83156ab/b19ac2abea5b49a3bf2f9933ac59fd0a/FLAG238aea81c [2024-11-13 16:34:21,890 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/data/be83156ab/b19ac2abea5b49a3bf2f9933ac59fd0a [2024-11-13 16:34:21,893 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 16:34:21,895 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 16:34:21,897 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 16:34:21,897 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 16:34:21,902 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 16:34:21,903 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:34:21" (1/1) ... [2024-11-13 16:34:21,904 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@b42cb7e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:21, skipping insertion in model container [2024-11-13 16:34:21,904 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:34:21" (1/1) ... [2024-11-13 16:34:21,980 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 16:34:22,959 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:34:22,972 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 16:34:23,073 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:34:23,230 INFO L204 MainTranslator]: Completed translation [2024-11-13 16:34:23,230 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23 WrapperNode [2024-11-13 16:34:23,231 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 16:34:23,231 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 16:34:23,232 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 16:34:23,232 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 16:34:23,238 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,261 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,285 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 83 [2024-11-13 16:34:23,285 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 16:34:23,286 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 16:34:23,286 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 16:34:23,286 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 16:34:23,294 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,294 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,298 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,298 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,317 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,323 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,326 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,327 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,331 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 16:34:23,332 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 16:34:23,332 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 16:34:23,332 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 16:34:23,333 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,339 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:34:23,352 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 16:34:23,362 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 16:34:23,365 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 16:34:23,386 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 16:34:23,387 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 16:34:23,387 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 16:34:23,387 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 16:34:23,387 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 16:34:23,387 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 16:34:23,563 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 16:34:23,565 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 16:34:23,807 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-13 16:34:23,808 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 16:34:23,863 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 16:34:23,864 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 16:34:23,864 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:34:23 BoogieIcfgContainer [2024-11-13 16:34:23,864 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 16:34:23,865 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 16:34:23,865 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 16:34:23,877 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 16:34:23,877 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:34:23" (1/1) ... [2024-11-13 16:34:23,885 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 16:34:23,931 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:23,943 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 26 states and 30 transitions. [2024-11-13 16:34:23,943 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 30 transitions. [2024-11-13 16:34:23,948 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 16:34:23,949 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:23,949 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:34:23,950 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:34:23,953 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:34:23,955 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 16:34:24,141 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:24,148 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 16:34:24,183 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:24,185 INFO L255 TraceCheckSpWp]: Trace formula consists of 37 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 16:34:24,188 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 16:34:24,210 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:34:24,214 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-13 16:34:24,244 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:24,246 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 25 states and 29 transitions. [2024-11-13 16:34:24,246 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 29 transitions. [2024-11-13 16:34:24,247 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:34:24,247 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:24,249 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:34:24,249 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:34:24,252 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:34:24,255 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 16:34:24,395 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:24,396 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 16:34:24,440 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:24,441 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 16:34:24,442 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 16:34:24,445 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:34:24,449 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2024-11-13 16:34:24,453 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:24,454 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 24 states and 28 transitions. [2024-11-13 16:34:24,454 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 28 transitions. [2024-11-13 16:34:24,454 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:34:24,455 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:24,455 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:34:24,455 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:34:24,457 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:34:24,460 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-13 16:34:24,599 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:24,599 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 16:34:24,629 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:24,630 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 16:34:24,631 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 16:34:24,662 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:34:24,665 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-13 16:34:24,723 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:24,723 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 28 states and 36 transitions. [2024-11-13 16:34:24,723 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 36 transitions. [2024-11-13 16:34:24,725 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 16:34:24,725 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:24,725 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:34:24,725 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:34:24,727 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:34:24,730 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-13 16:34:24,881 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:24,881 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 16:34:24,928 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:24,930 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 16:34:24,932 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 16:34:24,990 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:34:24,994 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Forceful destruction successful, exit code 0 [2024-11-13 16:34:25,179 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:25,179 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 33 states and 46 transitions. [2024-11-13 16:34:25,179 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 46 transitions. [2024-11-13 16:34:25,180 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 16:34:25,180 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:25,181 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:34:25,181 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:34:25,183 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:34:25,186 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-13 16:34:25,326 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:25,326 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 16:34:25,363 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:34:25,366 INFO L255 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 16:34:25,367 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 16:34:25,398 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 16:34:25,401 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2024-11-13 16:34:25,434 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:34:25,434 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 35 states and 48 transitions. [2024-11-13 16:34:25,434 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 48 transitions. [2024-11-13 16:34:25,435 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 16:34:25,435 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:34:25,435 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 16:34:25,435 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 16:34:25,440 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 16:34:25,441 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-13 16:34:25,615 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:34:25,615 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:34:25,676 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:34:25,769 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:34:25,769 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 16:34:25,788 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 16:34:25,821 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (7)] Ended with exit code 0 [2024-11-13 16:34:25,822 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-13 16:34:25,865 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 04:34:25 ImpRootNode [2024-11-13 16:34:25,865 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 16:34:25,866 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 16:34:25,866 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 16:34:25,867 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 16:34:25,867 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:34:23" (3/4) ... [2024-11-13 16:34:25,870 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 16:34:25,871 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 16:34:25,874 INFO L158 Benchmark]: Toolchain (without parser) took 3977.42ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 88.5MB in the beginning and 213.7MB in the end (delta: -125.2MB). Peak memory consumption was 16.5MB. Max. memory is 16.1GB. [2024-11-13 16:34:25,874 INFO L158 Benchmark]: CDTParser took 0.38ms. Allocated memory is still 117.4MB. Free memory is still 82.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:34:25,875 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1334.31ms. Allocated memory is still 117.4MB. Free memory was 88.3MB in the beginning and 66.7MB in the end (delta: 21.6MB). Peak memory consumption was 58.4MB. Max. memory is 16.1GB. [2024-11-13 16:34:25,876 INFO L158 Benchmark]: Boogie Procedure Inliner took 53.87ms. Allocated memory is still 117.4MB. Free memory was 66.7MB in the beginning and 64.2MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:34:25,877 INFO L158 Benchmark]: Boogie Preprocessor took 45.06ms. Allocated memory is still 117.4MB. Free memory was 64.2MB in the beginning and 62.1MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:34:25,878 INFO L158 Benchmark]: RCFGBuilder took 532.50ms. Allocated memory is still 117.4MB. Free memory was 62.1MB in the beginning and 44.0MB in the end (delta: 18.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 16:34:25,878 INFO L158 Benchmark]: CodeCheck took 2000.42ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 44.0MB in the beginning and 213.7MB in the end (delta: -169.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:34:25,878 INFO L158 Benchmark]: Witness Printer took 4.86ms. Allocated memory is still 260.0MB. Free memory was 213.7MB in the beginning and 213.7MB in the end (delta: 42.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:34:25,880 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 26 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.9s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 194 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 34 mSDsluCounter, 134 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 30 mSDsCounter, 18 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 112 IncrementalHoareTripleChecker+Invalid, 130 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 18 mSolverCounterUnsat, 104 mSDtfsCounter, 112 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 401 GetRequests, 391 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 64 NumberOfCodeBlocks, 64 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 45 ConstructedInterpolants, 0 QuantifiedInterpolants, 77 SizeOfPredicates, 0 NumberOfNonLiveVariables, 245 ConjunctsInSsa, 10 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 PerfectInterpolantSequences, 2/2 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of large string literal at line 1578, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1578] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1578] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1579] CALL CWE190_Integer_Overflow__int_fgets_add_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 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, i=0] [L1553] COND TRUE i < 1 [L1556] 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, i=0] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1553] i++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND TRUE j < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1570] data + 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] * 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 82.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1334.31ms. Allocated memory is still 117.4MB. Free memory was 88.3MB in the beginning and 66.7MB in the end (delta: 21.6MB). Peak memory consumption was 58.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 53.87ms. Allocated memory is still 117.4MB. Free memory was 66.7MB in the beginning and 64.2MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 45.06ms. Allocated memory is still 117.4MB. Free memory was 64.2MB in the beginning and 62.1MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 532.50ms. Allocated memory is still 117.4MB. Free memory was 62.1MB in the beginning and 44.0MB in the end (delta: 18.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * CodeCheck took 2000.42ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 44.0MB in the beginning and 213.7MB in the end (delta: -169.8MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.86ms. Allocated memory is still 260.0MB. Free memory was 213.7MB in the beginning and 213.7MB in the end (delta: 42.6kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 16:34:25,916 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_075b4bb7-a43e-49f9-bfdd-206e32e50c57/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample