./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_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_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/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_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/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_f7ed55c2-6f20-4159-ad57-4176f2764b89/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 a7bf12efb165ae38e6a5b7ea360f1f04cc4b40bbbbde4906a6f5fa41669f98f5 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:53:54,505 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:53:54,584 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 22:53:54,589 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:53:54,589 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:53:54,610 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:53:54,611 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:53:54,611 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:53:54,612 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:53:54,612 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:53:54,612 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:53:54,612 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:53:54,612 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:53:54,613 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:53:54,613 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:53:54,613 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:53:54,613 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:53:54,613 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:53:54,613 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:53:54,613 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:53:54,614 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:53:54,614 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:53:54,614 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:53:54,614 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:53:54,614 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:53:54,614 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:53:54,614 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:53:54,614 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:53:54,614 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:53:54,615 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:53:54,615 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:53:54,615 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:53:54,615 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_f7ed55c2-6f20-4159-ad57-4176f2764b89/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 -> a7bf12efb165ae38e6a5b7ea360f1f04cc4b40bbbbde4906a6f5fa41669f98f5 [2024-11-13 22:53:54,930 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:53:54,944 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:53:54,948 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:53:54,950 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:53:54,952 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:53:54,953 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i Unable to find full path for "g++" [2024-11-13 22:53:57,062 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:53:57,491 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:53:57,492 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i [2024-11-13 22:53:57,519 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/data/d5009b6dc/167f23948cbe479087749a6312cb33ff/FLAG87712e855 [2024-11-13 22:53:57,537 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/data/d5009b6dc/167f23948cbe479087749a6312cb33ff [2024-11-13 22:53:57,540 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:53:57,542 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:53:57,544 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:53:57,544 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:53:57,550 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:53:57,551 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:53:57" (1/1) ... [2024-11-13 22:53:57,552 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4669cb0f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:57, skipping insertion in model container [2024-11-13 22:53:57,553 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:53:57" (1/1) ... [2024-11-13 22:53:57,615 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:53:58,701 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:53:58,710 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:53:58,814 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:53:59,013 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:53:59,015 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59 WrapperNode [2024-11-13 22:53:59,015 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:53:59,017 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:53:59,017 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:53:59,018 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:53:59,029 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,067 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,103 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 87 [2024-11-13 22:53:59,103 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:53:59,107 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:53:59,108 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:53:59,108 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:53:59,118 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,118 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,125 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,126 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,138 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,144 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,146 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,148 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,151 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:53:59,152 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:53:59,152 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:53:59,152 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:53:59,156 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,163 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:53:59,179 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:53:59,193 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:53:59,196 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:53:59,218 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:53:59,218 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:53:59,218 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:53:59,218 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:53:59,218 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:53:59,219 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 22:53:59,434 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:53:59,436 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:53:59,679 INFO L? ?]: Removed 28 outVars from TransFormulas that were not future-live. [2024-11-13 22:53:59,679 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:53:59,753 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:53:59,758 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 22:53:59,759 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:53:59 BoogieIcfgContainer [2024-11-13 22:53:59,759 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:53:59,760 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:53:59,760 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:53:59,772 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:53:59,772 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:53:59" (1/1) ... [2024-11-13 22:53:59,786 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:53:59,830 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:53:59,843 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 26 states and 30 transitions. [2024-11-13 22:53:59,844 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 30 transitions. [2024-11-13 22:53:59,849 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 22:53:59,849 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:53:59,850 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:54:00,014 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:00,213 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 22:54:00,285 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:00,285 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 27 states and 32 transitions. [2024-11-13 22:54:00,286 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 32 transitions. [2024-11-13 22:54:00,286 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 22:54:00,286 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:00,286 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:54:00,359 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:00,536 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 22:54:00,594 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:00,594 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 30 states and 37 transitions. [2024-11-13 22:54:00,595 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 37 transitions. [2024-11-13 22:54:00,598 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 22:54:00,598 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:00,598 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:54:00,627 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:00,752 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 22:54:00,773 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:00,774 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 31 states and 38 transitions. [2024-11-13 22:54:00,774 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 38 transitions. [2024-11-13 22:54:00,774 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 22:54:00,774 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:00,774 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:54:00,802 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:00,864 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:54:00,887 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:00,887 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 33 states and 40 transitions. [2024-11-13 22:54:00,887 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 40 transitions. [2024-11-13 22:54:00,888 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 22:54:00,888 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:00,888 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:54:00,917 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:01,004 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 22:54:01,449 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:01,451 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 39 states and 51 transitions. [2024-11-13 22:54:01,452 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 51 transitions. [2024-11-13 22:54:01,452 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 22:54:01,452 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:01,453 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:54:01,493 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:01,664 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 22:54:01,868 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:01,868 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 40 states and 52 transitions. [2024-11-13 22:54:01,869 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 52 transitions. [2024-11-13 22:54:01,869 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 22:54:01,869 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:01,869 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:54:01,905 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:54:01,905 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:54:01,921 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:54:02,013 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:54:02,013 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:54:02,032 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:54:02,067 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 7 iterations. [2024-11-13 22:54:02,121 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:54:02 ImpRootNode [2024-11-13 22:54:02,122 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:54:02,122 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:54:02,122 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:54:02,123 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:54:02,123 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:53:59" (3/4) ... [2024-11-13 22:54:02,127 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:54:02,128 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:54:02,129 INFO L158 Benchmark]: Toolchain (without parser) took 4586.94ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 66.2MB in the end (delta: 23.3MB). Peak memory consumption was 25.6MB. Max. memory is 16.1GB. [2024-11-13 22:54:02,130 INFO L158 Benchmark]: CDTParser took 1.56ms. Allocated memory is still 117.4MB. Free memory is still 74.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:02,131 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1471.80ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 80.1MB in the end (delta: 9.4MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. [2024-11-13 22:54:02,132 INFO L158 Benchmark]: Boogie Procedure Inliner took 87.00ms. Allocated memory is still 117.4MB. Free memory was 80.1MB in the beginning and 77.8MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:02,133 INFO L158 Benchmark]: Boogie Preprocessor took 43.51ms. Allocated memory is still 117.4MB. Free memory was 77.8MB in the beginning and 76.6MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:02,134 INFO L158 Benchmark]: RCFGBuilder took 607.21ms. Allocated memory is still 117.4MB. Free memory was 76.6MB in the beginning and 61.0MB in the end (delta: 15.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:54:02,134 INFO L158 Benchmark]: CodeCheck took 2362.06ms. Allocated memory is still 117.4MB. Free memory was 61.0MB in the beginning and 67.2MB in the end (delta: -6.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:02,135 INFO L158 Benchmark]: Witness Printer took 5.93ms. Allocated memory is still 117.4MB. Free memory was 67.2MB in the beginning and 66.2MB in the end (delta: 928.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:02,139 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: 2.3s, OverallIterations: 7, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 196 SdHoareTripleChecker+Valid, 0.7s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 48 mSDsluCounter, 138 SdHoareTripleChecker+Invalid, 0.6s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 40 mSDsCounter, 54 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 194 IncrementalHoareTripleChecker+Invalid, 248 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 54 mSolverCounterUnsat, 98 mSDtfsCounter, 194 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 505 GetRequests, 479 SyntacticMatches, 0 SemanticMatches, 26 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 163 ImplicationChecksByTransitivity, 0.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.8s 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_postinc_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 [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 1.56ms. Allocated memory is still 117.4MB. Free memory is still 74.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1471.80ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 80.1MB in the end (delta: 9.4MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 87.00ms. Allocated memory is still 117.4MB. Free memory was 80.1MB in the beginning and 77.8MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 43.51ms. Allocated memory is still 117.4MB. Free memory was 77.8MB in the beginning and 76.6MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 607.21ms. Allocated memory is still 117.4MB. Free memory was 76.6MB in the beginning and 61.0MB in the end (delta: 15.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 2362.06ms. Allocated memory is still 117.4MB. Free memory was 61.0MB in the beginning and 67.2MB in the end (delta: -6.2MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.93ms. Allocated memory is still 117.4MB. Free memory was 67.2MB in the beginning and 66.2MB in the end (delta: 928.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 22:54:02,183 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/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_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/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_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/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_f7ed55c2-6f20-4159-ad57-4176f2764b89/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 a7bf12efb165ae38e6a5b7ea360f1f04cc4b40bbbbde4906a6f5fa41669f98f5 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:54:05,401 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:54:05,525 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 22:54:05,596 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:54:05,597 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:54:05,598 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:54:05,598 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:54:05,598 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:54:05,598 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:54:05,599 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:54:05,599 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:54:05,603 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:54:05,603 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:54:05,603 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:54:05,603 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:54:05,604 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:54:05,604 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:54:05,604 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:54:05,604 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:54:05,604 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:54:05,604 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:54:05,604 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:54:05,604 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:54:05,604 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:54:05,605 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:54:05,605 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:54:05,605 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:54:05,605 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:54:05,605 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:54:05,605 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:54:05,605 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:54:05,606 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:54:05,606 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:54:05,606 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:54:05,606 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:54:05,606 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_f7ed55c2-6f20-4159-ad57-4176f2764b89/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 -> a7bf12efb165ae38e6a5b7ea360f1f04cc4b40bbbbde4906a6f5fa41669f98f5 [2024-11-13 22:54:06,023 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:54:06,038 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:54:06,042 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:54:06,046 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:54:06,047 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:54:06,048 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i Unable to find full path for "g++" [2024-11-13 22:54:08,280 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:54:08,810 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:54:08,814 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_17_bad.i [2024-11-13 22:54:08,860 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/data/e70a758c7/9b28c9c594bc4e07866ab87c252acbb0/FLAG9ebe3044c [2024-11-13 22:54:08,893 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/data/e70a758c7/9b28c9c594bc4e07866ab87c252acbb0 [2024-11-13 22:54:08,896 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:54:08,899 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:54:08,903 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:54:08,903 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:54:08,911 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:54:08,912 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:54:08" (1/1) ... [2024-11-13 22:54:08,915 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@168e30a8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:08, skipping insertion in model container [2024-11-13 22:54:08,916 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:54:08" (1/1) ... [2024-11-13 22:54:08,991 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:54:10,317 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:54:10,333 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:54:10,518 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:54:10,668 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:54:10,669 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10 WrapperNode [2024-11-13 22:54:10,669 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:54:10,670 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:54:10,670 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:54:10,670 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:54:10,678 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,722 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,748 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 86 [2024-11-13 22:54:10,749 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:54:10,749 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:54:10,749 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:54:10,750 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:54:10,759 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,759 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,767 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,768 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,777 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,781 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,783 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,785 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,789 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:54:10,790 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:54:10,790 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:54:10,790 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:54:10,791 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:54:10" (1/1) ... [2024-11-13 22:54:10,799 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:54:10,819 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:54:10,834 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:54:10,839 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:54:10,879 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:54:10,879 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:54:10,879 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 22:54:10,879 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:54:10,880 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:54:10,880 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:54:11,141 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:54:11,143 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:54:11,425 INFO L? ?]: Removed 25 outVars from TransFormulas that were not future-live. [2024-11-13 22:54:11,425 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:54:11,504 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:54:11,505 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 22:54:11,505 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:54:11 BoogieIcfgContainer [2024-11-13 22:54:11,505 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:54:11,506 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:54:11,507 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:54:11,519 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:54:11,519 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:54:11" (1/1) ... [2024-11-13 22:54:11,529 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:54:11,581 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:11,593 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 26 states and 30 transitions. [2024-11-13 22:54:11,593 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 30 transitions. [2024-11-13 22:54:11,598 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 22:54:11,599 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:11,599 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:54:11,600 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:54:11,603 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:54:11,606 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:54:11,787 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:11,790 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:54:11,877 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:11,880 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 22:54:11,884 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:54:11,906 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 22:54:11,912 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 22:54:11,953 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:11,954 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 25 states and 29 transitions. [2024-11-13 22:54:11,955 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 29 transitions. [2024-11-13 22:54:11,956 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 22:54:11,956 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:11,957 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:54:11,957 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:54:11,961 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:54:11,963 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 22:54:12,155 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:12,156 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:54:12,217 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:12,220 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 22:54:12,221 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:54:12,223 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 22:54:12,228 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 22:54:12,229 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 22:54:12,237 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:12,238 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 24 states and 28 transitions. [2024-11-13 22:54:12,241 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 28 transitions. [2024-11-13 22:54:12,241 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 22:54:12,241 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:12,242 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:54:12,242 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:54:12,245 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:54:12,248 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-13 22:54:12,430 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:12,431 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:54:12,456 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:12,457 INFO L255 TraceCheckSpWp]: Trace formula consists of 39 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 22:54:12,459 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:54:12,523 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 22:54:12,526 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-13 22:54:12,601 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:12,602 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 28 states and 36 transitions. [2024-11-13 22:54:12,602 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 36 transitions. [2024-11-13 22:54:12,603 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 22:54:12,603 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:12,603 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:54:12,603 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:54:12,606 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:54:12,610 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-13 22:54:12,800 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:12,801 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:54:12,855 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:12,858 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 22:54:12,860 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:54:12,922 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 22:54:12,926 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 22:54:12,927 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-13 22:54:13,138 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:13,139 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 33 states and 46 transitions. [2024-11-13 22:54:13,139 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 46 transitions. [2024-11-13 22:54:13,140 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 22:54:13,140 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:13,140 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:54:13,140 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:54:13,145 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:54:13,146 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-13 22:54:13,334 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:13,335 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:54:13,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:54:13,386 INFO L255 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 22:54:13,388 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:54:13,418 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:54:13,421 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (6)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 22:54:13,423 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2024-11-13 22:54:13,443 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:54:13,443 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 35 states and 48 transitions. [2024-11-13 22:54:13,443 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 48 transitions. [2024-11-13 22:54:13,444 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 22:54:13,444 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:54:13,445 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:54:13,445 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:54:13,447 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:54:13,469 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-13 22:54:13,683 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:54:13,683 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:54:13,773 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:54:13,884 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:54:13,884 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:54:13,907 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:54:13,937 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (7)] Forceful destruction successful, exit code 0 [2024-11-13 22:54:13,937 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-13 22:54:13,987 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:54:13 ImpRootNode [2024-11-13 22:54:13,988 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:54:13,989 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:54:13,989 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:54:13,989 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:54:13,990 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:54:11" (3/4) ... [2024-11-13 22:54:13,994 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:54:13,995 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:54:13,996 INFO L158 Benchmark]: Toolchain (without parser) took 5097.21ms. Allocated memory was 117.4MB in the beginning and 276.8MB in the end (delta: 159.4MB). Free memory was 89.4MB in the beginning and 231.3MB in the end (delta: -142.0MB). Peak memory consumption was 16.3MB. Max. memory is 16.1GB. [2024-11-13 22:54:13,999 INFO L158 Benchmark]: CDTParser took 0.41ms. Allocated memory is still 117.4MB. Free memory was 84.4MB in the beginning and 84.3MB in the end (delta: 51.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:14,000 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1766.52ms. Allocated memory is still 117.4MB. Free memory was 89.2MB in the beginning and 68.4MB in the end (delta: 20.8MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. [2024-11-13 22:54:14,000 INFO L158 Benchmark]: Boogie Procedure Inliner took 78.96ms. Allocated memory is still 117.4MB. Free memory was 68.4MB in the beginning and 65.9MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:14,001 INFO L158 Benchmark]: Boogie Preprocessor took 39.59ms. Allocated memory is still 117.4MB. Free memory was 65.9MB in the beginning and 63.9MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:14,001 INFO L158 Benchmark]: RCFGBuilder took 716.09ms. Allocated memory is still 117.4MB. Free memory was 63.9MB in the beginning and 46.2MB in the end (delta: 17.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:54:14,002 INFO L158 Benchmark]: CodeCheck took 2481.52ms. Allocated memory was 117.4MB in the beginning and 276.8MB in the end (delta: 159.4MB). Free memory was 46.2MB in the beginning and 231.4MB in the end (delta: -185.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:14,002 INFO L158 Benchmark]: Witness Printer took 6.44ms. Allocated memory is still 276.8MB. Free memory was 231.4MB in the beginning and 231.3MB in the end (delta: 35.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:54:14,005 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: 2.4s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 188 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 28 mSDsluCounter, 122 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 24 mSDsCounter, 24 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 124 IncrementalHoareTripleChecker+Invalid, 148 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 24 mSolverCounterUnsat, 98 mSDtfsCounter, 124 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 401 GetRequests, 389 SyntacticMatches, 0 SemanticMatches, 12 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 64 NumberOfCodeBlocks, 64 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 45 ConstructedInterpolants, 0 QuantifiedInterpolants, 77 SizeOfPredicates, 0 NumberOfNonLiveVariables, 247 ConjunctsInSsa, 11 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_postinc_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 [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 117.4MB. Free memory was 84.4MB in the beginning and 84.3MB in the end (delta: 51.3kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1766.52ms. Allocated memory is still 117.4MB. Free memory was 89.2MB in the beginning and 68.4MB in the end (delta: 20.8MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 78.96ms. Allocated memory is still 117.4MB. Free memory was 68.4MB in the beginning and 65.9MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 39.59ms. Allocated memory is still 117.4MB. Free memory was 65.9MB in the beginning and 63.9MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 716.09ms. Allocated memory is still 117.4MB. Free memory was 63.9MB in the beginning and 46.2MB in the end (delta: 17.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 2481.52ms. Allocated memory was 117.4MB in the beginning and 276.8MB in the end (delta: 159.4MB). Free memory was 46.2MB in the beginning and 231.4MB in the end (delta: -185.2MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.44ms. Allocated memory is still 276.8MB. Free memory was 231.4MB in the beginning and 231.3MB in the end (delta: 35.5kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 22:54:14,044 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7ed55c2-6f20-4159-ad57-4176f2764b89/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