./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_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_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/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_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/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_de441d21-db28-40e5-9832-7a17ab16410d/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 9273d609dec5d79d143f17efc5d0dc149e682003f6d792ebfd2d77decf068395 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:55:25,714 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:55:25,823 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 20:55:25,831 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 20:55:25,831 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 20:55:25,869 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:55:25,871 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:55:25,871 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:55:25,872 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:55:25,873 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:55:25,874 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:55:25,874 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:55:25,874 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 20:55:25,874 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:55:25,874 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:55:25,874 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:55:25,874 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:55:25,875 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:55:25,875 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:55:25,875 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:55:25,875 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:55:25,875 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:55:25,875 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:55:25,875 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:55:25,876 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:55:25,876 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:55:25,876 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:55:25,876 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:55:25,876 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:55:25,877 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:55:25,877 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 20:55:25,877 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 20:55:25,877 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_de441d21-db28-40e5-9832-7a17ab16410d/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 -> 9273d609dec5d79d143f17efc5d0dc149e682003f6d792ebfd2d77decf068395 [2024-11-13 20:55:26,198 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:55:26,206 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:55:26,208 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:55:26,210 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:55:26,210 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:55:26,212 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i Unable to find full path for "g++" [2024-11-13 20:55:28,087 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:55:28,519 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:55:28,519 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i [2024-11-13 20:55:28,553 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/data/d89fe7399/0cd3e1f26ba94819be22cfd90d910fc7/FLAG09199ac06 [2024-11-13 20:55:28,567 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/data/d89fe7399/0cd3e1f26ba94819be22cfd90d910fc7 [2024-11-13 20:55:28,569 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:55:28,571 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:55:28,572 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:55:28,573 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:55:28,577 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:55:28,577 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:55:28" (1/1) ... [2024-11-13 20:55:28,578 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@71609186 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:28, skipping insertion in model container [2024-11-13 20:55:28,579 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:55:28" (1/1) ... [2024-11-13 20:55:28,633 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:55:29,564 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:55:29,579 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:55:29,738 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:55:29,893 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:55:29,893 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29 WrapperNode [2024-11-13 20:55:29,893 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:55:29,894 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:55:29,894 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:55:29,894 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:55:29,900 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,918 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,938 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 87 [2024-11-13 20:55:29,939 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:55:29,939 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:55:29,939 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:55:29,939 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:55:29,947 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,947 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,949 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,949 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,954 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,957 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,959 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,960 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,962 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:55:29,963 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:55:29,963 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:55:29,963 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:55:29,964 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:29" (1/1) ... [2024-11-13 20:55:29,969 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:55:29,984 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:55:30,006 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:55:30,015 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:55:30,040 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:55:30,040 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:55:30,040 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:55:30,040 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:55:30,040 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:55:30,041 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 20:55:30,209 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:55:30,211 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:55:30,413 INFO L? ?]: Removed 27 outVars from TransFormulas that were not future-live. [2024-11-13 20:55:30,414 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:55:30,470 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:55:30,470 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 20:55:30,471 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:55:30 BoogieIcfgContainer [2024-11-13 20:55:30,471 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:55:30,473 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:55:30,473 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:55:30,486 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:55:30,487 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:55:30" (1/1) ... [2024-11-13 20:55:30,497 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:55:30,548 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:30,560 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 26 states and 30 transitions. [2024-11-13 20:55:30,561 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 30 transitions. [2024-11-13 20:55:30,565 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 20:55:30,565 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:30,567 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:55:30,695 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:30,858 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 20:55:30,921 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:30,922 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 27 states and 32 transitions. [2024-11-13 20:55:30,922 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 32 transitions. [2024-11-13 20:55:30,922 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 20:55:30,922 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:30,922 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:55:30,964 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:31,074 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 20:55:31,127 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:31,128 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 30 states and 37 transitions. [2024-11-13 20:55:31,128 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 37 transitions. [2024-11-13 20:55:31,129 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 20:55:31,129 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:31,129 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:55:31,165 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:31,302 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 20:55:31,327 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:31,327 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 31 states and 38 transitions. [2024-11-13 20:55:31,328 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 38 transitions. [2024-11-13 20:55:31,328 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 20:55:31,328 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:31,330 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:55:31,365 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:31,468 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 20:55:31,482 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:31,482 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 33 states and 40 transitions. [2024-11-13 20:55:31,482 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 40 transitions. [2024-11-13 20:55:31,483 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 20:55:31,483 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:31,483 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:55:31,521 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:31,599 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 20:55:31,894 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:31,894 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 39 states and 51 transitions. [2024-11-13 20:55:31,894 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 51 transitions. [2024-11-13 20:55:31,895 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 20:55:31,895 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:31,895 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:55:31,927 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:32,010 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 20:55:32,144 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:32,144 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 40 states and 52 transitions. [2024-11-13 20:55:32,144 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 52 transitions. [2024-11-13 20:55:32,145 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 20:55:32,145 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:32,145 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:55:32,164 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:55:32,164 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:55:32,190 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:55:32,268 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:55:32,268 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:55:32,282 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:55:32,318 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 7 iterations. [2024-11-13 20:55:32,352 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:55:32 ImpRootNode [2024-11-13 20:55:32,352 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:55:32,353 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:55:32,353 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:55:32,353 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:55:32,354 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:55:30" (3/4) ... [2024-11-13 20:55:32,358 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:55:32,358 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:55:32,360 INFO L158 Benchmark]: Toolchain (without parser) took 3788.40ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 104.2MB in the end (delta: 11.7MB). Peak memory consumption was 16.0MB. Max. memory is 16.1GB. [2024-11-13 20:55:32,360 INFO L158 Benchmark]: CDTParser took 0.43ms. Allocated memory is still 142.6MB. Free memory is still 80.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:55:32,360 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1321.22ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 106.4MB in the end (delta: 9.5MB). Peak memory consumption was 66.5MB. Max. memory is 16.1GB. [2024-11-13 20:55:32,361 INFO L158 Benchmark]: Boogie Procedure Inliner took 44.41ms. Allocated memory is still 142.6MB. Free memory was 106.4MB in the beginning and 103.9MB in the end (delta: 2.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 20:55:32,361 INFO L158 Benchmark]: Boogie Preprocessor took 22.76ms. Allocated memory is still 142.6MB. Free memory was 103.9MB in the beginning and 102.7MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:55:32,361 INFO L158 Benchmark]: RCFGBuilder took 508.59ms. Allocated memory is still 142.6MB. Free memory was 102.7MB in the beginning and 87.2MB in the end (delta: 15.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 20:55:32,362 INFO L158 Benchmark]: CodeCheck took 1879.55ms. Allocated memory is still 142.6MB. Free memory was 86.6MB in the beginning and 104.2MB in the end (delta: -17.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:55:32,362 INFO L158 Benchmark]: Witness Printer took 5.77ms. Allocated memory is still 142.6MB. Free memory was 104.2MB in the beginning and 104.2MB in the end (delta: 15.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:55:32,364 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.7s 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 1579, 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); [L1579] 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) [L1579] 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] [L1580] CALL CWE190_Integer_Overflow__int_fgets_preinc_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 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.43ms. Allocated memory is still 142.6MB. Free memory is still 80.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1321.22ms. Allocated memory is still 142.6MB. Free memory was 115.9MB in the beginning and 106.4MB in the end (delta: 9.5MB). Peak memory consumption was 66.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 44.41ms. Allocated memory is still 142.6MB. Free memory was 106.4MB in the beginning and 103.9MB in the end (delta: 2.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 22.76ms. Allocated memory is still 142.6MB. Free memory was 103.9MB in the beginning and 102.7MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 508.59ms. Allocated memory is still 142.6MB. Free memory was 102.7MB in the beginning and 87.2MB in the end (delta: 15.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1879.55ms. Allocated memory is still 142.6MB. Free memory was 86.6MB in the beginning and 104.2MB in the end (delta: -17.7MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.77ms. Allocated memory is still 142.6MB. Free memory was 104.2MB in the beginning and 104.2MB in the end (delta: 15.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 20:55:32,389 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/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_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/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_de441d21-db28-40e5-9832-7a17ab16410d/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 9273d609dec5d79d143f17efc5d0dc149e682003f6d792ebfd2d77decf068395 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:55:35,170 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:55:35,305 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 20:55:35,346 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:55:35,348 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:55:35,348 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:55:35,349 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:55:35,349 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:55:35,350 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:55:35,350 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:55:35,350 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:55:35,350 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:55:35,351 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:55:35,351 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:55:35,351 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 20:55:35,351 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 20:55:35,351 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:55:35,353 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:55:35,353 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 20:55:35,353 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:55:35,353 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:55:35,353 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:55:35,353 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:55:35,353 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:55:35,353 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:55:35,354 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:55:35,354 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 20:55:35,354 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:55:35,354 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:55:35,354 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:55:35,354 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:55:35,354 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:55:35,355 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 20:55:35,355 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:55:35,355 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 20:55:35,355 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_de441d21-db28-40e5-9832-7a17ab16410d/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 -> 9273d609dec5d79d143f17efc5d0dc149e682003f6d792ebfd2d77decf068395 [2024-11-13 20:55:35,695 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:55:35,702 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:55:35,705 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:55:35,706 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:55:35,708 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:55:35,710 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i Unable to find full path for "g++" [2024-11-13 20:55:37,629 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:55:38,035 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:55:38,036 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i [2024-11-13 20:55:38,077 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/data/fda814c95/6465c584748b4ba288ed3aedf34782bc/FLAGc416f5630 [2024-11-13 20:55:38,205 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/data/fda814c95/6465c584748b4ba288ed3aedf34782bc [2024-11-13 20:55:38,207 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:55:38,209 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:55:38,212 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:55:38,212 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:55:38,218 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:55:38,219 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:55:38" (1/1) ... [2024-11-13 20:55:38,220 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2671bb40 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:38, skipping insertion in model container [2024-11-13 20:55:38,220 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:55:38" (1/1) ... [2024-11-13 20:55:38,290 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:55:39,237 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:55:39,253 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:55:39,425 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:55:39,663 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:55:39,664 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39 WrapperNode [2024-11-13 20:55:39,665 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:55:39,666 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:55:39,666 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:55:39,666 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:55:39,673 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,711 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,740 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 86 [2024-11-13 20:55:39,740 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:55:39,740 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:55:39,741 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:55:39,741 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:55:39,750 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,751 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,758 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,762 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,770 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,773 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,781 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,782 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,786 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:55:39,787 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:55:39,787 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:55:39,788 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:55:39,789 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:55:39" (1/1) ... [2024-11-13 20:55:39,794 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:55:39,809 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:55:39,820 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:55:39,825 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:55:39,868 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:55:39,868 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:55:39,868 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 20:55:39,868 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:55:39,869 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:55:39,869 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:55:40,042 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:55:40,044 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:55:40,196 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-13 20:55:40,196 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:55:40,279 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:55:40,279 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 20:55:40,279 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:55:40 BoogieIcfgContainer [2024-11-13 20:55:40,279 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:55:40,280 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:55:40,280 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:55:40,292 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:55:40,292 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:55:40" (1/1) ... [2024-11-13 20:55:40,300 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:55:40,340 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:40,349 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 26 states and 30 transitions. [2024-11-13 20:55:40,351 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 30 transitions. [2024-11-13 20:55:40,355 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 20:55:40,356 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:40,357 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:55:40,357 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:55:40,359 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:55:40,360 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 20:55:40,516 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:40,518 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 20:55:40,561 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:40,563 INFO L255 TraceCheckSpWp]: Trace formula consists of 37 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 20:55:40,566 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 20:55:40,589 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 20:55:40,594 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 20:55:40,625 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:40,625 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 25 states and 29 transitions. [2024-11-13 20:55:40,626 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 29 transitions. [2024-11-13 20:55:40,626 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 20:55:40,626 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:40,626 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:55:40,627 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:55:40,629 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:55:40,632 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 20:55:40,772 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:40,773 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 20:55:40,814 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:40,816 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 20:55:40,817 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 20:55:40,819 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 20:55:40,824 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 20:55:40,825 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 20:55:40,832 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:40,832 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 24 states and 28 transitions. [2024-11-13 20:55:40,833 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 28 transitions. [2024-11-13 20:55:40,833 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 20:55:40,833 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:40,833 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:55:40,834 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:55:40,836 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:55:40,843 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-13 20:55:40,972 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:40,973 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 20:55:41,006 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:41,007 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 20:55:41,008 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 20:55:41,031 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 20:55:41,035 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2024-11-13 20:55:41,093 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:41,094 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 28 states and 36 transitions. [2024-11-13 20:55:41,094 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 36 transitions. [2024-11-13 20:55:41,094 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 20:55:41,094 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:41,094 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:55:41,095 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:55:41,097 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:55:41,100 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-13 20:55:41,254 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:41,254 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 20:55:41,300 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:41,301 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 20:55:41,302 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 20:55:41,356 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 20:55:41,358 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 20:55:41,359 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Forceful destruction successful, exit code 0 [2024-11-13 20:55:41,525 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:41,525 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 33 states and 46 transitions. [2024-11-13 20:55:41,525 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 46 transitions. [2024-11-13 20:55:41,526 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 20:55:41,526 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:41,527 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:55:41,527 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:55:41,529 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:55:41,532 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-13 20:55:41,689 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:41,690 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 20:55:41,745 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:55:41,747 INFO L255 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 20:55:41,749 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 20:55:41,777 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 20:55:41,780 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2024-11-13 20:55:41,799 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:55:41,800 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 35 states and 48 transitions. [2024-11-13 20:55:41,800 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 48 transitions. [2024-11-13 20:55:41,801 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 20:55:41,802 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:55:41,802 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:55:41,802 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:55:41,804 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:55:41,807 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-13 20:55:41,976 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:55:41,976 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:55:42,047 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:55:42,136 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:55:42,136 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:55:42,153 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:55:42,177 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (7)] Ended with exit code 0 [2024-11-13 20:55:42,178 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-13 20:55:42,220 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:55:42 ImpRootNode [2024-11-13 20:55:42,220 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:55:42,220 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:55:42,220 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:55:42,221 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:55:42,221 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:55:40" (3/4) ... [2024-11-13 20:55:42,224 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:55:42,225 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:55:42,228 INFO L158 Benchmark]: Toolchain (without parser) took 4016.69ms. Allocated memory is still 83.9MB. Free memory was 57.2MB in the beginning and 30.2MB in the end (delta: 27.1MB). Peak memory consumption was 28.8MB. Max. memory is 16.1GB. [2024-11-13 20:55:42,228 INFO L158 Benchmark]: CDTParser took 0.41ms. Allocated memory is still 83.9MB. Free memory is still 64.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:55:42,228 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1453.42ms. Allocated memory is still 83.9MB. Free memory was 56.9MB in the beginning and 50.8MB in the end (delta: 6.1MB). Peak memory consumption was 58.2MB. Max. memory is 16.1GB. [2024-11-13 20:55:42,229 INFO L158 Benchmark]: Boogie Procedure Inliner took 74.39ms. Allocated memory is still 83.9MB. Free memory was 50.8MB in the beginning and 48.2MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:55:42,229 INFO L158 Benchmark]: Boogie Preprocessor took 46.04ms. Allocated memory is still 83.9MB. Free memory was 48.2MB in the beginning and 46.2MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:55:42,229 INFO L158 Benchmark]: RCFGBuilder took 492.08ms. Allocated memory is still 83.9MB. Free memory was 46.2MB in the beginning and 52.4MB in the end (delta: -6.2MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. [2024-11-13 20:55:42,229 INFO L158 Benchmark]: CodeCheck took 1939.80ms. Allocated memory is still 83.9MB. Free memory was 52.4MB in the beginning and 30.2MB in the end (delta: 22.3MB). Peak memory consumption was 18.4MB. Max. memory is 16.1GB. [2024-11-13 20:55:42,230 INFO L158 Benchmark]: Witness Printer took 4.65ms. Allocated memory is still 83.9MB. Free memory was 30.2MB in the beginning and 30.2MB in the end (delta: 4.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:55:42,234 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.1s 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 1579, 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); [L1579] 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) [L1579] 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] [L1580] CALL CWE190_Integer_Overflow__int_fgets_preinc_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 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.41ms. Allocated memory is still 83.9MB. Free memory is still 64.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1453.42ms. Allocated memory is still 83.9MB. Free memory was 56.9MB in the beginning and 50.8MB in the end (delta: 6.1MB). Peak memory consumption was 58.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 74.39ms. Allocated memory is still 83.9MB. Free memory was 50.8MB in the beginning and 48.2MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 46.04ms. Allocated memory is still 83.9MB. Free memory was 48.2MB in the beginning and 46.2MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 492.08ms. Allocated memory is still 83.9MB. Free memory was 46.2MB in the beginning and 52.4MB in the end (delta: -6.2MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. * CodeCheck took 1939.80ms. Allocated memory is still 83.9MB. Free memory was 52.4MB in the beginning and 30.2MB in the end (delta: 22.3MB). Peak memory consumption was 18.4MB. Max. memory is 16.1GB. * Witness Printer took 4.65ms. Allocated memory is still 83.9MB. Free memory was 30.2MB in the beginning and 30.2MB in the end (delta: 4.2kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 20:55:42,268 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_de441d21-db28-40e5-9832-7a17ab16410d/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