./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_17_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk --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 bbc64fd25d0eb5fa31633a8c76dba801bfa80f4d9146ca588047e7c404032713 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 01:03:03,019 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 01:03:03,109 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-09 01:03:03,114 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-09 01:03:03,114 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-09 01:03:03,152 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 01:03:03,153 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 01:03:03,154 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 01:03:03,155 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 01:03:03,156 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 01:03:03,157 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 01:03:03,157 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 01:03:03,158 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-09 01:03:03,158 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 01:03:03,160 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 01:03:03,161 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 01:03:03,161 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 01:03:03,161 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 01:03:03,162 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 01:03:03,162 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 01:03:03,163 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 01:03:03,167 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 01:03:03,168 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 01:03:03,168 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 01:03:03,168 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 01:03:03,169 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 01:03:03,169 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:03:03,169 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 01:03:03,169 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 01:03:03,170 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 01:03:03,170 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-09 01:03:03,170 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-09 01:03:03,171 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk 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 -> bbc64fd25d0eb5fa31633a8c76dba801bfa80f4d9146ca588047e7c404032713 [2024-11-09 01:03:03,476 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 01:03:03,507 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 01:03:03,509 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 01:03:03,511 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 01:03:03,511 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 01:03:03,514 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_17_bad.i Unable to find full path for "g++" [2024-11-09 01:03:05,589 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 01:03:05,896 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 01:03:05,897 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_17_bad.i [2024-11-09 01:03:05,924 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/data/81d027801/b5d315716f554d2180e1ff43bd7bf147/FLAG9ccac7813 [2024-11-09 01:03:05,944 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/data/81d027801/b5d315716f554d2180e1ff43bd7bf147 [2024-11-09 01:03:05,947 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 01:03:05,948 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 01:03:05,950 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 01:03:05,950 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 01:03:05,958 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 01:03:05,959 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:03:05" (1/1) ... [2024-11-09 01:03:05,960 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@749c0df4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:05, skipping insertion in model container [2024-11-09 01:03:05,961 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:03:05" (1/1) ... [2024-11-09 01:03:06,022 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 01:03:07,275 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:03:07,288 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 01:03:07,426 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:03:07,644 INFO L204 MainTranslator]: Completed translation [2024-11-09 01:03:07,644 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07 WrapperNode [2024-11-09 01:03:07,645 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 01:03:07,646 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 01:03:07,646 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 01:03:07,646 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 01:03:07,653 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,689 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,719 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 87 [2024-11-09 01:03:07,720 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 01:03:07,720 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 01:03:07,720 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 01:03:07,721 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 01:03:07,730 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,730 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,734 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,734 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,739 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,743 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,745 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,746 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,749 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 01:03:07,749 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 01:03:07,750 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 01:03:07,750 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 01:03:07,751 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:07" (1/1) ... [2024-11-09 01:03:07,757 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:03:07,771 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 01:03:07,791 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 01:03:07,813 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 01:03:07,845 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 01:03:07,846 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 01:03:07,846 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 01:03:07,846 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 01:03:07,846 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 01:03:07,847 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-09 01:03:08,006 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 01:03:08,008 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 01:03:08,153 INFO L? ?]: Removed 30 outVars from TransFormulas that were not future-live. [2024-11-09 01:03:08,153 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 01:03:08,199 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 01:03:08,199 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 01:03:08,200 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:03:08 BoogieIcfgContainer [2024-11-09 01:03:08,200 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 01:03:08,201 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 01:03:08,201 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 01:03:08,213 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 01:03:08,213 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:03:08" (1/1) ... [2024-11-09 01:03:08,223 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 01:03:08,280 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:08,288 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-09 01:03:08,289 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-09 01:03:08,294 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 01:03:08,294 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:08,294 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:03:08,456 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:08,700 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-09 01:03:08,805 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:08,806 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 35 states and 44 transitions. [2024-11-09 01:03:08,808 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 44 transitions. [2024-11-09 01:03:08,808 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 01:03:08,808 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:08,809 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:03:08,866 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:08,982 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-09 01:03:09,003 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:09,004 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 36 states and 45 transitions. [2024-11-09 01:03:09,004 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 45 transitions. [2024-11-09 01:03:09,005 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-09 01:03:09,005 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:09,005 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:03:09,027 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:09,111 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-09 01:03:09,124 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:09,124 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 38 states and 47 transitions. [2024-11-09 01:03:09,124 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 47 transitions. [2024-11-09 01:03:09,125 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 01:03:09,125 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:09,125 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:03:09,151 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:09,270 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 4 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 01:03:09,346 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:09,347 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 29 states and 33 transitions. [2024-11-09 01:03:09,347 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 33 transitions. [2024-11-09 01:03:09,348 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 01:03:09,348 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:09,348 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:03:09,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:09,382 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:03:09,401 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:09,494 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:09,495 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:03:09,514 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:09,540 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-11-09 01:03:09,583 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 01:03:09 ImpRootNode [2024-11-09 01:03:09,584 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 01:03:09,584 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 01:03:09,585 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 01:03:09,585 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 01:03:09,585 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:03:08" (3/4) ... [2024-11-09 01:03:09,588 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 01:03:09,590 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 01:03:09,592 INFO L158 Benchmark]: Toolchain (without parser) took 3642.04ms. Allocated memory was 134.2MB in the beginning and 190.8MB in the end (delta: 56.6MB). Free memory was 93.9MB in the beginning and 104.9MB in the end (delta: -11.0MB). Peak memory consumption was 47.1MB. Max. memory is 16.1GB. [2024-11-09 01:03:09,592 INFO L158 Benchmark]: CDTParser took 2.01ms. Allocated memory is still 134.2MB. Free memory is still 104.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:03:09,593 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1695.22ms. Allocated memory was 134.2MB in the beginning and 190.8MB in the end (delta: 56.6MB). Free memory was 93.9MB in the beginning and 137.5MB in the end (delta: -43.6MB). Peak memory consumption was 59.6MB. Max. memory is 16.1GB. [2024-11-09 01:03:09,594 INFO L158 Benchmark]: Boogie Procedure Inliner took 74.10ms. Allocated memory is still 190.8MB. Free memory was 137.5MB in the beginning and 134.3MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-09 01:03:09,595 INFO L158 Benchmark]: Boogie Preprocessor took 28.47ms. Allocated memory is still 190.8MB. Free memory was 134.3MB in the beginning and 133.3MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:03:09,596 INFO L158 Benchmark]: RCFGBuilder took 450.71ms. Allocated memory is still 190.8MB. Free memory was 133.3MB in the beginning and 116.5MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-09 01:03:09,597 INFO L158 Benchmark]: CodeCheck took 1382.92ms. Allocated memory is still 190.8MB. Free memory was 116.5MB in the beginning and 104.9MB in the end (delta: 11.6MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-11-09 01:03:09,598 INFO L158 Benchmark]: Witness Printer took 5.40ms. Allocated memory is still 190.8MB. Free memory is still 104.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:03:09,601 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, 30 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.3s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 107 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 38 mSDsluCounter, 76 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 24 mSDsCounter, 33 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 115 IncrementalHoareTripleChecker+Invalid, 148 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 33 mSolverCounterUnsat, 52 mSDtfsCounter, 115 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 368 GetRequests, 360 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 67 NumberOfCodeBlocks, 67 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 47 ConstructedInterpolants, 0 QuantifiedInterpolants, 97 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 3 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 CWE191_Integer_Underflow__int_fgets_postdec_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 FALSE !(i < 1) 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=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND TRUE i < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND FALSE !(j < 1) VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, 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 2.01ms. Allocated memory is still 134.2MB. Free memory is still 104.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1695.22ms. Allocated memory was 134.2MB in the beginning and 190.8MB in the end (delta: 56.6MB). Free memory was 93.9MB in the beginning and 137.5MB in the end (delta: -43.6MB). Peak memory consumption was 59.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 74.10ms. Allocated memory is still 190.8MB. Free memory was 137.5MB in the beginning and 134.3MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 28.47ms. Allocated memory is still 190.8MB. Free memory was 134.3MB in the beginning and 133.3MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 450.71ms. Allocated memory is still 190.8MB. Free memory was 133.3MB in the beginning and 116.5MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1382.92ms. Allocated memory is still 190.8MB. Free memory was 116.5MB in the beginning and 104.9MB in the end (delta: 11.6MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Witness Printer took 5.40ms. Allocated memory is still 190.8MB. Free memory is still 104.9MB. 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-09 01:03:09,642 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/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/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk --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 bbc64fd25d0eb5fa31633a8c76dba801bfa80f4d9146ca588047e7c404032713 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 01:03:12,037 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 01:03:12,101 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-09 01:03:12,145 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 01:03:12,146 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 01:03:12,147 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 01:03:12,147 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 01:03:12,148 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 01:03:12,148 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 01:03:12,149 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 01:03:12,150 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 01:03:12,150 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 01:03:12,151 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 01:03:12,153 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 01:03:12,153 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-09 01:03:12,153 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-09 01:03:12,154 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 01:03:12,154 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 01:03:12,155 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-09 01:03:12,155 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 01:03:12,159 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 01:03:12,159 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 01:03:12,160 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 01:03:12,160 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 01:03:12,160 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 01:03:12,161 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:12,161 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-09 01:03:12,161 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 01:03:12,162 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:03:12,162 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 01:03:12,162 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 01:03:12,162 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 01:03:12,163 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-09 01:03:12,165 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:12,166 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-09 01:03:12,166 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk 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 -> bbc64fd25d0eb5fa31633a8c76dba801bfa80f4d9146ca588047e7c404032713 [2024-11-09 01:03:12,517 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 01:03:12,544 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 01:03:12,548 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 01:03:12,550 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 01:03:12,551 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 01:03:12,553 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_17_bad.i Unable to find full path for "g++" [2024-11-09 01:03:14,683 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 01:03:15,062 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 01:03:15,062 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_17_bad.i [2024-11-09 01:03:15,119 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/data/8fdae2686/218fe731e2724001a97af26b189715fd/FLAG01f26856d [2024-11-09 01:03:15,143 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/data/8fdae2686/218fe731e2724001a97af26b189715fd [2024-11-09 01:03:15,146 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 01:03:15,150 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 01:03:15,152 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 01:03:15,152 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 01:03:15,159 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 01:03:15,160 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:03:15" (1/1) ... [2024-11-09 01:03:15,163 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@77b39586 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:15, skipping insertion in model container [2024-11-09 01:03:15,163 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:03:15" (1/1) ... [2024-11-09 01:03:15,248 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 01:03:16,253 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:03:16,266 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 01:03:16,349 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:03:16,518 INFO L204 MainTranslator]: Completed translation [2024-11-09 01:03:16,519 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16 WrapperNode [2024-11-09 01:03:16,519 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 01:03:16,520 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 01:03:16,520 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 01:03:16,520 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 01:03:16,528 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,557 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,591 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 86 [2024-11-09 01:03:16,592 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 01:03:16,592 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 01:03:16,593 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 01:03:16,593 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 01:03:16,603 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,603 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,607 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,607 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,616 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,619 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,622 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,624 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,627 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 01:03:16,628 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 01:03:16,628 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 01:03:16,629 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 01:03:16,630 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:03:16" (1/1) ... [2024-11-09 01:03:16,643 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:03:16,657 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 01:03:16,671 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 01:03:16,676 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 01:03:16,707 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 01:03:16,708 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 01:03:16,708 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-09 01:03:16,708 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 01:03:16,708 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 01:03:16,708 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 01:03:16,870 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 01:03:16,872 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 01:03:17,052 INFO L? ?]: Removed 27 outVars from TransFormulas that were not future-live. [2024-11-09 01:03:17,052 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 01:03:17,120 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 01:03:17,120 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 01:03:17,121 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:03:17 BoogieIcfgContainer [2024-11-09 01:03:17,121 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 01:03:17,121 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 01:03:17,122 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 01:03:17,132 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 01:03:17,132 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:03:17" (1/1) ... [2024-11-09 01:03:17,141 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 01:03:17,201 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:17,224 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-09 01:03:17,225 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-09 01:03:17,232 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 01:03:17,232 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:17,232 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:17,233 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:03:17,235 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:03:17,238 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-09 01:03:17,440 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:17,444 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:03:17,500 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:17,503 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-09 01:03:17,507 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:03:17,570 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-09 01:03:17,579 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-09 01:03:17,643 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:17,648 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 29 states and 35 transitions. [2024-11-09 01:03:17,649 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 35 transitions. [2024-11-09 01:03:17,649 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 01:03:17,649 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:17,649 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:17,650 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:03:17,658 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:03:17,664 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-09 01:03:17,814 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:17,815 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:03:17,850 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:17,851 INFO L255 TraceCheckSpWp]: Trace formula consists of 39 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-09 01:03:17,853 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:03:17,912 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-09 01:03:17,915 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-09 01:03:17,984 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:17,985 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 34 states and 46 transitions. [2024-11-09 01:03:17,985 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 46 transitions. [2024-11-09 01:03:17,986 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 01:03:17,986 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:17,986 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:17,986 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:03:17,989 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:03:17,990 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-09 01:03:18,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:18,109 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:03:18,141 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:18,143 INFO L255 TraceCheckSpWp]: Trace formula consists of 40 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-09 01:03:18,144 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:03:18,164 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-09 01:03:18,171 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2024-11-09 01:03:18,216 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:18,218 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 34 states and 44 transitions. [2024-11-09 01:03:18,219 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 44 transitions. [2024-11-09 01:03:18,219 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 01:03:18,219 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:18,220 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:18,220 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:03:18,223 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:03:18,224 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-09 01:03:18,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:18,384 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:03:18,435 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:18,436 INFO L255 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-09 01:03:18,437 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:03:18,490 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-09 01:03:18,498 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-09 01:03:18,742 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:18,743 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 55 states to 40 states and 55 transitions. [2024-11-09 01:03:18,743 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 55 transitions. [2024-11-09 01:03:18,745 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-09 01:03:18,746 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:18,746 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:18,747 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:03:18,749 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:03:18,751 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-09 01:03:18,911 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:18,911 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:03:18,949 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:03:18,951 INFO L255 TraceCheckSpWp]: Trace formula consists of 64 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-09 01:03:18,956 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:03:18,985 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-09 01:03:18,988 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 01:03:18,990 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Forceful destruction successful, exit code 0 [2024-11-09 01:03:19,014 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:03:19,016 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 42 states and 57 transitions. [2024-11-09 01:03:19,016 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 57 transitions. [2024-11-09 01:03:19,016 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 01:03:19,016 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:03:19,017 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:03:19,017 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:03:19,020 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:03:19,022 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-09 01:03:19,181 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:19,182 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:03:19,252 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:19,339 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:19,339 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:03:19,360 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:03:19,385 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Forceful destruction successful, exit code 0 [2024-11-09 01:03:19,386 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-09 01:03:19,416 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 01:03:19 ImpRootNode [2024-11-09 01:03:19,416 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 01:03:19,417 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 01:03:19,417 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 01:03:19,417 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 01:03:19,418 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:03:17" (3/4) ... [2024-11-09 01:03:19,420 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 01:03:19,421 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 01:03:19,422 INFO L158 Benchmark]: Toolchain (without parser) took 4271.81ms. Allocated memory was 83.9MB in the beginning and 107.0MB in the end (delta: 23.1MB). Free memory was 61.9MB in the beginning and 65.6MB in the end (delta: -3.7MB). Peak memory consumption was 19.7MB. Max. memory is 16.1GB. [2024-11-09 01:03:19,423 INFO L158 Benchmark]: CDTParser took 0.53ms. Allocated memory is still 58.7MB. Free memory is still 35.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:03:19,423 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1367.08ms. Allocated memory is still 83.9MB. Free memory was 61.9MB in the beginning and 34.0MB in the end (delta: 27.9MB). Peak memory consumption was 33.7MB. Max. memory is 16.1GB. [2024-11-09 01:03:19,424 INFO L158 Benchmark]: Boogie Procedure Inliner took 71.94ms. Allocated memory is still 83.9MB. Free memory was 34.0MB in the beginning and 55.2MB in the end (delta: -21.2MB). Peak memory consumption was 7.3MB. Max. memory is 16.1GB. [2024-11-09 01:03:19,424 INFO L158 Benchmark]: Boogie Preprocessor took 35.23ms. Allocated memory is still 83.9MB. Free memory was 55.2MB in the beginning and 53.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 01:03:19,425 INFO L158 Benchmark]: RCFGBuilder took 492.66ms. Allocated memory is still 83.9MB. Free memory was 52.6MB in the beginning and 34.2MB in the end (delta: 18.4MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-11-09 01:03:19,426 INFO L158 Benchmark]: CodeCheck took 2294.88ms. Allocated memory was 83.9MB in the beginning and 107.0MB in the end (delta: 23.1MB). Free memory was 34.2MB in the beginning and 66.3MB in the end (delta: -32.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:03:19,426 INFO L158 Benchmark]: Witness Printer took 4.72ms. Allocated memory is still 107.0MB. Free memory was 66.3MB in the beginning and 65.6MB in the end (delta: 702.1kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 01:03:19,429 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, 30 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 2.2s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 208 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 44 mSDsluCounter, 205 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 60 mSDsCounter, 43 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 115 IncrementalHoareTripleChecker+Invalid, 158 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 43 mSolverCounterUnsat, 145 mSDtfsCounter, 115 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 465 GetRequests, 449 SyntacticMatches, 0 SemanticMatches, 16 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 32 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 73 NumberOfCodeBlocks, 73 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 52 ConstructedInterpolants, 0 QuantifiedInterpolants, 92 SizeOfPredicates, 0 NumberOfNonLiveVariables, 252 ConjunctsInSsa, 12 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 CWE191_Integer_Underflow__int_fgets_postdec_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 FALSE !(i < 1) 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=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND TRUE i < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND FALSE !(j < 1) VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, 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.53ms. Allocated memory is still 58.7MB. Free memory is still 35.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1367.08ms. Allocated memory is still 83.9MB. Free memory was 61.9MB in the beginning and 34.0MB in the end (delta: 27.9MB). Peak memory consumption was 33.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 71.94ms. Allocated memory is still 83.9MB. Free memory was 34.0MB in the beginning and 55.2MB in the end (delta: -21.2MB). Peak memory consumption was 7.3MB. Max. memory is 16.1GB. * Boogie Preprocessor took 35.23ms. Allocated memory is still 83.9MB. Free memory was 55.2MB in the beginning and 53.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 492.66ms. Allocated memory is still 83.9MB. Free memory was 52.6MB in the beginning and 34.2MB in the end (delta: 18.4MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 2294.88ms. Allocated memory was 83.9MB in the beginning and 107.0MB in the end (delta: 23.1MB). Free memory was 34.2MB in the beginning and 66.3MB in the end (delta: -32.1MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.72ms. Allocated memory is still 107.0MB. Free memory was 66.3MB in the beginning and 65.6MB in the end (delta: 702.1kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-09 01:03:19,478 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_33ce081c-c656-4440-828d-7e8124c09f6f/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample