./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_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_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/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_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/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_2fac7a35-70cf-4abc-bafa-c338e97b133c/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 1508fe2c4b6182b7920da7c63874e555cc58358ff3b0fcec1c9be2977f59c014 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 23:10:24,945 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 23:10:25,027 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 23:10:25,032 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 23:10:25,034 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 23:10:25,078 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 23:10:25,079 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 23:10:25,079 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 23:10:25,080 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 23:10:25,080 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 23:10:25,081 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 23:10:25,082 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 23:10:25,082 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 23:10:25,082 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 23:10:25,082 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 23:10:25,082 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 23:10:25,082 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 23:10:25,083 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 23:10:25,083 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 23:10:25,083 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 23:10:25,083 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 23:10:25,083 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 23:10:25,084 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 23:10:25,084 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 23:10:25,084 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 23:10:25,084 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 23:10:25,084 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 23:10:25,084 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 23:10:25,084 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 23:10:25,085 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 23:10:25,085 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 23:10:25,085 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 23:10:25,085 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_2fac7a35-70cf-4abc-bafa-c338e97b133c/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 -> 1508fe2c4b6182b7920da7c63874e555cc58358ff3b0fcec1c9be2977f59c014 [2024-11-13 23:10:25,404 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 23:10:25,413 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 23:10:25,419 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 23:10:25,420 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 23:10:25,421 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 23:10:25,422 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i Unable to find full path for "g++" [2024-11-13 23:10:27,348 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 23:10:27,819 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 23:10:27,820 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i [2024-11-13 23:10:27,853 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/data/2e9913562/ab5857726ce946a19d65ad1e4314dc21/FLAG0b5385d06 [2024-11-13 23:10:27,914 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/data/2e9913562/ab5857726ce946a19d65ad1e4314dc21 [2024-11-13 23:10:27,918 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 23:10:27,921 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 23:10:27,922 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 23:10:27,922 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 23:10:27,927 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 23:10:27,928 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 11:10:27" (1/1) ... [2024-11-13 23:10:27,930 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6602d377 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:27, skipping insertion in model container [2024-11-13 23:10:27,931 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 11:10:27" (1/1) ... [2024-11-13 23:10:27,996 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 23:10:28,964 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 23:10:28,980 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 23:10:29,123 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 23:10:29,290 INFO L204 MainTranslator]: Completed translation [2024-11-13 23:10:29,292 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29 WrapperNode [2024-11-13 23:10:29,293 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 23:10:29,294 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 23:10:29,294 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 23:10:29,295 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 23:10:29,302 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,333 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,364 INFO L138 Inliner]: procedures = 498, calls = 29, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 74 [2024-11-13 23:10:29,366 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 23:10:29,367 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 23:10:29,367 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 23:10:29,367 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 23:10:29,375 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,376 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,379 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,383 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,392 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,394 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,403 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,404 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,406 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 23:10:29,407 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 23:10:29,411 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 23:10:29,411 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 23:10:29,412 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,427 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 23:10:29,442 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 23:10:29,459 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 23:10:29,468 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 23:10:29,497 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 23:10:29,497 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 23:10:29,498 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrue [2024-11-13 23:10:29,498 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrue [2024-11-13 23:10:29,498 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 23:10:29,498 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 23:10:29,498 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 23:10:29,498 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 23:10:29,701 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 23:10:29,703 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 23:10:29,847 INFO L? ?]: Removed 20 outVars from TransFormulas that were not future-live. [2024-11-13 23:10:29,847 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 23:10:29,884 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 23:10:29,884 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 23:10:29,884 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:10:29 BoogieIcfgContainer [2024-11-13 23:10:29,885 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 23:10:29,885 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 23:10:29,886 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 23:10:29,897 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 23:10:29,897 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:10:29" (1/1) ... [2024-11-13 23:10:29,906 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 23:10:29,961 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 23:10:29,976 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 25 states and 30 transitions. [2024-11-13 23:10:29,977 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 30 transitions. [2024-11-13 23:10:29,982 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-13 23:10:29,983 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 23:10:29,983 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 23:10:30,109 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 23:10:30,339 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-11-13 23:10:30,423 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 23:10:30,424 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 25 states and 29 transitions. [2024-11-13 23:10:30,424 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 29 transitions. [2024-11-13 23:10:30,424 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-13 23:10:30,424 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 23:10:30,425 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 23:10:30,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 23:10:30,639 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 23:10:30,733 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 23:10:30,733 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 30 states and 37 transitions. [2024-11-13 23:10:30,737 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 37 transitions. [2024-11-13 23:10:30,737 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2024-11-13 23:10:30,771 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 23:10:30,771 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 23:10:30,806 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 23:10:30,807 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 23:10:30,820 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 23:10:30,908 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 23:10:30,908 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 23:10:30,932 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 23:10:30,959 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-13 23:10:31,004 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 11:10:31 ImpRootNode [2024-11-13 23:10:31,005 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 23:10:31,005 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 23:10:31,005 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 23:10:31,006 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 23:10:31,008 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:10:29" (3/4) ... [2024-11-13 23:10:31,010 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 23:10:31,011 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 23:10:31,012 INFO L158 Benchmark]: Toolchain (without parser) took 3091.92ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 75.9MB in the end (delta: 13.5MB). Peak memory consumption was 16.0MB. Max. memory is 16.1GB. [2024-11-13 23:10:31,015 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 117.4MB. Free memory is still 74.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 23:10:31,016 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1371.41ms. Allocated memory is still 117.4MB. Free memory was 89.3MB in the beginning and 80.2MB in the end (delta: 9.1MB). Peak memory consumption was 66.3MB. Max. memory is 16.1GB. [2024-11-13 23:10:31,016 INFO L158 Benchmark]: Boogie Procedure Inliner took 71.90ms. Allocated memory is still 117.4MB. Free memory was 80.2MB in the beginning and 77.4MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 23:10:31,017 INFO L158 Benchmark]: Boogie Preprocessor took 39.41ms. Allocated memory is still 117.4MB. Free memory was 77.4MB in the beginning and 76.4MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 23:10:31,017 INFO L158 Benchmark]: RCFGBuilder took 477.62ms. Allocated memory is still 117.4MB. Free memory was 76.4MB in the beginning and 61.8MB in the end (delta: 14.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 23:10:31,017 INFO L158 Benchmark]: CodeCheck took 1119.28ms. Allocated memory is still 117.4MB. Free memory was 61.8MB in the beginning and 75.9MB in the end (delta: -14.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 23:10:31,018 INFO L158 Benchmark]: Witness Printer took 6.10ms. Allocated memory is still 117.4MB. Free memory was 75.9MB in the beginning and 75.9MB in the end (delta: 13.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 23:10:31,020 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 3 procedures, 25 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 86 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 10 mSDsluCounter, 64 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 8 mSDsCounter, 10 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 36 IncrementalHoareTripleChecker+Invalid, 46 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 10 mSolverCounterUnsat, 56 mSDtfsCounter, 36 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 230 GetRequests, 224 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.4s InterpolantComputationTime, 53 NumberOfCodeBlocks, 53 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 32 ConstructedInterpolants, 0 QuantifiedInterpolants, 58 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 1 PerfectInterpolantSequences, 3/4 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: 1569]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1577, overapproximation of fgets at line 1556. 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); [L1577] 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) [L1577] 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] [L1578] CALL CWE190_Integer_Overflow__int_fgets_add_11_bad() [L1550] int data; [L1551] data = 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] [L1552] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1552] RET globalReturnsTrue() 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] [L1552] COND TRUE globalReturnsTrue() [L1555] 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] [L1556] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] data = atoi(inputBuffer) [L1566] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1566] RET globalReturnsTrue() 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] [L1566] COND TRUE globalReturnsTrue() [L1569] data + 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, 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.32ms. Allocated memory is still 117.4MB. Free memory is still 74.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1371.41ms. Allocated memory is still 117.4MB. Free memory was 89.3MB in the beginning and 80.2MB in the end (delta: 9.1MB). Peak memory consumption was 66.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 71.90ms. Allocated memory is still 117.4MB. Free memory was 80.2MB in the beginning and 77.4MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 39.41ms. Allocated memory is still 117.4MB. Free memory was 77.4MB in the beginning and 76.4MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 477.62ms. Allocated memory is still 117.4MB. Free memory was 76.4MB in the beginning and 61.8MB in the end (delta: 14.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1119.28ms. Allocated memory is still 117.4MB. Free memory was 61.8MB in the beginning and 75.9MB in the end (delta: -14.2MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.10ms. Allocated memory is still 117.4MB. Free memory was 75.9MB in the beginning and 75.9MB in the end (delta: 13.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 23:10:31,059 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/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_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/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_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/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_2fac7a35-70cf-4abc-bafa-c338e97b133c/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 1508fe2c4b6182b7920da7c63874e555cc58358ff3b0fcec1c9be2977f59c014 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 23:10:33,730 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 23:10:33,859 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 23:10:33,894 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 23:10:33,894 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 23:10:33,895 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 23:10:33,895 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 23:10:33,895 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 23:10:33,895 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 23:10:33,895 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 23:10:33,896 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 23:10:33,896 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 23:10:33,896 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 23:10:33,896 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 23:10:33,896 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 23:10:33,896 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 23:10:33,896 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 23:10:33,896 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 23:10:33,896 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 23:10:33,897 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 23:10:33,897 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 23:10:33,897 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 23:10:33,897 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 23:10:33,897 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 23:10:33,897 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 23:10:33,897 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 23:10:33,897 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 23:10:33,897 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 23:10:33,898 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 23:10:33,898 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 23:10:33,898 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 23:10:33,898 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 23:10:33,898 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 23:10:33,898 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 23:10:33,898 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 23:10:33,898 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_2fac7a35-70cf-4abc-bafa-c338e97b133c/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 -> 1508fe2c4b6182b7920da7c63874e555cc58358ff3b0fcec1c9be2977f59c014 [2024-11-13 23:10:34,230 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 23:10:34,240 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 23:10:34,242 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 23:10:34,244 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 23:10:34,244 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 23:10:34,245 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i Unable to find full path for "g++" [2024-11-13 23:10:36,226 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 23:10:36,652 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 23:10:36,653 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i [2024-11-13 23:10:36,696 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/data/8bc908b1d/df58e4b11f62473698eac69602c2be86/FLAGf0dfc8da0 [2024-11-13 23:10:36,806 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/data/8bc908b1d/df58e4b11f62473698eac69602c2be86 [2024-11-13 23:10:36,808 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 23:10:36,810 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 23:10:36,813 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 23:10:36,815 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 23:10:36,820 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 23:10:36,822 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 11:10:36" (1/1) ... [2024-11-13 23:10:36,823 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@474cad78 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:36, skipping insertion in model container [2024-11-13 23:10:36,824 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 11:10:36" (1/1) ... [2024-11-13 23:10:36,898 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 23:10:37,823 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 23:10:37,836 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 23:10:37,952 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 23:10:38,173 INFO L204 MainTranslator]: Completed translation [2024-11-13 23:10:38,174 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38 WrapperNode [2024-11-13 23:10:38,174 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 23:10:38,175 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 23:10:38,175 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 23:10:38,176 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 23:10:38,183 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,217 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,248 INFO L138 Inliner]: procedures = 503, calls = 29, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 71 [2024-11-13 23:10:38,248 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 23:10:38,249 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 23:10:38,249 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 23:10:38,249 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 23:10:38,257 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,257 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,261 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,266 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,277 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,282 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,284 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,289 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,295 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 23:10:38,296 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 23:10:38,300 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 23:10:38,300 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 23:10:38,301 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,310 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 23:10:38,327 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 23:10:38,342 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 23:10:38,349 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 23:10:38,373 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 23:10:38,373 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 23:10:38,374 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrue [2024-11-13 23:10:38,374 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrue [2024-11-13 23:10:38,374 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 23:10:38,374 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 23:10:38,375 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 23:10:38,375 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 23:10:38,543 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 23:10:38,545 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 23:10:38,723 INFO L? ?]: Removed 19 outVars from TransFormulas that were not future-live. [2024-11-13 23:10:38,723 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 23:10:38,795 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 23:10:38,800 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 23:10:38,800 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:10:38 BoogieIcfgContainer [2024-11-13 23:10:38,800 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 23:10:38,801 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 23:10:38,801 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 23:10:38,810 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 23:10:38,810 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:10:38" (1/1) ... [2024-11-13 23:10:38,819 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 23:10:38,870 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 23:10:38,882 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 23 states and 28 transitions. [2024-11-13 23:10:38,883 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 28 transitions. [2024-11-13 23:10:38,887 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 23:10:38,888 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 23:10:38,888 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 23:10:38,889 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 23:10:38,894 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 23:10:38,895 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 23:10:39,065 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 23:10:39,068 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 23:10:39,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 23:10:39,110 INFO L255 TraceCheckSpWp]: Trace formula consists of 45 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 23:10:39,113 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 23:10:39,134 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 23:10:39,139 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 23:10:39,167 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 23:10:39,168 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 22 states and 27 transitions. [2024-11-13 23:10:39,168 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 27 transitions. [2024-11-13 23:10:39,168 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-13 23:10:39,168 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 23:10:39,168 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 23:10:39,169 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 23:10:39,171 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 23:10:39,174 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 23:10:39,296 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 23:10:39,297 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 23:10:39,320 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 23:10:39,321 INFO L255 TraceCheckSpWp]: Trace formula consists of 46 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 23:10:39,322 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 23:10:39,378 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 23:10:39,381 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 23:10:39,445 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 23:10:39,445 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 22 states and 26 transitions. [2024-11-13 23:10:39,446 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 26 transitions. [2024-11-13 23:10:39,446 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 23:10:39,446 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 23:10:39,446 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 23:10:39,446 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 23:10:39,450 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 23:10:39,452 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-13 23:10:39,652 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 23:10:39,653 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 23:10:39,733 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 23:10:39,825 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 23:10:39,825 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 23:10:39,850 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 23:10:39,877 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-13 23:10:39,878 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-13 23:10:39,923 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 11:10:39 ImpRootNode [2024-11-13 23:10:39,923 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 23:10:39,923 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 23:10:39,924 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 23:10:39,924 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 23:10:39,924 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:10:38" (3/4) ... [2024-11-13 23:10:39,927 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 23:10:39,927 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 23:10:39,930 INFO L158 Benchmark]: Toolchain (without parser) took 3118.80ms. Allocated memory is still 83.9MB. Free memory was 57.6MB in the beginning and 40.6MB in the end (delta: 17.0MB). Peak memory consumption was 20.3MB. Max. memory is 16.1GB. [2024-11-13 23:10:39,931 INFO L158 Benchmark]: CDTParser took 0.42ms. Allocated memory is still 83.9MB. Free memory is still 64.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 23:10:39,931 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1362.09ms. Allocated memory is still 83.9MB. Free memory was 57.2MB in the beginning and 49.8MB in the end (delta: 7.4MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. [2024-11-13 23:10:39,931 INFO L158 Benchmark]: Boogie Procedure Inliner took 72.84ms. Allocated memory is still 83.9MB. Free memory was 49.8MB in the beginning and 47.2MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 23:10:39,931 INFO L158 Benchmark]: Boogie Preprocessor took 46.83ms. Allocated memory is still 83.9MB. Free memory was 47.2MB in the beginning and 45.7MB in the end (delta: 1.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 23:10:39,932 INFO L158 Benchmark]: RCFGBuilder took 504.00ms. Allocated memory is still 83.9MB. Free memory was 45.3MB in the beginning and 53.0MB in the end (delta: -7.6MB). Peak memory consumption was 17.9MB. Max. memory is 16.1GB. [2024-11-13 23:10:39,932 INFO L158 Benchmark]: CodeCheck took 1122.12ms. Allocated memory is still 83.9MB. Free memory was 53.0MB in the beginning and 40.6MB in the end (delta: 12.3MB). Peak memory consumption was 9.8MB. Max. memory is 16.1GB. [2024-11-13 23:10:39,932 INFO L158 Benchmark]: Witness Printer took 4.14ms. Allocated memory is still 83.9MB. Free memory was 40.6MB in the beginning and 40.6MB in the end (delta: 4.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 23:10:39,936 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 3 procedures, 23 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 73 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 39 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 13 IncrementalHoareTripleChecker+Invalid, 17 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 39 mSDtfsCounter, 13 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 204 GetRequests, 200 SyntacticMatches, 0 SemanticMatches, 4 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, 46 NumberOfCodeBlocks, 46 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 27 ConstructedInterpolants, 0 QuantifiedInterpolants, 31 SizeOfPredicates, 0 NumberOfNonLiveVariables, 91 ConjunctsInSsa, 4 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 4/4 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: 1569]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1577, overapproximation of fgets at line 1556. 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); [L1577] 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) [L1577] 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] [L1578] CALL CWE190_Integer_Overflow__int_fgets_add_11_bad() [L1550] int data; [L1551] data = 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] [L1552] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1552] RET globalReturnsTrue() 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] [L1552] COND TRUE globalReturnsTrue() [L1555] 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] [L1556] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] data = atoi(inputBuffer) [L1566] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1566] RET globalReturnsTrue() 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] [L1566] COND TRUE globalReturnsTrue() [L1569] data + 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, 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 is still 64.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1362.09ms. Allocated memory is still 83.9MB. Free memory was 57.2MB in the beginning and 49.8MB in the end (delta: 7.4MB). Peak memory consumption was 58.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 72.84ms. Allocated memory is still 83.9MB. Free memory was 49.8MB in the beginning and 47.2MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 46.83ms. Allocated memory is still 83.9MB. Free memory was 47.2MB in the beginning and 45.7MB in the end (delta: 1.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 504.00ms. Allocated memory is still 83.9MB. Free memory was 45.3MB in the beginning and 53.0MB in the end (delta: -7.6MB). Peak memory consumption was 17.9MB. Max. memory is 16.1GB. * CodeCheck took 1122.12ms. Allocated memory is still 83.9MB. Free memory was 53.0MB in the beginning and 40.6MB in the end (delta: 12.3MB). Peak memory consumption was 9.8MB. Max. memory is 16.1GB. * Witness Printer took 4.14ms. Allocated memory is still 83.9MB. Free memory was 40.6MB in the beginning and 40.6MB in the end (delta: 4.2kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 23:10:39,970 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2fac7a35-70cf-4abc-bafa-c338e97b133c/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