./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_sub_05_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_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/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_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_sub_05_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/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_32712c0e-6bc3-498d-a3f1-b8568ec91d08/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 1699dd4961ea1505df001279358802ced2a8c8e85ca3469141f623cc6098fb9a --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:21:36,457 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:21:36,513 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 22:21:36,518 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:21:36,518 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:21:36,540 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:21:36,540 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:21:36,541 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:21:36,541 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:21:36,541 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:21:36,541 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:21:36,542 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:21:36,542 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:21:36,542 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:21:36,542 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:21:36,542 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:21:36,542 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:21:36,542 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:21:36,543 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:21:36,543 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:21:36,543 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:21:36,543 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:21:36,543 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:21:36,543 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:21:36,544 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:21:36,544 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:21:36,544 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:21:36,544 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:21:36,544 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:21:36,544 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:21:36,545 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:21:36,545 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:21:36,545 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_32712c0e-6bc3-498d-a3f1-b8568ec91d08/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 -> 1699dd4961ea1505df001279358802ced2a8c8e85ca3469141f623cc6098fb9a [2024-11-13 22:21:36,883 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:21:36,895 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:21:36,897 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:21:36,899 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:21:36,901 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:21:36,903 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_sub_05_bad.i Unable to find full path for "g++" [2024-11-13 22:21:38,791 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:21:39,167 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:21:39,168 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_sub_05_bad.i [2024-11-13 22:21:39,205 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/data/af70d3c54/31b2ba9e40aa45c18cf06715d2bca665/FLAGaa2590e60 [2024-11-13 22:21:39,230 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/data/af70d3c54/31b2ba9e40aa45c18cf06715d2bca665 [2024-11-13 22:21:39,232 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:21:39,234 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:21:39,235 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:21:39,235 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:21:39,241 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:21:39,242 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:21:39" (1/1) ... [2024-11-13 22:21:39,245 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@780c4513 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:39, skipping insertion in model container [2024-11-13 22:21:39,245 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:21:39" (1/1) ... [2024-11-13 22:21:39,304 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:21:40,315 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:21:40,327 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:21:40,432 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:21:40,568 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:21:40,568 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40 WrapperNode [2024-11-13 22:21:40,569 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:21:40,570 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:21:40,570 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:21:40,570 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:21:40,575 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,595 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,615 INFO L138 Inliner]: procedures = 497, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 46 [2024-11-13 22:21:40,616 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:21:40,616 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:21:40,617 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:21:40,617 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:21:40,625 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,625 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,628 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,629 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,640 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,642 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,643 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,645 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,653 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:21:40,654 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:21:40,654 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:21:40,654 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:21:40,655 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:40" (1/1) ... [2024-11-13 22:21:40,662 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:21:40,676 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:21:40,692 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:21:40,697 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:21:40,731 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:21:40,731 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:21:40,731 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:21:40,732 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:21:40,732 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:21:40,899 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:21:40,901 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:21:41,006 INFO L? ?]: Removed 19 outVars from TransFormulas that were not future-live. [2024-11-13 22:21:41,006 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:21:41,072 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:21:41,072 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:21:41,073 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:21:41 BoogieIcfgContainer [2024-11-13 22:21:41,073 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:21:41,074 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:21:41,074 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:21:41,087 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:21:41,087 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:21:41" (1/1) ... [2024-11-13 22:21:41,097 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:21:41,156 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:21:41,168 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 22:21:41,170 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 22:21:41,174 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 22:21:41,174 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:21:41,176 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:21:41,326 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:21:41,326 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:21:41,354 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:21:41,435 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:21:41,435 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:21:41,459 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:21:41,483 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:21:41,517 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:21:41 ImpRootNode [2024-11-13 22:21:41,518 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:21:41,518 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:21:41,518 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:21:41,519 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:21:41,519 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:21:41" (3/4) ... [2024-11-13 22:21:41,522 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:21:41,523 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:21:41,524 INFO L158 Benchmark]: Toolchain (without parser) took 2290.04ms. Allocated memory is still 142.6MB. Free memory was 113.0MB in the beginning and 91.0MB in the end (delta: 22.1MB). Peak memory consumption was 21.9MB. Max. memory is 16.1GB. [2024-11-13 22:21:41,524 INFO L158 Benchmark]: CDTParser took 0.95ms. Allocated memory is still 117.4MB. Free memory is still 74.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:21:41,525 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1333.87ms. Allocated memory is still 142.6MB. Free memory was 112.9MB in the beginning and 52.9MB in the end (delta: 60.0MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2024-11-13 22:21:41,525 INFO L158 Benchmark]: Boogie Procedure Inliner took 46.26ms. Allocated memory is still 142.6MB. Free memory was 52.9MB in the beginning and 50.3MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:21:41,526 INFO L158 Benchmark]: Boogie Preprocessor took 36.46ms. Allocated memory is still 142.6MB. Free memory was 50.3MB in the beginning and 49.4MB in the end (delta: 935.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:21:41,526 INFO L158 Benchmark]: RCFGBuilder took 419.43ms. Allocated memory is still 142.6MB. Free memory was 49.4MB in the beginning and 105.4MB in the end (delta: -56.0MB). Peak memory consumption was 13.5MB. Max. memory is 16.1GB. [2024-11-13 22:21:41,526 INFO L158 Benchmark]: CodeCheck took 444.01ms. Allocated memory is still 142.6MB. Free memory was 105.4MB in the beginning and 91.0MB in the end (delta: 14.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:21:41,527 INFO L158 Benchmark]: Witness Printer took 4.76ms. Allocated memory is still 142.6MB. Free memory is still 91.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:21:41,529 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, 14 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.4s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 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.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 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: 1561]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of large string literal at line 1569. 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 int staticTrue = 1; [L1549] static int staticFalse = 0; [L1569] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={1:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, staticFalse=0, staticTrue=1] [L1414] COND TRUE line != ((void *)0) [L1569] 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, staticFalse=0, staticTrue=1] [L1570] CALL CWE191_Integer_Underflow__int_fscanf_sub_05_bad() [L1552] int data; [L1553] data = 0 [L1554] COND TRUE \read(staticTrue) [L1558] COND TRUE \read(staticTrue) VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, staticFalse=0, staticTrue=1] [L1561] 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, staticFalse=0, staticTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.95ms. Allocated memory is still 117.4MB. Free memory is still 74.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1333.87ms. Allocated memory is still 142.6MB. Free memory was 112.9MB in the beginning and 52.9MB in the end (delta: 60.0MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 46.26ms. Allocated memory is still 142.6MB. Free memory was 52.9MB in the beginning and 50.3MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 36.46ms. Allocated memory is still 142.6MB. Free memory was 50.3MB in the beginning and 49.4MB in the end (delta: 935.8kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 419.43ms. Allocated memory is still 142.6MB. Free memory was 49.4MB in the beginning and 105.4MB in the end (delta: -56.0MB). Peak memory consumption was 13.5MB. Max. memory is 16.1GB. * CodeCheck took 444.01ms. Allocated memory is still 142.6MB. Free memory was 105.4MB in the beginning and 91.0MB in the end (delta: 14.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 4.76ms. Allocated memory is still 142.6MB. Free memory is still 91.0MB. There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 22:21:41,560 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/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_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_sub_05_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/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_32712c0e-6bc3-498d-a3f1-b8568ec91d08/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 1699dd4961ea1505df001279358802ced2a8c8e85ca3469141f623cc6098fb9a --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:21:44,884 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:21:45,035 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 22:21:45,100 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:21:45,101 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:21:45,102 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:21:45,102 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:21:45,102 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:21:45,103 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:21:45,104 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:21:45,105 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:21:45,105 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:21:45,105 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:21:45,105 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:21:45,105 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:21:45,105 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:21:45,106 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:21:45,106 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:21:45,106 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:21:45,106 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:21:45,106 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:21:45,106 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:21:45,106 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:21:45,107 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:21:45,107 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:21:45,107 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:21:45,107 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:21:45,107 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:21:45,108 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:21:45,108 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:21:45,108 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:21:45,109 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:21:45,109 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:21:45,109 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:21:45,110 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:21:45,110 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_32712c0e-6bc3-498d-a3f1-b8568ec91d08/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 -> 1699dd4961ea1505df001279358802ced2a8c8e85ca3469141f623cc6098fb9a [2024-11-13 22:21:45,530 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:21:45,542 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:21:45,545 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:21:45,547 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:21:45,548 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:21:45,550 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_sub_05_bad.i Unable to find full path for "g++" [2024-11-13 22:21:47,942 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:21:48,435 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:21:48,435 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_sub_05_bad.i [2024-11-13 22:21:48,476 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/data/e4ac5b497/f00fff9a89324336b84fd9208702a63a/FLAG0714ca457 [2024-11-13 22:21:48,534 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/data/e4ac5b497/f00fff9a89324336b84fd9208702a63a [2024-11-13 22:21:48,537 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:21:48,538 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:21:48,540 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:21:48,541 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:21:48,546 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:21:48,547 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:21:48" (1/1) ... [2024-11-13 22:21:48,548 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@25b176af and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:48, skipping insertion in model container [2024-11-13 22:21:48,550 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:21:48" (1/1) ... [2024-11-13 22:21:48,615 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:21:49,751 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:21:49,766 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:21:49,879 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:21:50,070 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:21:50,070 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50 WrapperNode [2024-11-13 22:21:50,071 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:21:50,072 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:21:50,072 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:21:50,072 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:21:50,078 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,106 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,136 INFO L138 Inliner]: procedures = 502, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 45 [2024-11-13 22:21:50,137 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:21:50,138 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:21:50,138 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:21:50,138 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:21:50,145 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,146 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,151 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,151 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,166 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,167 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,171 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,172 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,182 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:21:50,183 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:21:50,183 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:21:50,183 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:21:50,188 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,198 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:21:50,215 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:21:50,229 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:21:50,233 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:21:50,262 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:21:50,262 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:21:50,262 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:21:50,262 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:21:50,263 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:21:50,437 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:21:50,439 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:21:50,576 INFO L? ?]: Removed 18 outVars from TransFormulas that were not future-live. [2024-11-13 22:21:50,576 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:21:50,651 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:21:50,651 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:21:50,651 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:21:50 BoogieIcfgContainer [2024-11-13 22:21:50,652 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:21:50,652 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:21:50,652 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:21:50,662 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:21:50,663 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:21:50" (1/1) ... [2024-11-13 22:21:50,671 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:21:50,718 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:21:50,728 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 22:21:50,729 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 22:21:50,733 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 22:21:50,733 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:21:50,734 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:21:50,734 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:21:50,738 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:21:50,739 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:21:50,915 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:21:50,916 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:21:50,976 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:21:51,055 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:21:51,055 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:21:51,111 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:21:51,136 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 22:21:51,138 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:21:51,170 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:21:51 ImpRootNode [2024-11-13 22:21:51,170 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:21:51,171 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:21:51,171 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:21:51,171 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:21:51,173 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:21:50" (3/4) ... [2024-11-13 22:21:51,176 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:21:51,177 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:21:51,180 INFO L158 Benchmark]: Toolchain (without parser) took 2639.17ms. Allocated memory is still 117.4MB. Free memory was 91.2MB in the beginning and 83.3MB in the end (delta: 7.9MB). Peak memory consumption was 11.0MB. Max. memory is 16.1GB. [2024-11-13 22:21:51,180 INFO L158 Benchmark]: CDTParser took 0.57ms. Allocated memory is still 83.9MB. Free memory is still 48.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:21:51,181 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1531.19ms. Allocated memory is still 117.4MB. Free memory was 91.2MB in the beginning and 77.9MB in the end (delta: 13.3MB). Peak memory consumption was 58.0MB. Max. memory is 16.1GB. [2024-11-13 22:21:51,181 INFO L158 Benchmark]: Boogie Procedure Inliner took 65.79ms. Allocated memory is still 117.4MB. Free memory was 77.9MB in the beginning and 75.3MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:21:51,181 INFO L158 Benchmark]: Boogie Preprocessor took 44.25ms. Allocated memory is still 117.4MB. Free memory was 75.3MB in the beginning and 73.9MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:21:51,182 INFO L158 Benchmark]: RCFGBuilder took 468.84ms. Allocated memory is still 117.4MB. Free memory was 73.3MB in the beginning and 58.5MB in the end (delta: 14.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:21:51,182 INFO L158 Benchmark]: CodeCheck took 518.08ms. Allocated memory is still 117.4MB. Free memory was 57.9MB in the beginning and 83.3MB in the end (delta: -25.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:21:51,182 INFO L158 Benchmark]: Witness Printer took 5.83ms. Allocated memory is still 117.4MB. Free memory was 83.3MB in the beginning and 83.3MB in the end (delta: 19.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:21:51,188 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, 14 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 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.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 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: 1561]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of large string literal at line 1569. 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 int staticTrue = 1; [L1549] static int staticFalse = 0; [L1569] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={1:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, staticFalse=0, staticTrue=1] [L1414] COND TRUE line != ((void *)0) [L1569] 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, staticFalse=0, staticTrue=1] [L1570] CALL CWE191_Integer_Underflow__int_fscanf_sub_05_bad() [L1552] int data; [L1553] data = 0 [L1554] COND TRUE \read(staticTrue) [L1558] COND TRUE \read(staticTrue) VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, staticFalse=0, staticTrue=1] [L1561] 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, staticFalse=0, staticTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.57ms. Allocated memory is still 83.9MB. Free memory is still 48.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1531.19ms. Allocated memory is still 117.4MB. Free memory was 91.2MB in the beginning and 77.9MB in the end (delta: 13.3MB). Peak memory consumption was 58.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 65.79ms. Allocated memory is still 117.4MB. Free memory was 77.9MB in the beginning and 75.3MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 44.25ms. Allocated memory is still 117.4MB. Free memory was 75.3MB in the beginning and 73.9MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 468.84ms. Allocated memory is still 117.4MB. Free memory was 73.3MB in the beginning and 58.5MB in the end (delta: 14.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 518.08ms. Allocated memory is still 117.4MB. Free memory was 57.9MB in the beginning and 83.3MB in the end (delta: -25.4MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.83ms. Allocated memory is still 117.4MB. Free memory was 83.3MB in the beginning and 83.3MB in the end (delta: 19.3kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 22:21:51,220 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_32712c0e-6bc3-498d-a3f1-b8568ec91d08/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