./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_68_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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_68_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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 15abb7e7433d900f49f8ae188632a5f511b789dc7b16b9f8b66a95331c5a24bd --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 19:25:47,693 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 19:25:47,821 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 19:25:47,828 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 19:25:47,828 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 19:25:47,872 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 19:25:47,875 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 19:25:47,876 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 19:25:47,877 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 19:25:47,878 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 19:25:47,879 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 19:25:47,880 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 19:25:47,880 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 19:25:47,880 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 19:25:47,881 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 19:25:47,884 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 19:25:47,885 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 19:25:47,885 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 19:25:47,886 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 19:25:47,886 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 19:25:47,886 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 19:25:47,887 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 19:25:47,887 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 19:25:47,888 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 19:25:47,888 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 19:25:47,889 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 19:25:47,889 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 19:25:47,889 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 19:25:47,890 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 19:25:47,890 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 19:25:47,891 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 19:25:47,891 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 19:25:47,891 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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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 -> 15abb7e7433d900f49f8ae188632a5f511b789dc7b16b9f8b66a95331c5a24bd [2024-11-08 19:25:48,201 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 19:25:48,228 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 19:25:48,233 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 19:25:48,235 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 19:25:48,236 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 19:25:48,238 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_68_bad.i Unable to find full path for "g++" [2024-11-08 19:25:50,696 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 19:25:51,161 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 19:25:51,162 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_68_bad.i [2024-11-08 19:25:51,188 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/data/edeb811ef/9965ff6c4b83407a8b71f5617f0fb8c3/FLAGea1a8d49e [2024-11-08 19:25:51,221 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/data/edeb811ef/9965ff6c4b83407a8b71f5617f0fb8c3 [2024-11-08 19:25:51,225 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 19:25:51,227 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 19:25:51,229 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 19:25:51,229 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 19:25:51,237 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 19:25:51,238 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 07:25:51" (1/1) ... [2024-11-08 19:25:51,242 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7b7bd5ea and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:51, skipping insertion in model container [2024-11-08 19:25:51,242 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 07:25:51" (1/1) ... [2024-11-08 19:25:51,337 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 19:25:52,734 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 19:25:52,752 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 19:25:52,858 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 19:25:53,038 INFO L204 MainTranslator]: Completed translation [2024-11-08 19:25:53,040 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53 WrapperNode [2024-11-08 19:25:53,041 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 19:25:53,044 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 19:25:53,044 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 19:25:53,044 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 19:25:53,053 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,093 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,122 INFO L138 Inliner]: procedures = 498, calls = 24, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 51 [2024-11-08 19:25:53,123 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 19:25:53,124 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 19:25:53,124 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 19:25:53,124 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 19:25:53,134 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,134 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,138 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,138 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,149 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,154 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,156 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,157 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,160 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 19:25:53,162 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 19:25:53,162 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 19:25:53,162 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 19:25:53,169 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,180 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 19:25:53,192 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 19:25:53,207 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 19:25:53,210 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 19:25:53,247 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 19:25:53,247 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 19:25:53,247 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 19:25:53,247 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 19:25:53,248 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 19:25:53,414 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 19:25:53,416 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 19:25:53,555 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2024-11-08 19:25:53,556 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 19:25:53,614 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 19:25:53,614 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 19:25:53,615 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:25:53 BoogieIcfgContainer [2024-11-08 19:25:53,615 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 19:25:53,621 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 19:25:53,622 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 19:25:53,665 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 19:25:53,665 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:25:53" (1/1) ... [2024-11-08 19:25:53,676 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 19:25:53,729 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 19:25:53,736 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-08 19:25:53,736 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-08 19:25:53,740 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-08 19:25:53,740 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 19:25:53,741 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 19:25:53,905 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:25:53,906 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 19:25:53,930 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:25:53,987 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:25:53,988 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 19:25:54,002 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:25:54,020 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 19:25:54,051 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 07:25:54 ImpRootNode [2024-11-08 19:25:54,051 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 19:25:54,052 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 19:25:54,052 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 19:25:54,052 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 19:25:54,053 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:25:53" (3/4) ... [2024-11-08 19:25:54,056 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 19:25:54,056 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 19:25:54,057 INFO L158 Benchmark]: Toolchain (without parser) took 2830.84ms. Allocated memory is still 172.0MB. Free memory was 133.7MB in the beginning and 125.2MB in the end (delta: 8.6MB). Peak memory consumption was 10.1MB. Max. memory is 16.1GB. [2024-11-08 19:25:54,058 INFO L158 Benchmark]: CDTParser took 0.38ms. Allocated memory is still 113.2MB. Free memory is still 83.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:25:54,058 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1812.60ms. Allocated memory is still 172.0MB. Free memory was 133.7MB in the beginning and 68.7MB in the end (delta: 65.0MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. [2024-11-08 19:25:54,059 INFO L158 Benchmark]: Boogie Procedure Inliner took 79.42ms. Allocated memory is still 172.0MB. Free memory was 68.1MB in the beginning and 65.3MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 19:25:54,059 INFO L158 Benchmark]: Boogie Preprocessor took 37.13ms. Allocated memory is still 172.0MB. Free memory was 65.3MB in the beginning and 63.9MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:25:54,060 INFO L158 Benchmark]: RCFGBuilder took 453.99ms. Allocated memory is still 172.0MB. Free memory was 63.9MB in the beginning and 49.9MB in the end (delta: 14.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 19:25:54,061 INFO L158 Benchmark]: CodeCheck took 429.84ms. Allocated memory is still 172.0MB. Free memory was 49.2MB in the beginning and 126.2MB in the end (delta: -77.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:25:54,061 INFO L158 Benchmark]: Witness Printer took 4.67ms. Allocated memory is still 172.0MB. Free memory was 126.2MB in the beginning and 125.2MB in the end (delta: 973.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:25:54,064 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.3s, 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: 1575]: 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 1563. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1548] int CWE191_Integer_Underflow__int_fscanf_postdec_68_badData; [L1549] int CWE191_Integer_Underflow__int_fscanf_postdec_68_goodG2BData; [L1550] int CWE191_Integer_Underflow__int_fscanf_postdec_68_goodB2GData; [L1563] CALL printLine("Calling bad()...") VAL [CWE191_Integer_Underflow__int_fscanf_postdec_68_badData=0, CWE191_Integer_Underflow__int_fscanf_postdec_68_goodB2GData=0, CWE191_Integer_Underflow__int_fscanf_postdec_68_goodG2BData=0, 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) [L1563] RET printLine("Calling bad()...") VAL [CWE191_Integer_Underflow__int_fscanf_postdec_68_badData=0, CWE191_Integer_Underflow__int_fscanf_postdec_68_goodB2GData=0, CWE191_Integer_Underflow__int_fscanf_postdec_68_goodG2BData=0, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1564] CALL CWE191_Integer_Underflow__int_fscanf_postdec_68_bad() [L1554] int data; [L1555] data = 0 [L1557] CWE191_Integer_Underflow__int_fscanf_postdec_68_badData = data [L1558] CALL CWE191_Integer_Underflow__int_fscanf_postdec_68b_badSink() [L1573] int data = CWE191_Integer_Underflow__int_fscanf_postdec_68_badData; [L1575] data-- VAL [CWE191_Integer_Underflow__int_fscanf_postdec_68_badData=-2147483648, CWE191_Integer_Underflow__int_fscanf_postdec_68_goodB2GData=0, CWE191_Integer_Underflow__int_fscanf_postdec_68_goodG2BData=0, 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.38ms. Allocated memory is still 113.2MB. Free memory is still 83.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1812.60ms. Allocated memory is still 172.0MB. Free memory was 133.7MB in the beginning and 68.7MB in the end (delta: 65.0MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 79.42ms. Allocated memory is still 172.0MB. Free memory was 68.1MB in the beginning and 65.3MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 37.13ms. Allocated memory is still 172.0MB. Free memory was 65.3MB in the beginning and 63.9MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 453.99ms. Allocated memory is still 172.0MB. Free memory was 63.9MB in the beginning and 49.9MB in the end (delta: 14.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 429.84ms. Allocated memory is still 172.0MB. Free memory was 49.2MB in the beginning and 126.2MB in the end (delta: -77.0MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.67ms. Allocated memory is still 172.0MB. Free memory was 126.2MB in the beginning and 125.2MB in the end (delta: 973.1kB). 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 19:25:54,108 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_68_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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 15abb7e7433d900f49f8ae188632a5f511b789dc7b16b9f8b66a95331c5a24bd --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 19:25:56,884 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 19:25:57,002 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 19:25:57,075 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 19:25:57,076 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 19:25:57,077 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 19:25:57,078 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 19:25:57,079 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 19:25:57,080 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 19:25:57,082 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 19:25:57,082 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 19:25:57,083 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 19:25:57,083 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 19:25:57,084 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 19:25:57,084 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 19:25:57,084 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 19:25:57,085 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 19:25:57,085 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 19:25:57,085 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 19:25:57,086 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 19:25:57,086 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 19:25:57,091 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 19:25:57,091 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 19:25:57,092 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 19:25:57,095 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 19:25:57,096 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 19:25:57,096 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 19:25:57,096 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 19:25:57,097 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 19:25:57,097 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 19:25:57,098 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 19:25:57,098 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 19:25:57,099 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 19:25:57,100 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 19:25:57,100 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 19:25:57,101 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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/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 -> 15abb7e7433d900f49f8ae188632a5f511b789dc7b16b9f8b66a95331c5a24bd [2024-11-08 19:25:57,586 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 19:25:57,617 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 19:25:57,621 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 19:25:57,622 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 19:25:57,623 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 19:25:57,625 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_68_bad.i Unable to find full path for "g++" [2024-11-08 19:25:59,954 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 19:26:00,512 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 19:26:00,515 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_68_bad.i [2024-11-08 19:26:00,557 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/data/fc01953bd/1f690f967cf340ac983b893ecaf158e5/FLAG2a97e6f78 [2024-11-08 19:26:01,053 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/data/fc01953bd/1f690f967cf340ac983b893ecaf158e5 [2024-11-08 19:26:01,057 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 19:26:01,058 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 19:26:01,060 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 19:26:01,060 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 19:26:01,067 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 19:26:01,068 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 07:26:01" (1/1) ... [2024-11-08 19:26:01,069 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3fa3b4cf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:01, skipping insertion in model container [2024-11-08 19:26:01,070 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 07:26:01" (1/1) ... [2024-11-08 19:26:01,152 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 19:26:02,489 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 19:26:02,509 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 19:26:02,677 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 19:26:02,934 INFO L204 MainTranslator]: Completed translation [2024-11-08 19:26:02,935 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02 WrapperNode [2024-11-08 19:26:02,936 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 19:26:02,937 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 19:26:02,937 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 19:26:02,938 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 19:26:02,947 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:02,988 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,020 INFO L138 Inliner]: procedures = 503, calls = 24, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 49 [2024-11-08 19:26:03,020 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 19:26:03,022 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 19:26:03,022 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 19:26:03,022 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 19:26:03,034 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,034 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,043 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,043 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,058 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,064 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,067 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,072 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,078 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 19:26:03,083 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 19:26:03,083 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 19:26:03,083 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 19:26:03,084 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:26:02" (1/1) ... [2024-11-08 19:26:03,094 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 19:26:03,112 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 19:26:03,130 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 19:26:03,138 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 19:26:03,172 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 19:26:03,173 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 19:26:03,173 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 19:26:03,173 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 19:26:03,173 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 19:26:03,369 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 19:26:03,372 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 19:26:03,568 INFO L? ?]: Removed 20 outVars from TransFormulas that were not future-live. [2024-11-08 19:26:03,568 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 19:26:03,646 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 19:26:03,647 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 19:26:03,648 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:26:03 BoogieIcfgContainer [2024-11-08 19:26:03,648 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 19:26:03,650 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 19:26:03,650 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 19:26:03,676 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 19:26:03,677 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:26:03" (1/1) ... [2024-11-08 19:26:03,688 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 19:26:03,754 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 19:26:03,763 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-08 19:26:03,765 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-08 19:26:03,770 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-08 19:26:03,772 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 19:26:03,772 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 19:26:03,773 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 19:26:03,776 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 19:26:03,778 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 19:26:04,010 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:26:04,010 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 19:26:04,095 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:26:04,201 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:26:04,202 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 19:26:04,226 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:26:04,276 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-08 19:26:04,277 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 19:26:04,318 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 07:26:04 ImpRootNode [2024-11-08 19:26:04,319 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 19:26:04,322 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 19:26:04,323 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 19:26:04,323 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 19:26:04,324 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:26:03" (3/4) ... [2024-11-08 19:26:04,327 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 19:26:04,328 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 19:26:04,330 INFO L158 Benchmark]: Toolchain (without parser) took 3270.91ms. Allocated memory was 71.3MB in the beginning and 92.3MB in the end (delta: 21.0MB). Free memory was 44.1MB in the beginning and 49.8MB in the end (delta: -5.7MB). Peak memory consumption was 16.1MB. Max. memory is 16.1GB. [2024-11-08 19:26:04,330 INFO L158 Benchmark]: CDTParser took 0.28ms. Allocated memory is still 71.3MB. Free memory was 47.4MB in the beginning and 47.3MB in the end (delta: 110.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 19:26:04,332 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1876.14ms. Allocated memory was 71.3MB in the beginning and 92.3MB in the end (delta: 21.0MB). Free memory was 43.8MB in the beginning and 59.6MB in the end (delta: -15.8MB). Peak memory consumption was 33.7MB. Max. memory is 16.1GB. [2024-11-08 19:26:04,333 INFO L158 Benchmark]: Boogie Procedure Inliner took 83.42ms. Allocated memory is still 92.3MB. Free memory was 59.6MB in the beginning and 56.8MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 19:26:04,334 INFO L158 Benchmark]: Boogie Preprocessor took 60.11ms. Allocated memory is still 92.3MB. Free memory was 56.8MB in the beginning and 54.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 19:26:04,336 INFO L158 Benchmark]: RCFGBuilder took 566.45ms. Allocated memory is still 92.3MB. Free memory was 54.7MB in the beginning and 38.6MB in the end (delta: 16.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-08 19:26:04,336 INFO L158 Benchmark]: CodeCheck took 669.37ms. Allocated memory is still 92.3MB. Free memory was 38.6MB in the beginning and 50.3MB in the end (delta: -11.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:26:04,337 INFO L158 Benchmark]: Witness Printer took 6.15ms. Allocated memory is still 92.3MB. Free memory was 50.3MB in the beginning and 49.8MB in the end (delta: 534.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:26:04,343 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: 1575]: 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 1563. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1548] int CWE191_Integer_Underflow__int_fscanf_postdec_68_badData; [L1549] int CWE191_Integer_Underflow__int_fscanf_postdec_68_goodG2BData; [L1563] CALL printLine("Calling bad()...") VAL [CWE191_Integer_Underflow__int_fscanf_postdec_68_badData=0, CWE191_Integer_Underflow__int_fscanf_postdec_68_goodG2BData=0, 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) [L1563] RET printLine("Calling bad()...") VAL [CWE191_Integer_Underflow__int_fscanf_postdec_68_badData=0, CWE191_Integer_Underflow__int_fscanf_postdec_68_goodG2BData=0, GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1564] CALL CWE191_Integer_Underflow__int_fscanf_postdec_68_bad() [L1554] int data; [L1555] data = 0 [L1557] CWE191_Integer_Underflow__int_fscanf_postdec_68_badData = data [L1558] CALL CWE191_Integer_Underflow__int_fscanf_postdec_68b_badSink() [L1573] int data = CWE191_Integer_Underflow__int_fscanf_postdec_68_badData; [L1575] data-- VAL [CWE191_Integer_Underflow__int_fscanf_postdec_68_badData=-2147483648, CWE191_Integer_Underflow__int_fscanf_postdec_68_goodG2BData=0, 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.28ms. Allocated memory is still 71.3MB. Free memory was 47.4MB in the beginning and 47.3MB in the end (delta: 110.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1876.14ms. Allocated memory was 71.3MB in the beginning and 92.3MB in the end (delta: 21.0MB). Free memory was 43.8MB in the beginning and 59.6MB in the end (delta: -15.8MB). Peak memory consumption was 33.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 83.42ms. Allocated memory is still 92.3MB. Free memory was 59.6MB in the beginning and 56.8MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 60.11ms. Allocated memory is still 92.3MB. Free memory was 56.8MB in the beginning and 54.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 566.45ms. Allocated memory is still 92.3MB. Free memory was 54.7MB in the beginning and 38.6MB in the end (delta: 16.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 669.37ms. Allocated memory is still 92.3MB. Free memory was 38.6MB in the beginning and 50.3MB in the end (delta: -11.7MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.15ms. Allocated memory is still 92.3MB. Free memory was 50.3MB in the beginning and 49.8MB in the end (delta: 534.8kB). 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 19:26:04,379 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c97ce104-747a-4f9e-acd6-5b7ed9ea3c13/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample