./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_14_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_14_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash dd6019b63cba2f6151d6c5e4ed62bbb65cb06259aecd280549bd0e6a138535f9 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:21:59,176 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:21:59,306 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 23:21:59,312 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 23:21:59,313 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 23:21:59,343 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:21:59,344 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:21:59,344 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:21:59,345 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:21:59,346 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:21:59,347 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:21:59,347 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:21:59,348 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 23:21:59,348 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:21:59,349 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:21:59,349 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:21:59,350 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:21:59,350 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:21:59,351 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:21:59,352 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:21:59,352 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:21:59,356 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:21:59,356 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:21:59,357 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:21:59,357 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:21:59,358 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:21:59,358 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:21:59,363 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:21:59,364 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:21:59,364 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:21:59,365 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 23:21:59,365 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 23:21:59,366 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> dd6019b63cba2f6151d6c5e4ed62bbb65cb06259aecd280549bd0e6a138535f9 [2024-11-08 23:21:59,756 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:21:59,802 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:21:59,826 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:21:59,828 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:21:59,829 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:21:59,830 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_14_bad.i Unable to find full path for "g++" [2024-11-08 23:22:02,264 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 23:22:02,806 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:22:02,809 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_14_bad.i [2024-11-08 23:22:02,854 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/data/77614a13b/9e0d9df4c5514f84ad93ca61367a805f/FLAGad94f595c [2024-11-08 23:22:02,878 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/data/77614a13b/9e0d9df4c5514f84ad93ca61367a805f [2024-11-08 23:22:02,885 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:22:02,887 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:22:02,889 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:22:02,889 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:22:02,899 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:22:02,900 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:22:02" (1/1) ... [2024-11-08 23:22:02,901 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2b21457 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:02, skipping insertion in model container [2024-11-08 23:22:02,902 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:22:02" (1/1) ... [2024-11-08 23:22:02,983 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:22:04,413 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:22:04,430 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:22:04,631 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:22:04,811 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:22:04,812 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04 WrapperNode [2024-11-08 23:22:04,812 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:22:04,813 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:22:04,813 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:22:04,814 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:22:04,823 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,865 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,904 INFO L138 Inliner]: procedures = 497, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 47 [2024-11-08 23:22:04,904 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:22:04,905 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:22:04,906 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:22:04,906 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:22:04,920 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,921 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,927 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,927 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,937 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,943 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,945 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,950 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,953 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:22:04,959 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:22:04,960 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:22:04,960 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:22:04,961 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:04" (1/1) ... [2024-11-08 23:22:04,976 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:22:05,001 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:22:05,023 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 23:22:05,026 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 23:22:05,103 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:22:05,107 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:22:05,108 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:22:05,108 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:22:05,108 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:22:05,366 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:22:05,370 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:22:05,567 INFO L? ?]: Removed 19 outVars from TransFormulas that were not future-live. [2024-11-08 23:22:05,568 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:22:05,664 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:22:05,665 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:22:05,665 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:22:05 BoogieIcfgContainer [2024-11-08 23:22:05,665 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:22:05,666 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:22:05,666 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:22:05,683 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:22:05,684 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:22:05" (1/1) ... [2024-11-08 23:22:05,702 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:22:05,778 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:22:05,789 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-08 23:22:05,790 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-08 23:22:05,796 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-08 23:22:05,797 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:22:05,798 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:22:05,952 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:22:05,953 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:22:05,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:22:06,050 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:22:06,050 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:22:06,078 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:22:06,110 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 23:22:06,151 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:22:06 ImpRootNode [2024-11-08 23:22:06,151 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:22:06,153 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:22:06,153 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:22:06,156 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:22:06,157 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:22:05" (3/4) ... [2024-11-08 23:22:06,161 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:22:06,163 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:22:06,166 INFO L158 Benchmark]: Toolchain (without parser) took 3278.29ms. Allocated memory is still 165.7MB. Free memory was 130.2MB in the beginning and 106.6MB in the end (delta: 23.5MB). Peak memory consumption was 23.5MB. Max. memory is 16.1GB. [2024-11-08 23:22:06,167 INFO L158 Benchmark]: CDTParser took 0.44ms. Allocated memory is still 125.8MB. Free memory was 90.9MB in the beginning and 90.9MB in the end (delta: 30.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:22:06,168 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1923.40ms. Allocated memory is still 165.7MB. Free memory was 130.2MB in the beginning and 64.5MB in the end (delta: 65.6MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. [2024-11-08 23:22:06,169 INFO L158 Benchmark]: Boogie Procedure Inliner took 91.49ms. Allocated memory is still 165.7MB. Free memory was 64.5MB in the beginning and 61.1MB in the end (delta: 3.4MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 23:22:06,172 INFO L158 Benchmark]: Boogie Preprocessor took 48.37ms. Allocated memory is still 165.7MB. Free memory was 61.1MB in the beginning and 60.3MB in the end (delta: 781.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:22:06,173 INFO L158 Benchmark]: RCFGBuilder took 706.18ms. Allocated memory is still 165.7MB. Free memory was 60.3MB in the beginning and 121.3MB in the end (delta: -61.0MB). Peak memory consumption was 8.8MB. Max. memory is 16.1GB. [2024-11-08 23:22:06,174 INFO L158 Benchmark]: CodeCheck took 485.50ms. Allocated memory is still 165.7MB. Free memory was 121.3MB in the beginning and 106.6MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 23:22:06,175 INFO L158 Benchmark]: Witness Printer took 11.99ms. Allocated memory is still 165.7MB. Free memory is still 106.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:22:06,182 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: 1559]: 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 1568. 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); [L1568] 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) [L1568] 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] [L1569] CALL CWE191_Integer_Underflow__int_fscanf_predec_14_bad() [L1550] int data; [L1551] data = 0 [L1552] COND TRUE globalFive==5 [L1556] COND TRUE globalFive==5 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] [L1559] --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.44ms. Allocated memory is still 125.8MB. Free memory was 90.9MB in the beginning and 90.9MB in the end (delta: 30.7kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1923.40ms. Allocated memory is still 165.7MB. Free memory was 130.2MB in the beginning and 64.5MB in the end (delta: 65.6MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 91.49ms. Allocated memory is still 165.7MB. Free memory was 64.5MB in the beginning and 61.1MB in the end (delta: 3.4MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 48.37ms. Allocated memory is still 165.7MB. Free memory was 61.1MB in the beginning and 60.3MB in the end (delta: 781.1kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 706.18ms. Allocated memory is still 165.7MB. Free memory was 60.3MB in the beginning and 121.3MB in the end (delta: -61.0MB). Peak memory consumption was 8.8MB. Max. memory is 16.1GB. * CodeCheck took 485.50ms. Allocated memory is still 165.7MB. Free memory was 121.3MB in the beginning and 106.6MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Witness Printer took 11.99ms. Allocated memory is still 165.7MB. Free memory is still 106.6MB. 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-08 23:22:06,234 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_14_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash dd6019b63cba2f6151d6c5e4ed62bbb65cb06259aecd280549bd0e6a138535f9 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:22:09,433 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:22:09,547 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 23:22:09,610 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:22:09,612 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:22:09,613 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:22:09,614 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:22:09,615 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:22:09,616 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:22:09,617 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:22:09,618 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:22:09,618 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:22:09,619 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:22:09,620 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:22:09,623 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 23:22:09,624 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 23:22:09,624 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:22:09,624 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:22:09,625 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 23:22:09,625 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:22:09,625 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:22:09,626 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:22:09,626 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:22:09,627 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:22:09,627 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:22:09,627 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:22:09,628 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 23:22:09,628 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:22:09,629 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:22:09,629 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:22:09,633 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:22:09,634 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:22:09,634 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 23:22:09,635 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:22:09,635 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 23:22:09,635 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> dd6019b63cba2f6151d6c5e4ed62bbb65cb06259aecd280549bd0e6a138535f9 [2024-11-08 23:22:10,221 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:22:10,259 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:22:10,263 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:22:10,267 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:22:10,268 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:22:10,270 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_14_bad.i Unable to find full path for "g++" [2024-11-08 23:22:12,985 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 23:22:13,459 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:22:13,460 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_14_bad.i [2024-11-08 23:22:13,491 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/data/0fac75d19/f1f5cfeb890e430d80f33b7f4b9b9ed3/FLAG440f80129 [2024-11-08 23:22:13,562 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/data/0fac75d19/f1f5cfeb890e430d80f33b7f4b9b9ed3 [2024-11-08 23:22:13,565 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:22:13,567 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:22:13,569 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:22:13,570 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:22:13,582 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:22:13,583 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:22:13" (1/1) ... [2024-11-08 23:22:13,587 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@39daf7c8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:13, skipping insertion in model container [2024-11-08 23:22:13,587 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:22:13" (1/1) ... [2024-11-08 23:22:13,688 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:22:15,413 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:22:15,433 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:22:15,634 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:22:15,839 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:22:15,841 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15 WrapperNode [2024-11-08 23:22:15,841 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:22:15,843 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:22:15,843 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:22:15,843 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:22:15,853 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,899 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,940 INFO L138 Inliner]: procedures = 502, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 46 [2024-11-08 23:22:15,941 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:22:15,942 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:22:15,942 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:22:15,942 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:22:15,955 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,955 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,959 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,960 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,970 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,973 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,975 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,981 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:15,989 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:22:15,992 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:22:15,993 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:22:15,996 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:22:15,997 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:22:15" (1/1) ... [2024-11-08 23:22:16,009 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:22:16,022 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:22:16,043 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 23:22:16,048 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 23:22:16,078 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:22:16,078 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:22:16,078 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:22:16,079 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:22:16,079 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:22:16,346 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:22:16,350 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:22:16,569 INFO L? ?]: Removed 18 outVars from TransFormulas that were not future-live. [2024-11-08 23:22:16,569 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:22:16,672 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:22:16,673 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:22:16,673 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:22:16 BoogieIcfgContainer [2024-11-08 23:22:16,674 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:22:16,676 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:22:16,676 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:22:16,690 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:22:16,690 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:22:16" (1/1) ... [2024-11-08 23:22:16,704 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:22:16,783 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:22:16,793 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-08 23:22:16,794 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-08 23:22:16,801 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-08 23:22:16,801 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:22:16,802 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:22:16,804 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:22:16,808 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:22:16,810 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 23:22:17,077 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:22:17,078 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:22:17,148 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:22:17,238 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:22:17,238 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:22:17,264 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:22:17,294 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-08 23:22:17,297 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 23:22:17,335 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:22:17 ImpRootNode [2024-11-08 23:22:17,336 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:22:17,337 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:22:17,339 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:22:17,339 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:22:17,340 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:22:16" (3/4) ... [2024-11-08 23:22:17,345 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:22:17,346 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:22:17,348 INFO L158 Benchmark]: Toolchain (without parser) took 3780.23ms. Allocated memory was 69.2MB in the beginning and 96.5MB in the end (delta: 27.3MB). Free memory was 41.7MB in the beginning and 58.9MB in the end (delta: -17.2MB). Peak memory consumption was 10.6MB. Max. memory is 16.1GB. [2024-11-08 23:22:17,349 INFO L158 Benchmark]: CDTParser took 0.70ms. Allocated memory is still 69.2MB. Free memory is still 44.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:22:17,350 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2272.45ms. Allocated memory was 69.2MB in the beginning and 96.5MB in the end (delta: 27.3MB). Free memory was 41.4MB in the beginning and 65.7MB in the end (delta: -24.3MB). Peak memory consumption was 36.0MB. Max. memory is 16.1GB. [2024-11-08 23:22:17,352 INFO L158 Benchmark]: Boogie Procedure Inliner took 98.34ms. Allocated memory is still 96.5MB. Free memory was 65.7MB in the beginning and 62.9MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:22:17,353 INFO L158 Benchmark]: Boogie Preprocessor took 49.74ms. Allocated memory is still 96.5MB. Free memory was 62.9MB in the beginning and 60.9MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:22:17,355 INFO L158 Benchmark]: RCFGBuilder took 682.68ms. Allocated memory is still 96.5MB. Free memory was 60.9MB in the beginning and 44.2MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-08 23:22:17,356 INFO L158 Benchmark]: CodeCheck took 660.45ms. Allocated memory is still 96.5MB. Free memory was 44.2MB in the beginning and 59.5MB in the end (delta: -15.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:22:17,357 INFO L158 Benchmark]: Witness Printer took 9.44ms. Allocated memory is still 96.5MB. Free memory was 59.5MB in the beginning and 58.9MB in the end (delta: 555.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:22:17,362 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.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, 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: 1559]: 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 1568. 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); [L1568] 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) [L1568] 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] [L1569] CALL CWE191_Integer_Underflow__int_fscanf_predec_14_bad() [L1550] int data; [L1551] data = 0 [L1552] COND TRUE globalFive==5 [L1556] COND TRUE globalFive==5 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] [L1559] --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.70ms. Allocated memory is still 69.2MB. Free memory is still 44.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2272.45ms. Allocated memory was 69.2MB in the beginning and 96.5MB in the end (delta: 27.3MB). Free memory was 41.4MB in the beginning and 65.7MB in the end (delta: -24.3MB). Peak memory consumption was 36.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 98.34ms. Allocated memory is still 96.5MB. Free memory was 65.7MB in the beginning and 62.9MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 49.74ms. Allocated memory is still 96.5MB. Free memory was 62.9MB in the beginning and 60.9MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 682.68ms. Allocated memory is still 96.5MB. Free memory was 60.9MB in the beginning and 44.2MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 660.45ms. Allocated memory is still 96.5MB. Free memory was 44.2MB in the beginning and 59.5MB in the end (delta: -15.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 9.44ms. Allocated memory is still 96.5MB. Free memory was 59.5MB in the beginning and 58.9MB in the end (delta: 555.2kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-08 23:22:17,418 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_04738a9c-4897-4bb1-823e-c9ec328371f5/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample