./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_34_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_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_34_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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_05238679-e201-40bf-9909-50ac9718b028/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 3fcb54e50249805043d05289682c0923c0b8164877d34759ba4f91b097986549 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:45:54,401 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:45:54,505 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 22:45:54,517 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:45:54,517 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:45:54,553 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:45:54,554 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:45:54,554 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:45:54,555 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:45:54,555 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:45:54,556 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:45:54,556 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:45:54,556 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:45:54,556 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:45:54,557 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:45:54,557 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:45:54,559 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:45:54,559 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:45:54,559 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:45:54,559 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:45:54,559 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:45:54,559 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:45:54,560 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:45:54,560 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:45:54,560 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:45:54,560 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:45:54,560 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:45:54,560 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:45:54,560 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:45:54,560 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:45:54,560 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:45:54,560 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:45:54,561 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_05238679-e201-40bf-9909-50ac9718b028/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 -> 3fcb54e50249805043d05289682c0923c0b8164877d34759ba4f91b097986549 [2024-11-13 22:45:54,858 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:45:54,867 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:45:54,869 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:45:54,871 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:45:54,871 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:45:54,873 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_34_bad.i Unable to find full path for "g++" [2024-11-13 22:45:56,764 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:45:57,288 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:45:57,293 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_34_bad.i [2024-11-13 22:45:57,322 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/data/b93545762/1195a78d495843b2a2760eb3b83919bf/FLAG4bf2f1c3e [2024-11-13 22:45:57,341 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/data/b93545762/1195a78d495843b2a2760eb3b83919bf [2024-11-13 22:45:57,344 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:45:57,346 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:45:57,348 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:45:57,348 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:45:57,353 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:45:57,354 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:45:57" (1/1) ... [2024-11-13 22:45:57,356 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5a1bed1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:57, skipping insertion in model container [2024-11-13 22:45:57,356 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:45:57" (1/1) ... [2024-11-13 22:45:57,418 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:45:58,511 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:45:58,530 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:45:58,639 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:45:58,765 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:45:58,766 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58 WrapperNode [2024-11-13 22:45:58,766 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:45:58,767 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:45:58,767 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:45:58,767 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:45:58,772 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:45:58" (1/1) ... [2024-11-13 22:45:58,793 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:45:58" (1/1) ... [2024-11-13 22:45:58,822 INFO L138 Inliner]: procedures = 497, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 53 [2024-11-13 22:45:58,822 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:45:58,823 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:45:58,823 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:45:58,823 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:45:58,831 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58" (1/1) ... [2024-11-13 22:45:58,831 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58" (1/1) ... [2024-11-13 22:45:58,834 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58" (1/1) ... [2024-11-13 22:45:58,834 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58" (1/1) ... [2024-11-13 22:45:58,841 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58" (1/1) ... [2024-11-13 22:45:58,843 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58" (1/1) ... [2024-11-13 22:45:58,844 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58" (1/1) ... [2024-11-13 22:45:58,845 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58" (1/1) ... [2024-11-13 22:45:58,848 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:45:58,849 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:45:58,849 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:45:58,849 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:45:58,850 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:45:58" (1/1) ... [2024-11-13 22:45:58,857 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:45:58,876 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:45:58,891 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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:45:58,893 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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:45:58,920 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:45:58,920 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:45:58,921 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 22:45:58,921 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 22:45:58,921 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:45:58,921 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:45:58,921 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:45:58,921 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 22:45:58,921 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 22:45:59,104 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:45:59,106 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:45:59,268 INFO L? ?]: Removed 22 outVars from TransFormulas that were not future-live. [2024-11-13 22:45:59,268 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:45:59,335 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:45:59,338 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:45:59,339 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:45:59 BoogieIcfgContainer [2024-11-13 22:45:59,339 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:45:59,340 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:45:59,340 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:45:59,351 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:45:59,352 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:45:59" (1/1) ... [2024-11-13 22:45:59,364 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:45:59,422 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:45:59,435 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 22:45:59,436 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 22:45:59,441 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 22:45:59,441 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:45:59,442 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:45:59,610 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:45:59,611 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:45:59,639 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:45:59,711 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:45:59,711 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:45:59,726 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:45:59,744 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:45:59,783 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:45:59 ImpRootNode [2024-11-13 22:45:59,783 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:45:59,784 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:45:59,784 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:45:59,784 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:45:59,788 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:45:59" (3/4) ... [2024-11-13 22:45:59,790 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:45:59,791 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:45:59,795 INFO L158 Benchmark]: Toolchain (without parser) took 2446.58ms. Allocated memory is still 142.6MB. Free memory was 115.8MB in the beginning and 89.7MB in the end (delta: 26.1MB). Peak memory consumption was 31.2MB. Max. memory is 16.1GB. [2024-11-13 22:45:59,796 INFO L158 Benchmark]: CDTParser took 0.46ms. Allocated memory is still 142.6MB. Free memory is still 79.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:45:59,796 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1419.05ms. Allocated memory is still 142.6MB. Free memory was 115.8MB in the beginning and 56.4MB in the end (delta: 59.4MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2024-11-13 22:45:59,797 INFO L158 Benchmark]: Boogie Procedure Inliner took 55.33ms. Allocated memory is still 142.6MB. Free memory was 56.4MB in the beginning and 54.0MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:45:59,797 INFO L158 Benchmark]: Boogie Preprocessor took 25.19ms. Allocated memory is still 142.6MB. Free memory was 54.0MB in the beginning and 52.8MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:45:59,797 INFO L158 Benchmark]: RCFGBuilder took 490.38ms. Allocated memory is still 142.6MB. Free memory was 52.8MB in the beginning and 105.7MB in the end (delta: -52.9MB). Peak memory consumption was 14.4MB. Max. memory is 16.1GB. [2024-11-13 22:45:59,798 INFO L158 Benchmark]: CodeCheck took 443.67ms. Allocated memory is still 142.6MB. Free memory was 105.7MB in the beginning and 90.6MB in the end (delta: 15.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:45:59,800 INFO L158 Benchmark]: Witness Printer took 7.24ms. Allocated memory is still 142.6MB. Free memory was 90.6MB in the beginning and 89.7MB in the end (delta: 910.5kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:45:59,802 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, 12 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, 6 NumberOfCodeBlocks, 6 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: 1563]: 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 1572. 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); [L1572] 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] [L1414] COND TRUE line != ((void *)0) [L1572] 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] [L1573] CALL CWE191_Integer_Underflow__int_fscanf_postdec_34_bad() [L1555] int data; [L1556] CWE191_Integer_Underflow__int_fscanf_postdec_34_unionType myUnion; [L1557] data = 0 [L1559] myUnion.unionFirst = data [L1561] EXPR myUnion.unionSecond [L1561] int data = myUnion.unionSecond; [L1563] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.46ms. Allocated memory is still 142.6MB. Free memory is still 79.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1419.05ms. Allocated memory is still 142.6MB. Free memory was 115.8MB in the beginning and 56.4MB in the end (delta: 59.4MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 55.33ms. Allocated memory is still 142.6MB. Free memory was 56.4MB in the beginning and 54.0MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 25.19ms. Allocated memory is still 142.6MB. Free memory was 54.0MB in the beginning and 52.8MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 490.38ms. Allocated memory is still 142.6MB. Free memory was 52.8MB in the beginning and 105.7MB in the end (delta: -52.9MB). Peak memory consumption was 14.4MB. Max. memory is 16.1GB. * CodeCheck took 443.67ms. Allocated memory is still 142.6MB. Free memory was 105.7MB in the beginning and 90.6MB in the end (delta: 15.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 7.24ms. Allocated memory is still 142.6MB. Free memory was 90.6MB in the beginning and 89.7MB in the end (delta: 910.5kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 22:45:59,841 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_34_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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_05238679-e201-40bf-9909-50ac9718b028/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 3fcb54e50249805043d05289682c0923c0b8164877d34759ba4f91b097986549 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:46:02,427 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:46:02,545 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 22:46:02,599 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:46:02,604 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:46:02,604 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:46:02,605 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:46:02,605 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:46:02,605 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:46:02,605 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:46:02,605 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:46:02,605 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:46:02,605 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:46:02,606 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:46:02,606 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:46:02,606 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:46:02,606 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:46:02,606 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:46:02,606 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:46:02,606 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:46:02,606 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:46:02,606 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:46:02,607 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:46:02,607 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:46:02,607 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:46:02,607 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:46:02,607 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:46:02,607 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:46:02,607 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:46:02,607 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:46:02,608 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:46:02,608 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:46:02,608 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:46:02,612 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:46:02,612 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:46:02,612 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_05238679-e201-40bf-9909-50ac9718b028/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 -> 3fcb54e50249805043d05289682c0923c0b8164877d34759ba4f91b097986549 [2024-11-13 22:46:02,938 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:46:02,948 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:46:02,952 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:46:02,955 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:46:02,956 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:46:02,960 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_34_bad.i Unable to find full path for "g++" [2024-11-13 22:46:04,910 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:46:05,461 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:46:05,465 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_34_bad.i [2024-11-13 22:46:05,501 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/data/36d63a323/07e7b7e810fa4bd5b2969ed38165d544/FLAG1832de7c4 [2024-11-13 22:46:06,001 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/data/36d63a323/07e7b7e810fa4bd5b2969ed38165d544 [2024-11-13 22:46:06,003 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:46:06,008 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:46:06,009 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:46:06,009 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:46:06,016 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:46:06,016 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:46:06" (1/1) ... [2024-11-13 22:46:06,017 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@f68cd5c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:06, skipping insertion in model container [2024-11-13 22:46:06,017 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:46:06" (1/1) ... [2024-11-13 22:46:06,071 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:46:07,121 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:46:07,134 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:46:07,261 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:46:07,483 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:46:07,484 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07 WrapperNode [2024-11-13 22:46:07,484 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:46:07,486 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:46:07,486 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:46:07,486 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:46:07,495 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:46:07" (1/1) ... [2024-11-13 22:46:07,539 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:46:07" (1/1) ... [2024-11-13 22:46:07,570 INFO L138 Inliner]: procedures = 502, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 52 [2024-11-13 22:46:07,572 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:46:07,573 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:46:07,573 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:46:07,574 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:46:07,581 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07" (1/1) ... [2024-11-13 22:46:07,581 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07" (1/1) ... [2024-11-13 22:46:07,584 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07" (1/1) ... [2024-11-13 22:46:07,585 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07" (1/1) ... [2024-11-13 22:46:07,601 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07" (1/1) ... [2024-11-13 22:46:07,603 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07" (1/1) ... [2024-11-13 22:46:07,606 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07" (1/1) ... [2024-11-13 22:46:07,607 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07" (1/1) ... [2024-11-13 22:46:07,610 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:46:07,611 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:46:07,612 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:46:07,612 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:46:07,613 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:46:07" (1/1) ... [2024-11-13 22:46:07,619 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:46:07,633 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:46:07,647 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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:46:07,653 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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:46:07,679 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:46:07,679 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:46:07,679 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 22:46:07,679 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:46:07,679 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:46:07,680 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:46:07,680 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-11-13 22:46:07,680 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 22:46:07,680 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-11-13 22:46:07,890 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:46:07,892 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:46:08,051 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2024-11-13 22:46:08,051 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:46:08,121 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:46:08,121 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:46:08,122 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:46:08 BoogieIcfgContainer [2024-11-13 22:46:08,122 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:46:08,123 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:46:08,123 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:46:08,133 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:46:08,133 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:46:08" (1/1) ... [2024-11-13 22:46:08,143 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:46:08,192 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:46:08,203 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 22:46:08,203 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 22:46:08,207 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 22:46:08,208 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:46:08,208 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:46:08,209 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:46:08,213 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:46:08,215 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:46:08,443 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:46:08,443 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:46:08,509 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:46:08,648 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:46:08,648 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:46:08,683 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:46:08,724 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 22:46:08,725 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 22:46:08,763 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:46:08 ImpRootNode [2024-11-13 22:46:08,763 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:46:08,764 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:46:08,764 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:46:08,764 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:46:08,765 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:46:08" (3/4) ... [2024-11-13 22:46:08,769 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:46:08,770 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:46:08,773 INFO L158 Benchmark]: Toolchain (without parser) took 2766.41ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 88.9MB in the beginning and 224.5MB in the end (delta: -135.6MB). Peak memory consumption was 8.0MB. Max. memory is 16.1GB. [2024-11-13 22:46:08,774 INFO L158 Benchmark]: CDTParser took 0.43ms. Allocated memory is still 117.4MB. Free memory is still 83.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:46:08,776 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1475.63ms. Allocated memory is still 117.4MB. Free memory was 88.7MB in the beginning and 66.5MB in the end (delta: 22.2MB). Peak memory consumption was 50.2MB. Max. memory is 16.1GB. [2024-11-13 22:46:08,776 INFO L158 Benchmark]: Boogie Procedure Inliner took 87.20ms. Allocated memory is still 117.4MB. Free memory was 66.5MB in the beginning and 64.0MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:46:08,777 INFO L158 Benchmark]: Boogie Preprocessor took 37.45ms. Allocated memory is still 117.4MB. Free memory was 64.0MB in the beginning and 62.4MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:46:08,780 INFO L158 Benchmark]: RCFGBuilder took 510.63ms. Allocated memory is still 117.4MB. Free memory was 62.0MB in the beginning and 46.8MB in the end (delta: 15.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:46:08,780 INFO L158 Benchmark]: CodeCheck took 640.89ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 46.8MB in the beginning and 224.5MB in the end (delta: -177.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:46:08,781 INFO L158 Benchmark]: Witness Printer took 5.98ms. Allocated memory is still 260.0MB. Free memory was 224.5MB in the beginning and 224.5MB in the end (delta: 35.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:46:08,783 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, 12 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.6s, 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, 6 NumberOfCodeBlocks, 6 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: 1563]: 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 1572. 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); [L1572] 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] [L1414] COND TRUE line != ((void *)0) [L1572] 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] [L1573] CALL CWE191_Integer_Underflow__int_fscanf_postdec_34_bad() [L1555] int data; [L1556] CWE191_Integer_Underflow__int_fscanf_postdec_34_unionType myUnion; [L1557] data = 0 [L1559] myUnion.unionFirst = data [L1561] EXPR myUnion.unionSecond [L1561] int data = myUnion.unionSecond; [L1563] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.43ms. Allocated memory is still 117.4MB. Free memory is still 83.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1475.63ms. Allocated memory is still 117.4MB. Free memory was 88.7MB in the beginning and 66.5MB in the end (delta: 22.2MB). Peak memory consumption was 50.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 87.20ms. Allocated memory is still 117.4MB. Free memory was 66.5MB in the beginning and 64.0MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 37.45ms. Allocated memory is still 117.4MB. Free memory was 64.0MB in the beginning and 62.4MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 510.63ms. Allocated memory is still 117.4MB. Free memory was 62.0MB in the beginning and 46.8MB in the end (delta: 15.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 640.89ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 46.8MB in the beginning and 224.5MB in the end (delta: -177.7MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.98ms. Allocated memory is still 260.0MB. Free memory was 224.5MB in the beginning and 224.5MB in the end (delta: 35.5kB). 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:46:08,817 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_05238679-e201-40bf-9909-50ac9718b028/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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample