./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_multiply_42_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_multiply_42_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 97ce32547bdb9b934957007d1f73bd58f9c8f85ea9b3d991d56071ba18821e45 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:19:54,720 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:19:54,801 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 21:19:54,811 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:19:54,814 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:19:54,844 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:19:54,845 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:19:54,845 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:19:54,845 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:19:54,845 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:19:54,845 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:19:54,846 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:19:54,847 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:19:54,847 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:19:54,847 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:19:54,847 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:19:54,847 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:19:54,847 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:19:54,847 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:19:54,847 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:19:54,847 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:19:54,847 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:19:54,847 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 97ce32547bdb9b934957007d1f73bd58f9c8f85ea9b3d991d56071ba18821e45 [2024-11-13 21:19:55,127 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:19:55,134 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:19:55,136 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:19:55,137 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:19:55,137 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:19:55,139 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_multiply_42_bad.i Unable to find full path for "g++" [2024-11-13 21:19:57,017 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:19:57,413 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:19:57,413 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_multiply_42_bad.i [2024-11-13 21:19:57,444 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/data/d832391dd/58a73b34496d4fd79d171f9885a0c263/FLAG4a5e2acf4 [2024-11-13 21:19:57,580 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/data/d832391dd/58a73b34496d4fd79d171f9885a0c263 [2024-11-13 21:19:57,585 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:19:57,587 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:19:57,589 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:19:57,589 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:19:57,597 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:19:57,602 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:19:57" (1/1) ... [2024-11-13 21:19:57,605 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2bc687ce and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:57, skipping insertion in model container [2024-11-13 21:19:57,606 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:19:57" (1/1) ... [2024-11-13 21:19:57,673 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:19:58,655 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:19:58,665 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:19:58,820 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:19:58,966 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:19:58,967 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58 WrapperNode [2024-11-13 21:19:58,968 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:19:58,969 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:19:58,969 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:19:58,969 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:19:58,976 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,009 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,038 INFO L138 Inliner]: procedures = 498, calls = 24, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 50 [2024-11-13 21:19:59,040 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:19:59,041 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:19:59,041 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:19:59,041 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:19:59,049 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,049 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,053 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,053 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,060 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,064 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,065 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,066 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,068 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:19:59,073 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:19:59,073 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:19:59,073 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:19:59,077 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:19:58" (1/1) ... [2024-11-13 21:19:59,086 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:19:59,105 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:19:59,122 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:19:59,129 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:19:59,160 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:19:59,160 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:19:59,160 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:19:59,160 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:19:59,160 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:19:59,374 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:19:59,376 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:19:59,512 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-13 21:19:59,512 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:19:59,546 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:19:59,546 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:19:59,547 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:19:59 BoogieIcfgContainer [2024-11-13 21:19:59,547 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:19:59,548 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:19:59,548 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:19:59,558 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:19:59,559 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:19:59" (1/1) ... [2024-11-13 21:19:59,568 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:19:59,618 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:19:59,628 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 21:19:59,629 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 21:19:59,633 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 21:19:59,633 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:19:59,634 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:19:59,742 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:19:59,744 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:19:59,781 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:19:59,852 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:19:59,853 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:19:59,879 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:19:59,900 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 21:19:59,932 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:19:59 ImpRootNode [2024-11-13 21:19:59,936 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:19:59,936 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:19:59,936 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:19:59,937 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:19:59,938 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:19:59" (3/4) ... [2024-11-13 21:19:59,941 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:19:59,942 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:19:59,943 INFO L158 Benchmark]: Toolchain (without parser) took 2355.97ms. Allocated memory is still 142.6MB. Free memory was 113.8MB in the beginning and 92.1MB in the end (delta: 21.8MB). Peak memory consumption was 22.1MB. Max. memory is 16.1GB. [2024-11-13 21:19:59,945 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 117.4MB. Free memory is still 73.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:19:59,945 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1379.61ms. Allocated memory is still 142.6MB. Free memory was 113.8MB in the beginning and 54.0MB in the end (delta: 59.9MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2024-11-13 21:19:59,946 INFO L158 Benchmark]: Boogie Procedure Inliner took 71.23ms. Allocated memory is still 142.6MB. Free memory was 53.9MB in the beginning and 51.2MB in the end (delta: 2.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:19:59,946 INFO L158 Benchmark]: Boogie Preprocessor took 27.54ms. Allocated memory is still 142.6MB. Free memory was 51.2MB in the beginning and 50.4MB in the end (delta: 801.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:19:59,947 INFO L158 Benchmark]: RCFGBuilder took 474.40ms. Allocated memory is still 142.6MB. Free memory was 50.2MB in the beginning and 105.8MB in the end (delta: -55.6MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. [2024-11-13 21:19:59,949 INFO L158 Benchmark]: CodeCheck took 388.21ms. Allocated memory is still 142.6MB. Free memory was 105.8MB in the beginning and 92.1MB in the end (delta: 13.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:19:59,949 INFO L158 Benchmark]: Witness Printer took 5.64ms. Allocated memory is still 142.6MB. Free memory is still 92.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:19:59,954 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 14 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.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, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1560]: 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_multiply_42_bad() [L1555] int data; [L1556] data = 0 [L1557] CALL, EXPR badSource(data) [L1551] return data; [L1557] RET, EXPR badSource(data) [L1557] data = badSource(data) [L1558] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1560] data * 2 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.35ms. Allocated memory is still 117.4MB. Free memory is still 73.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1379.61ms. Allocated memory is still 142.6MB. Free memory was 113.8MB in the beginning and 54.0MB in the end (delta: 59.9MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 71.23ms. Allocated memory is still 142.6MB. Free memory was 53.9MB in the beginning and 51.2MB in the end (delta: 2.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 27.54ms. Allocated memory is still 142.6MB. Free memory was 51.2MB in the beginning and 50.4MB in the end (delta: 801.1kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 474.40ms. Allocated memory is still 142.6MB. Free memory was 50.2MB in the beginning and 105.8MB in the end (delta: -55.6MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. * CodeCheck took 388.21ms. Allocated memory is still 142.6MB. Free memory was 105.8MB in the beginning and 92.1MB in the end (delta: 13.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Witness Printer took 5.64ms. Allocated memory is still 142.6MB. Free memory is still 92.1MB. There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 21:19:59,986 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_multiply_42_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 97ce32547bdb9b934957007d1f73bd58f9c8f85ea9b3d991d56071ba18821e45 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:20:02,641 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:20:02,762 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 21:20:02,837 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:20:02,838 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:20:02,838 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:20:02,839 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:20:02,839 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:20:02,840 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:20:02,840 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:20:02,840 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:20:02,840 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:20:02,841 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:20:02,842 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:20:02,842 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 21:20:02,842 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 21:20:02,842 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:20:02,842 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:20:02,842 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 21:20:02,842 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:20:02,842 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:20:02,842 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:20:02,843 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:20:02,843 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:20:02,843 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:20:02,843 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:20:02,843 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 21:20:02,843 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:20:02,843 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:20:02,843 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:20:02,843 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:20:02,843 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:20:02,843 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 21:20:02,843 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:20:02,844 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 21:20:02,844 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 97ce32547bdb9b934957007d1f73bd58f9c8f85ea9b3d991d56071ba18821e45 [2024-11-13 21:20:03,159 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:20:03,171 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:20:03,174 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:20:03,177 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:20:03,177 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:20:03,178 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_multiply_42_bad.i Unable to find full path for "g++" [2024-11-13 21:20:05,123 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:20:05,529 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:20:05,530 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_multiply_42_bad.i [2024-11-13 21:20:05,552 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/data/cba18ebcd/31ffe57b28014790bbdcd8e5594f6b46/FLAGbb7263414 [2024-11-13 21:20:05,678 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/data/cba18ebcd/31ffe57b28014790bbdcd8e5594f6b46 [2024-11-13 21:20:05,680 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:20:05,682 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:20:05,684 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:20:05,684 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:20:05,689 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:20:05,689 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:20:05" (1/1) ... [2024-11-13 21:20:05,690 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@474cad78 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:05, skipping insertion in model container [2024-11-13 21:20:05,690 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:20:05" (1/1) ... [2024-11-13 21:20:05,750 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:20:06,631 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:20:06,644 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:20:06,762 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:20:06,942 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:20:06,943 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06 WrapperNode [2024-11-13 21:20:06,943 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:20:06,944 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:20:06,944 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:20:06,945 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:20:06,955 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:06,988 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,020 INFO L138 Inliner]: procedures = 503, calls = 24, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 48 [2024-11-13 21:20:07,021 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:20:07,021 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:20:07,021 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:20:07,022 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:20:07,029 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,030 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,033 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,037 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,052 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,053 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,063 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,064 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,067 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:20:07,070 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:20:07,070 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:20:07,070 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:20:07,071 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:20:06" (1/1) ... [2024-11-13 21:20:07,079 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:20:07,092 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:20:07,106 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:20:07,111 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:20:07,140 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:20:07,140 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:20:07,140 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:20:07,140 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:20:07,141 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:20:07,356 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:20:07,358 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:20:07,524 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-13 21:20:07,524 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:20:07,591 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:20:07,592 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:20:07,593 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:20:07 BoogieIcfgContainer [2024-11-13 21:20:07,593 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:20:07,594 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:20:07,595 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:20:07,605 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:20:07,606 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:20:07" (1/1) ... [2024-11-13 21:20:07,614 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:20:07,663 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:20:07,674 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 21:20:07,675 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 21:20:07,679 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 21:20:07,679 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:20:07,681 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:20:07,681 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:20:07,685 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:20:07,687 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 21:20:07,890 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:20:07,890 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:20:07,946 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:20:08,016 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:20:08,016 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:20:08,037 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:20:08,114 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 21:20:08,115 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 21:20:08,150 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:20:08 ImpRootNode [2024-11-13 21:20:08,151 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:20:08,153 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:20:08,153 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:20:08,153 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:20:08,154 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:20:07" (3/4) ... [2024-11-13 21:20:08,158 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:20:08,158 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:20:08,161 INFO L158 Benchmark]: Toolchain (without parser) took 2477.43ms. Allocated memory is still 117.4MB. Free memory was 89.6MB in the beginning and 85.6MB in the end (delta: 4.0MB). Peak memory consumption was 7.8MB. Max. memory is 16.1GB. [2024-11-13 21:20:08,162 INFO L158 Benchmark]: CDTParser took 3.63ms. Allocated memory is still 117.4MB. Free memory is still 83.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:20:08,162 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1260.07ms. Allocated memory is still 117.4MB. Free memory was 89.6MB in the beginning and 68.3MB in the end (delta: 21.2MB). Peak memory consumption was 58.4MB. Max. memory is 16.1GB. [2024-11-13 21:20:08,162 INFO L158 Benchmark]: Boogie Procedure Inliner took 76.64ms. Allocated memory is still 117.4MB. Free memory was 68.3MB in the beginning and 65.7MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:20:08,163 INFO L158 Benchmark]: Boogie Preprocessor took 47.90ms. Allocated memory is still 117.4MB. Free memory was 65.7MB in the beginning and 64.2MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:20:08,163 INFO L158 Benchmark]: RCFGBuilder took 523.27ms. Allocated memory is still 117.4MB. Free memory was 64.2MB in the beginning and 48.6MB in the end (delta: 15.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:20:08,163 INFO L158 Benchmark]: CodeCheck took 557.36ms. Allocated memory is still 117.4MB. Free memory was 48.1MB in the beginning and 85.6MB in the end (delta: -37.6MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-11-13 21:20:08,164 INFO L158 Benchmark]: Witness Printer took 5.79ms. Allocated memory is still 117.4MB. Free memory was 85.6MB in the beginning and 85.6MB in the end (delta: 42.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:20:08,168 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 14 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1560]: 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_multiply_42_bad() [L1555] int data; [L1556] data = 0 [L1557] CALL, EXPR badSource(data) [L1551] return data; [L1557] RET, EXPR badSource(data) [L1557] data = badSource(data) [L1558] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1560] data * 2 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 3.63ms. Allocated memory is still 117.4MB. Free memory is still 83.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1260.07ms. Allocated memory is still 117.4MB. Free memory was 89.6MB in the beginning and 68.3MB in the end (delta: 21.2MB). Peak memory consumption was 58.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 76.64ms. Allocated memory is still 117.4MB. Free memory was 68.3MB in the beginning and 65.7MB in the end (delta: 2.6MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 47.90ms. Allocated memory is still 117.4MB. Free memory was 65.7MB in the beginning and 64.2MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 523.27ms. Allocated memory is still 117.4MB. Free memory was 64.2MB in the beginning and 48.6MB in the end (delta: 15.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 557.36ms. Allocated memory is still 117.4MB. Free memory was 48.1MB in the beginning and 85.6MB in the end (delta: -37.6MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Witness Printer took 5.79ms. Allocated memory is still 117.4MB. Free memory was 85.6MB in the beginning and 85.6MB in the end (delta: 42.6kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 21:20:08,201 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fa296158-808c-4cff-847e-25ec53a9ce36/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample