./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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 9273d609dec5d79d143f17efc5d0dc149e682003f6d792ebfd2d77decf068395 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 00:11:51,140 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 00:11:51,262 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-09 00:11:51,267 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-09 00:11:51,268 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-09 00:11:51,301 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 00:11:51,302 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 00:11:51,302 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 00:11:51,303 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 00:11:51,305 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 00:11:51,306 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 00:11:51,307 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 00:11:51,307 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-09 00:11:51,308 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 00:11:51,308 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 00:11:51,312 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 00:11:51,312 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 00:11:51,313 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 00:11:51,313 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 00:11:51,313 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 00:11:51,314 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 00:11:51,314 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 00:11:51,315 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 00:11:51,315 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 00:11:51,315 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 00:11:51,315 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 00:11:51,316 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:11:51,316 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 00:11:51,316 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 00:11:51,317 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 00:11:51,317 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-09 00:11:51,317 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-09 00:11:51,320 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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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 -> 9273d609dec5d79d143f17efc5d0dc149e682003f6d792ebfd2d77decf068395 [2024-11-09 00:11:51,598 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 00:11:51,621 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 00:11:51,627 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 00:11:51,629 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 00:11:51,629 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 00:11:51,630 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i Unable to find full path for "g++" [2024-11-09 00:11:53,632 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 00:11:54,042 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 00:11:54,047 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i [2024-11-09 00:11:54,077 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/data/9ccce199a/b0e3880c1b304dee91dc33178d275330/FLAG0be0d4d43 [2024-11-09 00:11:54,099 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/data/9ccce199a/b0e3880c1b304dee91dc33178d275330 [2024-11-09 00:11:54,103 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 00:11:54,107 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 00:11:54,108 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 00:11:54,109 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 00:11:54,116 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 00:11:54,116 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:11:54" (1/1) ... [2024-11-09 00:11:54,118 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3ee0a003 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:54, skipping insertion in model container [2024-11-09 00:11:54,120 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:11:54" (1/1) ... [2024-11-09 00:11:54,193 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 00:11:55,297 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:11:55,306 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 00:11:55,400 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:11:55,537 INFO L204 MainTranslator]: Completed translation [2024-11-09 00:11:55,538 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55 WrapperNode [2024-11-09 00:11:55,538 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 00:11:55,539 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 00:11:55,539 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 00:11:55,539 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 00:11:55,546 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,577 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,603 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 87 [2024-11-09 00:11:55,603 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 00:11:55,607 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 00:11:55,607 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 00:11:55,607 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 00:11:55,618 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,618 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,621 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,622 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,627 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,630 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,632 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,634 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,636 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 00:11:55,637 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 00:11:55,637 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 00:11:55,638 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 00:11:55,638 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:11:55" (1/1) ... [2024-11-09 00:11:55,644 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:11:55,658 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 00:11:55,676 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 00:11:55,679 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 00:11:55,741 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 00:11:55,741 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 00:11:55,741 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 00:11:55,741 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 00:11:55,741 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 00:11:55,742 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-09 00:11:55,908 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 00:11:55,910 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 00:11:56,083 INFO L? ?]: Removed 29 outVars from TransFormulas that were not future-live. [2024-11-09 00:11:56,083 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 00:11:56,130 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 00:11:56,130 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 00:11:56,131 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:11:56 BoogieIcfgContainer [2024-11-09 00:11:56,131 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 00:11:56,132 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 00:11:56,132 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 00:11:56,144 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 00:11:56,144 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:11:56" (1/1) ... [2024-11-09 00:11:56,156 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 00:11:56,208 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:11:56,214 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-09 00:11:56,215 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-09 00:11:56,220 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 00:11:56,220 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:11:56,221 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:11:56,423 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:11:56,689 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 00:11:56,793 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:11:56,797 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 35 states and 44 transitions. [2024-11-09 00:11:56,799 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 44 transitions. [2024-11-09 00:11:56,800 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 00:11:56,800 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:11:56,800 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:11:56,853 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:11:56,957 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 00:11:56,984 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:11:56,985 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 36 states and 45 transitions. [2024-11-09 00:11:56,985 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 45 transitions. [2024-11-09 00:11:56,985 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-09 00:11:56,985 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:11:56,986 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:11:57,029 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:11:57,095 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 00:11:57,110 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:11:57,110 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 38 states and 47 transitions. [2024-11-09 00:11:57,111 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 47 transitions. [2024-11-09 00:11:57,111 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 00:11:57,112 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:11:57,112 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:11:57,148 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:11:57,284 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 00:11:57,350 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:11:57,351 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 29 states and 33 transitions. [2024-11-09 00:11:57,351 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 33 transitions. [2024-11-09 00:11:57,352 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 00:11:57,352 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:11:57,352 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:11:57,373 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:11:57,420 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-09 00:11:57,752 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:11:57,753 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 62 states to 37 states and 45 transitions. [2024-11-09 00:11:57,753 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 45 transitions. [2024-11-09 00:11:57,754 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-09 00:11:57,754 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:11:57,754 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:11:57,785 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:11:57,786 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:11:57,804 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:11:57,895 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:11:57,896 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:11:57,911 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:11:57,933 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-09 00:11:57,974 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 12:11:57 ImpRootNode [2024-11-09 00:11:57,975 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 00:11:57,975 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 00:11:57,976 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 00:11:57,977 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 00:11:57,977 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:11:56" (3/4) ... [2024-11-09 00:11:57,980 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 00:11:57,982 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 00:11:57,984 INFO L158 Benchmark]: Toolchain (without parser) took 3878.54ms. Allocated memory is still 146.8MB. Free memory was 113.8MB in the beginning and 65.0MB in the end (delta: 48.8MB). Peak memory consumption was 51.2MB. Max. memory is 16.1GB. [2024-11-09 00:11:57,984 INFO L158 Benchmark]: CDTParser took 0.22ms. Allocated memory is still 113.2MB. Free memory is still 74.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:11:57,985 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1429.91ms. Allocated memory is still 146.8MB. Free memory was 113.2MB in the beginning and 46.9MB in the end (delta: 66.3MB). Peak memory consumption was 67.1MB. Max. memory is 16.1GB. [2024-11-09 00:11:57,986 INFO L158 Benchmark]: Boogie Procedure Inliner took 64.41ms. Allocated memory is still 146.8MB. Free memory was 46.9MB in the beginning and 44.3MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:11:57,987 INFO L158 Benchmark]: Boogie Preprocessor took 29.44ms. Allocated memory is still 146.8MB. Free memory was 43.8MB in the beginning and 42.7MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:11:57,988 INFO L158 Benchmark]: RCFGBuilder took 494.09ms. Allocated memory is still 146.8MB. Free memory was 42.2MB in the beginning and 102.3MB in the end (delta: -60.1MB). Peak memory consumption was 9.1MB. Max. memory is 16.1GB. [2024-11-09 00:11:57,989 INFO L158 Benchmark]: CodeCheck took 1842.98ms. Allocated memory is still 146.8MB. Free memory was 102.3MB in the beginning and 66.0MB in the end (delta: 36.3MB). Peak memory consumption was 37.9MB. Max. memory is 16.1GB. [2024-11-09 00:11:57,990 INFO L158 Benchmark]: Witness Printer took 7.06ms. Allocated memory is still 146.8MB. Free memory was 66.0MB in the beginning and 65.0MB in the end (delta: 1.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:11:57,993 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.8s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 149 SdHoareTripleChecker+Valid, 0.5s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 60 mSDsluCounter, 119 SdHoareTripleChecker+Invalid, 0.4s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 42 mSDsCounter, 50 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 174 IncrementalHoareTripleChecker+Invalid, 224 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 50 mSolverCounterUnsat, 77 mSDtfsCounter, 174 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 499 GetRequests, 477 SyntacticMatches, 0 SemanticMatches, 22 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 118 ImplicationChecksByTransitivity, 0.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 84 NumberOfCodeBlocks, 84 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 62 ConstructedInterpolants, 0 QuantifiedInterpolants, 144 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 4 PerfectInterpolantSequences, 7/8 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of large string literal at line 1579, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1579] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE190_Integer_Overflow__int_fgets_preinc_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND 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=2147483647, 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=2147483647, 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=2147483647, 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=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND TRUE j < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1570] ++data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.22ms. Allocated memory is still 113.2MB. Free memory is still 74.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1429.91ms. Allocated memory is still 146.8MB. Free memory was 113.2MB in the beginning and 46.9MB in the end (delta: 66.3MB). Peak memory consumption was 67.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 64.41ms. Allocated memory is still 146.8MB. Free memory was 46.9MB in the beginning and 44.3MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 29.44ms. Allocated memory is still 146.8MB. Free memory was 43.8MB in the beginning and 42.7MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 494.09ms. Allocated memory is still 146.8MB. Free memory was 42.2MB in the beginning and 102.3MB in the end (delta: -60.1MB). Peak memory consumption was 9.1MB. Max. memory is 16.1GB. * CodeCheck took 1842.98ms. Allocated memory is still 146.8MB. Free memory was 102.3MB in the beginning and 66.0MB in the end (delta: 36.3MB). Peak memory consumption was 37.9MB. Max. memory is 16.1GB. * Witness Printer took 7.06ms. Allocated memory is still 146.8MB. Free memory was 66.0MB in the beginning and 65.0MB in the end (delta: 1.0MB). 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 00:11:58,035 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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 9273d609dec5d79d143f17efc5d0dc149e682003f6d792ebfd2d77decf068395 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 00:12:00,731 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 00:12:00,833 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-09 00:12:00,875 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 00:12:00,876 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 00:12:00,877 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 00:12:00,878 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 00:12:00,879 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 00:12:00,880 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 00:12:00,881 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 00:12:00,881 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 00:12:00,882 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 00:12:00,882 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 00:12:00,883 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 00:12:00,883 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-09 00:12:00,883 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-09 00:12:00,884 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 00:12:00,884 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 00:12:00,884 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-09 00:12:00,885 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 00:12:00,885 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 00:12:00,888 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 00:12:00,888 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 00:12:00,889 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 00:12:00,889 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 00:12:00,889 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 00:12:00,890 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-09 00:12:00,890 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 00:12:00,890 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:12:00,891 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 00:12:00,891 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 00:12:00,895 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 00:12:00,896 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-09 00:12:00,896 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 00:12:00,896 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-09 00:12:00,896 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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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 -> 9273d609dec5d79d143f17efc5d0dc149e682003f6d792ebfd2d77decf068395 [2024-11-09 00:12:01,327 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 00:12:01,352 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 00:12:01,356 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 00:12:01,358 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 00:12:01,359 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 00:12:01,361 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i Unable to find full path for "g++" [2024-11-09 00:12:03,447 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 00:12:03,849 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 00:12:03,849 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_17_bad.i [2024-11-09 00:12:03,871 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/data/095685e47/b3fff6bad2624005b8a7bf428991e6d6/FLAGa2e3dd3e7 [2024-11-09 00:12:04,006 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/data/095685e47/b3fff6bad2624005b8a7bf428991e6d6 [2024-11-09 00:12:04,008 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 00:12:04,010 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 00:12:04,011 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 00:12:04,011 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 00:12:04,016 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 00:12:04,017 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:12:04" (1/1) ... [2024-11-09 00:12:04,018 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3b77820d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:04, skipping insertion in model container [2024-11-09 00:12:04,019 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:12:04" (1/1) ... [2024-11-09 00:12:04,091 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 00:12:05,299 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:12:05,312 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 00:12:05,422 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:12:05,554 INFO L204 MainTranslator]: Completed translation [2024-11-09 00:12:05,555 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05 WrapperNode [2024-11-09 00:12:05,555 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 00:12:05,556 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 00:12:05,556 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 00:12:05,556 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 00:12:05,564 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,596 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,619 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 86 [2024-11-09 00:12:05,620 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 00:12:05,621 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 00:12:05,621 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 00:12:05,621 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 00:12:05,631 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,632 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,635 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,639 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,654 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,662 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,669 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,670 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,678 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 00:12:05,682 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 00:12:05,682 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 00:12:05,682 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 00:12:05,683 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:12:05" (1/1) ... [2024-11-09 00:12:05,693 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:12:05,711 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 00:12:05,727 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 00:12:05,731 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 00:12:05,760 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 00:12:05,760 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 00:12:05,760 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-09 00:12:05,760 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 00:12:05,761 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 00:12:05,761 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 00:12:05,944 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 00:12:05,947 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 00:12:06,187 INFO L? ?]: Removed 26 outVars from TransFormulas that were not future-live. [2024-11-09 00:12:06,187 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 00:12:06,238 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 00:12:06,239 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 00:12:06,239 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:12:06 BoogieIcfgContainer [2024-11-09 00:12:06,239 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 00:12:06,240 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 00:12:06,241 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 00:12:06,251 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 00:12:06,252 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:12:06" (1/1) ... [2024-11-09 00:12:06,262 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 00:12:06,320 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:12:06,326 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-09 00:12:06,326 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-09 00:12:06,331 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 00:12:06,332 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:12:06,332 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:12:06,333 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:12:06,336 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:12:06,338 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-09 00:12:06,551 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:06,554 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:12:06,618 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:06,620 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-09 00:12:06,625 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:12:06,651 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 00:12:06,655 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-09 00:12:06,682 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:12:06,686 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 29 states and 35 transitions. [2024-11-09 00:12:06,686 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 35 transitions. [2024-11-09 00:12:06,687 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 00:12:06,689 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:12:06,689 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:12:06,689 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:12:06,691 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:12:06,709 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-09 00:12:06,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:06,824 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:12:06,852 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:06,853 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-09 00:12:06,854 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:12:06,860 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 00:12:06,865 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-09 00:12:06,865 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 00:12:06,872 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:12:06,872 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 28 states and 34 transitions. [2024-11-09 00:12:06,873 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 34 transitions. [2024-11-09 00:12:06,873 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 00:12:06,873 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:12:06,878 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:12:06,878 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:12:06,880 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:12:06,883 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-09 00:12:07,027 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:07,028 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:12:07,062 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:07,064 INFO L255 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-09 00:12:07,066 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:12:07,138 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 00:12:07,144 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-09 00:12:07,269 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:12:07,270 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 34 states and 43 transitions. [2024-11-09 00:12:07,270 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 43 transitions. [2024-11-09 00:12:07,271 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-09 00:12:07,271 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:12:07,272 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:12:07,272 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:12:07,275 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:12:07,277 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-09 00:12:07,443 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:07,444 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:12:07,484 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:07,485 INFO L255 TraceCheckSpWp]: Trace formula consists of 64 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-09 00:12:07,486 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:12:07,522 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 00:12:07,525 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 00:12:07,528 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-09 00:12:07,553 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:12:07,553 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 36 states and 45 transitions. [2024-11-09 00:12:07,554 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 45 transitions. [2024-11-09 00:12:07,554 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-09 00:12:07,554 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:12:07,555 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:12:07,555 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:12:07,559 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:12:07,560 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-09 00:12:07,752 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:07,752 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:12:07,798 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:12:07,799 INFO L255 TraceCheckSpWp]: Trace formula consists of 78 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-11-09 00:12:07,801 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:12:07,834 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 5 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 00:12:07,838 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 00:12:07,840 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Forceful destruction successful, exit code 0 [2024-11-09 00:12:07,908 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:12:07,910 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 28 states and 32 transitions. [2024-11-09 00:12:07,910 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 32 transitions. [2024-11-09 00:12:07,911 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-09 00:12:07,911 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:12:07,912 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:12:07,912 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:12:07,915 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:12:07,916 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-09 00:12:08,086 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:12:08,086 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:12:08,156 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:12:08,250 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:12:08,250 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:12:08,269 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:12:08,310 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Forceful destruction successful, exit code 0 [2024-11-09 00:12:08,314 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-09 00:12:08,344 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 12:12:08 ImpRootNode [2024-11-09 00:12:08,344 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 00:12:08,345 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 00:12:08,345 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 00:12:08,345 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 00:12:08,346 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:12:06" (3/4) ... [2024-11-09 00:12:08,348 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 00:12:08,349 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 00:12:08,350 INFO L158 Benchmark]: Toolchain (without parser) took 4340.56ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 81.8MB in the beginning and 69.0MB in the end (delta: 12.8MB). Peak memory consumption was 36.5MB. Max. memory is 16.1GB. [2024-11-09 00:12:08,351 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 75.5MB. Free memory is still 51.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:12:08,352 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1544.07ms. Allocated memory is still 109.1MB. Free memory was 81.5MB in the beginning and 62.5MB in the end (delta: 19.0MB). Peak memory consumption was 31.1MB. Max. memory is 16.1GB. [2024-11-09 00:12:08,352 INFO L158 Benchmark]: Boogie Procedure Inliner took 64.42ms. Allocated memory is still 109.1MB. Free memory was 62.5MB in the beginning and 59.6MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:12:08,353 INFO L158 Benchmark]: Boogie Preprocessor took 60.72ms. Allocated memory is still 109.1MB. Free memory was 59.6MB in the beginning and 57.4MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:12:08,354 INFO L158 Benchmark]: RCFGBuilder took 557.52ms. Allocated memory is still 109.1MB. Free memory was 57.4MB in the beginning and 65.6MB in the end (delta: -8.1MB). Peak memory consumption was 10.6MB. Max. memory is 16.1GB. [2024-11-09 00:12:08,354 INFO L158 Benchmark]: CodeCheck took 2103.80ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 65.6MB in the beginning and 69.9MB in the end (delta: -4.3MB). Peak memory consumption was 19.9MB. Max. memory is 16.1GB. [2024-11-09 00:12:08,355 INFO L158 Benchmark]: Witness Printer took 4.93ms. Allocated memory is still 132.1MB. Free memory was 69.9MB in the beginning and 69.0MB in the end (delta: 915.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:12:08,359 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.0s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 235 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 32 mSDsluCounter, 153 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 20 mSDsCounter, 24 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 94 IncrementalHoareTripleChecker+Invalid, 118 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 24 mSolverCounterUnsat, 133 mSDtfsCounter, 94 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 495 GetRequests, 487 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.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 80 NumberOfCodeBlocks, 80 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 58 ConstructedInterpolants, 0 QuantifiedInterpolants, 100 SizeOfPredicates, 0 NumberOfNonLiveVariables, 289 ConjunctsInSsa, 12 ConjunctsInUnsatCore, 5 InterpolantComputations, 4 PerfectInterpolantSequences, 7/8 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of large string literal at line 1579, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1579] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE190_Integer_Overflow__int_fgets_preinc_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND 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=2147483647, 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=2147483647, 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=2147483647, 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=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND TRUE j < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1570] ++data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.33ms. Allocated memory is still 75.5MB. Free memory is still 51.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1544.07ms. Allocated memory is still 109.1MB. Free memory was 81.5MB in the beginning and 62.5MB in the end (delta: 19.0MB). Peak memory consumption was 31.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 64.42ms. Allocated memory is still 109.1MB. Free memory was 62.5MB in the beginning and 59.6MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 60.72ms. Allocated memory is still 109.1MB. Free memory was 59.6MB in the beginning and 57.4MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 557.52ms. Allocated memory is still 109.1MB. Free memory was 57.4MB in the beginning and 65.6MB in the end (delta: -8.1MB). Peak memory consumption was 10.6MB. Max. memory is 16.1GB. * CodeCheck took 2103.80ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 65.6MB in the beginning and 69.9MB in the end (delta: -4.3MB). Peak memory consumption was 19.9MB. Max. memory is 16.1GB. * Witness Printer took 4.93ms. Allocated memory is still 132.1MB. Free memory was 69.9MB in the beginning and 69.0MB in the end (delta: 915.4kB). 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 00:12:08,405 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c489a248-8a6f-4dc2-bec8-e747a6dc9c34/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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample