./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_06_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_06_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 4620415c97e758de5d8f5678e7aa44f815600de83db57562bf3c00035e5d8e72 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:59:01,189 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:59:01,286 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 21:59:01,296 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:59:01,297 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:59:01,316 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:59:01,317 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:59:01,318 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:59:01,318 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:59:01,318 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:59:01,318 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:59:01,318 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:59:01,319 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:59:01,319 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:59:01,319 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:59:01,319 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:59:01,319 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:59:01,319 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:59:01,319 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:59:01,320 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:59:01,320 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:59:01,320 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:59:01,320 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:59:01,320 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:59:01,320 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:59:01,320 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:59:01,325 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:59:01,325 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:59:01,325 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:59:01,325 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:59:01,325 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:59:01,326 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:59:01,326 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 4620415c97e758de5d8f5678e7aa44f815600de83db57562bf3c00035e5d8e72 [2024-11-13 21:59:01,607 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:59:01,619 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:59:01,621 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:59:01,624 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:59:01,625 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:59:01,626 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_06_bad.i Unable to find full path for "g++" [2024-11-13 21:59:03,624 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:59:04,064 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:59:04,065 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_06_bad.i [2024-11-13 21:59:04,090 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/data/db3ef6d7a/bb1779ada40e4ef3bb062b36539df7ce/FLAG1f6ba42d7 [2024-11-13 21:59:04,105 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/data/db3ef6d7a/bb1779ada40e4ef3bb062b36539df7ce [2024-11-13 21:59:04,108 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:59:04,110 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:59:04,111 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:59:04,111 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:59:04,116 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:59:04,117 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:59:04" (1/1) ... [2024-11-13 21:59:04,118 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6e22f267 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:04, skipping insertion in model container [2024-11-13 21:59:04,118 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:59:04" (1/1) ... [2024-11-13 21:59:04,186 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:59:05,179 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:59:05,189 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:59:05,328 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:59:05,503 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:59:05,504 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05 WrapperNode [2024-11-13 21:59:05,504 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:59:05,506 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:59:05,506 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:59:05,507 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:59:05,513 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,532 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,552 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 70 [2024-11-13 21:59:05,553 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:59:05,553 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:59:05,554 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:59:05,554 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:59:05,561 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,562 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,564 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,565 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,569 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,572 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,573 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,574 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,576 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:59:05,577 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:59:05,577 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:59:05,577 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:59:05,578 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,584 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:59:05,598 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:59:05,613 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:59:05,616 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:59:05,635 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:59:05,635 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:59:05,635 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:59:05,635 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:59:05,635 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:59:05,635 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 21:59:05,775 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:59:05,777 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:59:05,898 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2024-11-13 21:59:05,898 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:59:05,936 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:59:05,936 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:59:05,937 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:59:05 BoogieIcfgContainer [2024-11-13 21:59:05,937 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:59:05,937 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:59:05,938 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:59:05,947 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:59:05,948 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:59:05" (1/1) ... [2024-11-13 21:59:05,955 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:59:06,000 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:59:06,009 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 19 states and 23 transitions. [2024-11-13 21:59:06,010 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2024-11-13 21:59:06,014 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 21:59:06,014 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:59:06,015 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:59:06,122 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:59:06,209 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:59:06,277 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:59:06,277 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 19 states and 22 transitions. [2024-11-13 21:59:06,278 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 22 transitions. [2024-11-13 21:59:06,278 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 21:59:06,278 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:59:06,279 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:59:06,331 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:59:06,569 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:59:06,643 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:59:06,645 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 22 states and 27 transitions. [2024-11-13 21:59:06,645 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 27 transitions. [2024-11-13 21:59:06,646 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 21:59:06,646 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:59:06,646 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:59:06,695 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:59:06,695 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:59:06,711 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:59:06,800 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:59:06,801 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:59:06,819 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:59:06,843 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-13 21:59:06,879 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:59:06 ImpRootNode [2024-11-13 21:59:06,879 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:59:06,880 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:59:06,880 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:59:06,880 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:59:06,881 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:59:05" (3/4) ... [2024-11-13 21:59:06,883 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:59:06,884 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:59:06,885 INFO L158 Benchmark]: Toolchain (without parser) took 2775.34ms. Allocated memory is still 117.4MB. Free memory was 89.4MB in the beginning and 71.3MB in the end (delta: 18.0MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 21:59:06,888 INFO L158 Benchmark]: CDTParser took 0.34ms. Allocated memory is still 117.4MB. Free memory is still 75.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:59:06,889 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1394.54ms. Allocated memory is still 117.4MB. Free memory was 89.2MB in the beginning and 80.0MB in the end (delta: 9.2MB). Peak memory consumption was 66.3MB. Max. memory is 16.1GB. [2024-11-13 21:59:06,889 INFO L158 Benchmark]: Boogie Procedure Inliner took 46.83ms. Allocated memory is still 117.4MB. Free memory was 80.0MB in the beginning and 77.8MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:59:06,889 INFO L158 Benchmark]: Boogie Preprocessor took 22.71ms. Allocated memory is still 117.4MB. Free memory was 77.8MB in the beginning and 76.7MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:59:06,890 INFO L158 Benchmark]: RCFGBuilder took 359.89ms. Allocated memory is still 117.4MB. Free memory was 76.7MB in the beginning and 62.2MB in the end (delta: 14.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:59:06,890 INFO L158 Benchmark]: CodeCheck took 941.72ms. Allocated memory is still 117.4MB. Free memory was 62.2MB in the beginning and 71.8MB in the end (delta: -9.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:59:06,890 INFO L158 Benchmark]: Witness Printer took 4.38ms. Allocated memory is still 117.4MB. Free memory was 71.8MB in the beginning and 71.3MB in the end (delta: 506.4kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:59:06,896 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, 19 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.9s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 48 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 6 mSDsluCounter, 44 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 8 mSDsCounter, 10 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 22 IncrementalHoareTripleChecker+Invalid, 32 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 10 mSolverCounterUnsat, 36 mSDtfsCounter, 22 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 140 GetRequests, 134 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 29 NumberOfCodeBlocks, 29 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 16 ConstructedInterpolants, 0 QuantifiedInterpolants, 34 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 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); [L1548] static const int STATIC_CONST_FIVE = 5; [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, \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, STATIC_CONST_FIVE=5, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE190_Integer_Overflow__int_fgets_postinc_06_bad() [L1551] int data; [L1552] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1553] COND TRUE STATIC_CONST_FIVE==5 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1567] COND TRUE STATIC_CONST_FIVE==5 [L1570] data++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.34ms. Allocated memory is still 117.4MB. Free memory is still 75.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1394.54ms. Allocated memory is still 117.4MB. Free memory was 89.2MB in the beginning and 80.0MB in the end (delta: 9.2MB). Peak memory consumption was 66.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 46.83ms. Allocated memory is still 117.4MB. Free memory was 80.0MB in the beginning and 77.8MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 22.71ms. Allocated memory is still 117.4MB. Free memory was 77.8MB in the beginning and 76.7MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 359.89ms. Allocated memory is still 117.4MB. Free memory was 76.7MB in the beginning and 62.2MB in the end (delta: 14.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 941.72ms. Allocated memory is still 117.4MB. Free memory was 62.2MB in the beginning and 71.8MB in the end (delta: -9.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.38ms. Allocated memory is still 117.4MB. Free memory was 71.8MB in the beginning and 71.3MB in the end (delta: 506.4kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 21:59:06,931 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_06_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 4620415c97e758de5d8f5678e7aa44f815600de83db57562bf3c00035e5d8e72 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:59:09,551 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:59:09,707 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 21:59:09,755 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:59:09,758 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:59:09,758 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:59:09,759 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:59:09,759 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:59:09,760 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:59:09,760 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:59:09,762 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:59:09,762 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:59:09,762 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:59:09,762 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:59:09,763 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 21:59:09,763 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 21:59:09,763 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:59:09,763 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:59:09,763 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 21:59:09,763 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:59:09,764 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:59:09,764 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:59:09,764 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:59:09,765 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:59:09,765 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:59:09,765 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:59:09,765 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 21:59:09,765 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:59:09,765 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:59:09,766 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:59:09,766 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:59:09,766 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:59:09,766 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 21:59:09,766 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:59:09,766 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 21:59:09,767 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 4620415c97e758de5d8f5678e7aa44f815600de83db57562bf3c00035e5d8e72 [2024-11-13 21:59:10,178 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:59:10,192 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:59:10,197 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:59:10,199 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:59:10,200 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:59:10,201 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_06_bad.i Unable to find full path for "g++" [2024-11-13 21:59:12,197 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:59:12,593 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:59:12,594 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_postinc_06_bad.i [2024-11-13 21:59:12,631 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/data/7806345c5/deb7c760cdb143f1913f82f51e482939/FLAG365b3d8e0 [2024-11-13 21:59:12,653 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/data/7806345c5/deb7c760cdb143f1913f82f51e482939 [2024-11-13 21:59:12,657 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:59:12,659 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:59:12,662 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:59:12,663 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:59:12,668 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:59:12,669 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:59:12" (1/1) ... [2024-11-13 21:59:12,672 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@65c30009 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:12, skipping insertion in model container [2024-11-13 21:59:12,672 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:59:12" (1/1) ... [2024-11-13 21:59:12,739 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:59:13,654 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:59:13,670 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:59:13,795 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:59:13,964 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:59:13,965 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13 WrapperNode [2024-11-13 21:59:13,965 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:59:13,967 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:59:13,967 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:59:13,967 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:59:13,974 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:13,998 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,028 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 69 [2024-11-13 21:59:14,029 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:59:14,030 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:59:14,030 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:59:14,030 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:59:14,038 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,038 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,041 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,041 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,049 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,051 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,053 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,055 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,058 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:59:14,059 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:59:14,059 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:59:14,059 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:59:14,060 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:59:13" (1/1) ... [2024-11-13 21:59:14,070 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:59:14,089 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:59:14,102 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:59:14,107 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:59:14,136 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:59:14,137 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:59:14,137 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 21:59:14,137 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:59:14,137 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:59:14,137 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:59:14,356 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:59:14,358 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:59:14,603 INFO L? ?]: Removed 20 outVars from TransFormulas that were not future-live. [2024-11-13 21:59:14,603 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:59:14,675 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:59:14,675 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:59:14,676 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:59:14 BoogieIcfgContainer [2024-11-13 21:59:14,676 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:59:14,676 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:59:14,677 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:59:14,690 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:59:14,690 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:59:14" (1/1) ... [2024-11-13 21:59:14,699 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:59:14,743 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:59:14,754 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 19 states and 23 transitions. [2024-11-13 21:59:14,755 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2024-11-13 21:59:14,760 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 21:59:14,761 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:59:14,762 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:59:14,762 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:59:14,765 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:59:14,768 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 21:59:14,919 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:59:14,921 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:59:14,968 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:59:14,970 INFO L255 TraceCheckSpWp]: Trace formula consists of 37 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 21:59:14,973 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:59:15,001 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:59:15,003 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 21:59:15,005 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 21:59:15,033 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:59:15,034 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 18 states and 22 transitions. [2024-11-13 21:59:15,034 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 22 transitions. [2024-11-13 21:59:15,035 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:59:15,035 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:59:15,036 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:59:15,036 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:59:15,038 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:59:15,041 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 21:59:15,177 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:59:15,178 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:59:15,205 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:59:15,206 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 21:59:15,208 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:59:15,251 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:59:15,257 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 21:59:15,340 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:59:15,342 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 20 states and 26 transitions. [2024-11-13 21:59:15,342 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 26 transitions. [2024-11-13 21:59:15,343 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 21:59:15,344 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:59:15,344 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:59:15,344 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:59:15,346 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:59:15,349 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-13 21:59:15,552 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:59:15,552 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:59:15,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:59:15,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:59:15,729 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:59:15,752 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:59:15,782 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-13 21:59:15,782 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-13 21:59:15,825 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:59:15 ImpRootNode [2024-11-13 21:59:15,825 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:59:15,826 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:59:15,826 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:59:15,827 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:59:15,827 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:59:14" (3/4) ... [2024-11-13 21:59:15,830 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:59:15,831 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:59:15,835 INFO L158 Benchmark]: Toolchain (without parser) took 3173.31ms. Allocated memory is still 109.1MB. Free memory was 82.1MB in the beginning and 39.0MB in the end (delta: 43.0MB). Peak memory consumption was 42.7MB. Max. memory is 16.1GB. [2024-11-13 21:59:15,835 INFO L158 Benchmark]: CDTParser took 0.42ms. Allocated memory is still 83.9MB. Free memory was 64.6MB in the beginning and 64.5MB in the end (delta: 37.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:59:15,836 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1304.09ms. Allocated memory is still 109.1MB. Free memory was 82.1MB in the beginning and 62.3MB in the end (delta: 19.7MB). Peak memory consumption was 57.8MB. Max. memory is 16.1GB. [2024-11-13 21:59:15,838 INFO L158 Benchmark]: Boogie Procedure Inliner took 62.38ms. Allocated memory is still 109.1MB. Free memory was 61.7MB in the beginning and 59.3MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:59:15,839 INFO L158 Benchmark]: Boogie Preprocessor took 28.24ms. Allocated memory is still 109.1MB. Free memory was 59.3MB in the beginning and 57.4MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:59:15,839 INFO L158 Benchmark]: RCFGBuilder took 617.19ms. Allocated memory is still 109.1MB. Free memory was 57.4MB in the beginning and 72.6MB in the end (delta: -15.2MB). Peak memory consumption was 23.9MB. Max. memory is 16.1GB. [2024-11-13 21:59:15,839 INFO L158 Benchmark]: CodeCheck took 1148.96ms. Allocated memory is still 109.1MB. Free memory was 72.6MB in the beginning and 39.5MB in the end (delta: 33.1MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 21:59:15,840 INFO L158 Benchmark]: Witness Printer took 5.53ms. Allocated memory is still 109.1MB. Free memory was 39.5MB in the beginning and 39.0MB in the end (delta: 490.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:59:15,844 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, 19 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.1s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 57 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 8 mSDsluCounter, 45 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 6 mSDsCounter, 5 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 16 IncrementalHoareTripleChecker+Invalid, 21 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 5 mSolverCounterUnsat, 39 mSDtfsCounter, 16 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 136 GetRequests, 134 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 28 NumberOfCodeBlocks, 28 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 15 ConstructedInterpolants, 0 QuantifiedInterpolants, 25 SizeOfPredicates, 0 NumberOfNonLiveVariables, 75 ConjunctsInSsa, 3 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 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); [L1548] static const int STATIC_CONST_FIVE = 5; [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, \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, STATIC_CONST_FIVE=5, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE190_Integer_Overflow__int_fgets_postinc_06_bad() [L1551] int data; [L1552] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1553] COND TRUE STATIC_CONST_FIVE==5 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1567] COND TRUE STATIC_CONST_FIVE==5 [L1570] data++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.42ms. Allocated memory is still 83.9MB. Free memory was 64.6MB in the beginning and 64.5MB in the end (delta: 37.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1304.09ms. Allocated memory is still 109.1MB. Free memory was 82.1MB in the beginning and 62.3MB in the end (delta: 19.7MB). Peak memory consumption was 57.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 62.38ms. Allocated memory is still 109.1MB. Free memory was 61.7MB in the beginning and 59.3MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 28.24ms. Allocated memory is still 109.1MB. Free memory was 59.3MB in the beginning and 57.4MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 617.19ms. Allocated memory is still 109.1MB. Free memory was 57.4MB in the beginning and 72.6MB in the end (delta: -15.2MB). Peak memory consumption was 23.9MB. Max. memory is 16.1GB. * CodeCheck took 1148.96ms. Allocated memory is still 109.1MB. Free memory was 72.6MB in the beginning and 39.5MB in the end (delta: 33.1MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * Witness Printer took 5.53ms. Allocated memory is still 109.1MB. Free memory was 39.5MB in the beginning and 39.0MB in the end (delta: 490.7kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 21:59:15,886 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89cb4e83-ef52-4b07-b02e-e6e905c0a908/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample