./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_44_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/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_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_44_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/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_ad0a4704-31fe-434d-b538-46f108d53e28/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 6d514edb8a4a3f01febfd738a51110b9cf5616542da79e0d3dd4314e01a864bd --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:49:53,770 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:49:53,848 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 22:49:53,852 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 22:49:53,853 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 22:49:53,876 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:49:53,877 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:49:53,881 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:49:53,882 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:49:53,883 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:49:53,883 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:49:53,884 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:49:53,884 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 22:49:53,885 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:49:53,885 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:49:53,885 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:49:53,886 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:49:53,886 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:49:53,886 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:49:53,887 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:49:53,887 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:49:53,888 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:49:53,888 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:49:53,889 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:49:53,889 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:49:53,889 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:49:53,890 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:49:53,890 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:49:53,890 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:49:53,891 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:49:53,891 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 22:49:53,891 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 22:49:53,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_ad0a4704-31fe-434d-b538-46f108d53e28/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_ad0a4704-31fe-434d-b538-46f108d53e28/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 -> 6d514edb8a4a3f01febfd738a51110b9cf5616542da79e0d3dd4314e01a864bd [2024-11-08 22:49:54,190 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:49:54,224 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:49:54,227 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:49:54,228 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:49:54,229 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:49:54,231 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_44_bad.i Unable to find full path for "g++" [2024-11-08 22:49:56,574 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:49:56,987 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:49:56,990 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_44_bad.i [2024-11-08 22:49:57,027 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/data/2565655df/48170a85f4284d7e9b2bac096d1750df/FLAGeef6c7065 [2024-11-08 22:49:57,173 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/data/2565655df/48170a85f4284d7e9b2bac096d1750df [2024-11-08 22:49:57,176 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:49:57,177 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:49:57,179 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:49:57,179 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:49:57,185 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:49:57,186 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:49:57" (1/1) ... [2024-11-08 22:49:57,187 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4dc4c876 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:57, skipping insertion in model container [2024-11-08 22:49:57,187 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:49:57" (1/1) ... [2024-11-08 22:49:57,261 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:49:58,517 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:49:58,529 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:49:58,700 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:49:58,888 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:49:58,889 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58 WrapperNode [2024-11-08 22:49:58,889 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:49:58,890 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:49:58,891 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:49:58,891 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:49:58,902 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:58,945 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:58,988 INFO L138 Inliner]: procedures = 499, calls = 25, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 51 [2024-11-08 22:49:58,989 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:49:58,989 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:49:58,990 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:49:58,990 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:49:59,004 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:59,006 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:59,012 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:59,013 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:59,020 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:59,024 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:59,030 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:59,032 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:59,038 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:49:59,044 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:49:59,044 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:49:59,044 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:49:59,045 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:49:58" (1/1) ... [2024-11-08 22:49:59,060 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:49:59,080 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:49:59,100 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 22:49:59,106 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 22:49:59,145 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:49:59,145 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:49:59,146 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:49:59,146 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:49:59,146 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:49:59,365 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:49:59,368 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:49:59,497 INFO L? ?]: Removed 28 outVars from TransFormulas that were not future-live. [2024-11-08 22:49:59,497 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:49:59,565 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:49:59,566 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 22:49:59,566 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:49:59 BoogieIcfgContainer [2024-11-08 22:49:59,567 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:49:59,568 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:49:59,568 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:49:59,581 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:49:59,582 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:49:59" (1/1) ... [2024-11-08 22:49:59,591 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:49:59,651 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:49:59,661 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-08 22:49:59,662 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-08 22:49:59,668 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-08 22:49:59,668 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:49:59,669 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:49:59,883 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:49:59,888 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:49:59,928 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:50:00,039 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:50:00,039 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:50:00,059 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:50:00,083 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 22:50:00,123 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:50:00 ImpRootNode [2024-11-08 22:50:00,124 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:50:00,124 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:50:00,127 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:50:00,127 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:50:00,128 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:49:59" (3/4) ... [2024-11-08 22:50:00,133 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:50:00,134 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:50:00,135 INFO L158 Benchmark]: Toolchain (without parser) took 2957.74ms. Allocated memory was 144.7MB in the beginning and 197.1MB in the end (delta: 52.4MB). Free memory was 97.7MB in the beginning and 154.5MB in the end (delta: -56.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:50:00,137 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 107.0MB. Free memory is still 58.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:50:00,138 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1710.52ms. Allocated memory was 144.7MB in the beginning and 197.1MB in the end (delta: 52.4MB). Free memory was 97.4MB in the beginning and 128.1MB in the end (delta: -30.8MB). Peak memory consumption was 38.5MB. Max. memory is 16.1GB. [2024-11-08 22:50:00,141 INFO L158 Benchmark]: Boogie Procedure Inliner took 98.47ms. Allocated memory is still 197.1MB. Free memory was 128.1MB in the beginning and 124.9MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 22:50:00,141 INFO L158 Benchmark]: Boogie Preprocessor took 49.21ms. Allocated memory is still 197.1MB. Free memory was 124.9MB in the beginning and 124.0MB in the end (delta: 874.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:50:00,142 INFO L158 Benchmark]: RCFGBuilder took 523.36ms. Allocated memory is still 197.1MB. Free memory was 124.0MB in the beginning and 109.3MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 22:50:00,143 INFO L158 Benchmark]: CodeCheck took 556.00ms. Allocated memory is still 197.1MB. Free memory was 109.3MB in the beginning and 154.5MB in the end (delta: -45.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:50:00,145 INFO L158 Benchmark]: Witness Printer took 9.93ms. Allocated memory is still 197.1MB. Free memory was 154.5MB in the beginning and 154.5MB in the end (delta: 2.0kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:50:00,151 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.5s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 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: 1551]: 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 1567. 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); [L1567] 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) [L1567] 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] [L1568] CALL CWE191_Integer_Underflow__int_fscanf_postdec_44_bad() [L1558] int data; [L1559] void (*funcPtr) (int) = badSink; [L1560] data = 0 [L1562] CALL funcPtr(data) [L1551] 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.32ms. Allocated memory is still 107.0MB. Free memory is still 58.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1710.52ms. Allocated memory was 144.7MB in the beginning and 197.1MB in the end (delta: 52.4MB). Free memory was 97.4MB in the beginning and 128.1MB in the end (delta: -30.8MB). Peak memory consumption was 38.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 98.47ms. Allocated memory is still 197.1MB. Free memory was 128.1MB in the beginning and 124.9MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 49.21ms. Allocated memory is still 197.1MB. Free memory was 124.9MB in the beginning and 124.0MB in the end (delta: 874.0kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 523.36ms. Allocated memory is still 197.1MB. Free memory was 124.0MB in the beginning and 109.3MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 556.00ms. Allocated memory is still 197.1MB. Free memory was 109.3MB in the beginning and 154.5MB in the end (delta: -45.2MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 9.93ms. Allocated memory is still 197.1MB. Free memory was 154.5MB in the beginning and 154.5MB in the end (delta: 2.0kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-08 22:50:00,200 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/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-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/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_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_44_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/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_ad0a4704-31fe-434d-b538-46f108d53e28/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 6d514edb8a4a3f01febfd738a51110b9cf5616542da79e0d3dd4314e01a864bd --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:50:03,010 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:50:03,102 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 22:50:03,158 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:50:03,159 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:50:03,159 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:50:03,160 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:50:03,163 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:50:03,163 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:50:03,164 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:50:03,164 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:50:03,165 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:50:03,165 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:50:03,167 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:50:03,168 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 22:50:03,168 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 22:50:03,169 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:50:03,169 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:50:03,172 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 22:50:03,172 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:50:03,173 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:50:03,173 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:50:03,174 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:50:03,174 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:50:03,174 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:50:03,175 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:50:03,175 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 22:50:03,176 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:50:03,176 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:50:03,180 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:50:03,180 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:50:03,181 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:50:03,181 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 22:50:03,182 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:50:03,183 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 22:50:03,183 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_ad0a4704-31fe-434d-b538-46f108d53e28/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_ad0a4704-31fe-434d-b538-46f108d53e28/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 -> 6d514edb8a4a3f01febfd738a51110b9cf5616542da79e0d3dd4314e01a864bd [2024-11-08 22:50:03,672 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:50:03,705 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:50:03,710 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:50:03,712 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:50:03,713 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:50:03,715 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_44_bad.i Unable to find full path for "g++" [2024-11-08 22:50:05,947 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:50:06,413 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:50:06,416 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_44_bad.i [2024-11-08 22:50:06,445 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/data/f5ccd61fc/264ab4a5c4c74198a18d293ce0c2523c/FLAGa456668da [2024-11-08 22:50:06,529 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/data/f5ccd61fc/264ab4a5c4c74198a18d293ce0c2523c [2024-11-08 22:50:06,531 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:50:06,532 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:50:06,534 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:50:06,534 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:50:06,540 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:50:06,541 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:50:06" (1/1) ... [2024-11-08 22:50:06,542 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3857025f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:06, skipping insertion in model container [2024-11-08 22:50:06,543 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:50:06" (1/1) ... [2024-11-08 22:50:06,628 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:50:07,961 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:50:07,974 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:50:08,083 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:50:08,235 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:50:08,236 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08 WrapperNode [2024-11-08 22:50:08,236 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:50:08,237 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:50:08,237 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:50:08,238 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:50:08,246 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,272 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,295 INFO L138 Inliner]: procedures = 504, calls = 25, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 50 [2024-11-08 22:50:08,298 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:50:08,299 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:50:08,300 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:50:08,301 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:50:08,311 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,311 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,318 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,323 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,334 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,340 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,343 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,348 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,351 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:50:08,352 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:50:08,352 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:50:08,352 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:50:08,354 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,360 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:50:08,373 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:50:08,387 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 22:50:08,390 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 22:50:08,425 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:50:08,426 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:50:08,426 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:50:08,426 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:50:08,426 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:50:08,594 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:50:08,597 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:50:08,789 INFO L? ?]: Removed 27 outVars from TransFormulas that were not future-live. [2024-11-08 22:50:08,789 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:50:08,884 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:50:08,885 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 22:50:08,885 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:50:08 BoogieIcfgContainer [2024-11-08 22:50:08,885 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:50:08,886 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:50:08,887 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:50:08,902 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:50:08,902 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:50:08" (1/1) ... [2024-11-08 22:50:08,914 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:50:08,980 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:50:08,990 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-08 22:50:08,991 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-08 22:50:08,996 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-08 22:50:08,998 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:50:08,999 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:50:08,999 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:50:09,002 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:50:09,004 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 22:50:09,221 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:50:09,221 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:50:09,272 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:50:09,344 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:50:09,345 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:50:09,362 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:50:09,384 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-08 22:50:09,385 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 22:50:09,426 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:50:09 ImpRootNode [2024-11-08 22:50:09,427 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:50:09,428 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:50:09,428 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:50:09,428 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:50:09,431 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:50:08" (3/4) ... [2024-11-08 22:50:09,433 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:50:09,435 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:50:09,436 INFO L158 Benchmark]: Toolchain (without parser) took 2903.17ms. Allocated memory was 86.0MB in the beginning and 104.9MB in the end (delta: 18.9MB). Free memory was 58.1MB in the beginning and 56.4MB in the end (delta: 1.7MB). Peak memory consumption was 22.5MB. Max. memory is 16.1GB. [2024-11-08 22:50:09,436 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 58.7MB. Free memory is still 34.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:50:09,437 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1702.30ms. Allocated memory is still 86.0MB. Free memory was 57.9MB in the beginning and 51.9MB in the end (delta: 6.0MB). Peak memory consumption was 31.8MB. Max. memory is 16.1GB. [2024-11-08 22:50:09,438 INFO L158 Benchmark]: Boogie Procedure Inliner took 61.39ms. Allocated memory is still 86.0MB. Free memory was 51.5MB in the beginning and 48.5MB in the end (delta: 3.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:50:09,438 INFO L158 Benchmark]: Boogie Preprocessor took 52.40ms. Allocated memory is still 86.0MB. Free memory was 48.5MB in the beginning and 46.5MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:50:09,439 INFO L158 Benchmark]: RCFGBuilder took 533.56ms. Allocated memory was 86.0MB in the beginning and 104.9MB in the end (delta: 18.9MB). Free memory was 46.5MB in the beginning and 70.4MB in the end (delta: -23.9MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. [2024-11-08 22:50:09,440 INFO L158 Benchmark]: CodeCheck took 540.61ms. Allocated memory is still 104.9MB. Free memory was 70.4MB in the beginning and 56.4MB in the end (delta: 14.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 22:50:09,440 INFO L158 Benchmark]: Witness Printer took 7.38ms. Allocated memory is still 104.9MB. Free memory is still 56.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:50:09,445 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.5s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 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: 1551]: 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 1567. 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); [L1567] 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) [L1567] 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] [L1568] CALL CWE191_Integer_Underflow__int_fscanf_postdec_44_bad() [L1558] int data; [L1559] void (*funcPtr) (int) = badSink; [L1560] data = 0 [L1562] CALL funcPtr(data) [L1551] 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.32ms. Allocated memory is still 58.7MB. Free memory is still 34.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1702.30ms. Allocated memory is still 86.0MB. Free memory was 57.9MB in the beginning and 51.9MB in the end (delta: 6.0MB). Peak memory consumption was 31.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 61.39ms. Allocated memory is still 86.0MB. Free memory was 51.5MB in the beginning and 48.5MB in the end (delta: 3.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 52.40ms. Allocated memory is still 86.0MB. Free memory was 48.5MB in the beginning and 46.5MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 533.56ms. Allocated memory was 86.0MB in the beginning and 104.9MB in the end (delta: 18.9MB). Free memory was 46.5MB in the beginning and 70.4MB in the end (delta: -23.9MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. * CodeCheck took 540.61ms. Allocated memory is still 104.9MB. Free memory was 70.4MB in the beginning and 56.4MB in the end (delta: 14.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Witness Printer took 7.38ms. Allocated memory is still 104.9MB. Free memory is still 56.4MB. 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 22:50:09,488 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ad0a4704-31fe-434d-b538-46f108d53e28/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