./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_21_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_21_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi --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 d1ba05f78c3a89ccf511f13d47c9dd47757b3e1a564059d33275bd799f44b898 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:16:31,030 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:16:31,130 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-24 22:16:31,137 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 22:16:31,138 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-24 22:16:31,174 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:16:31,175 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:16:31,176 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:16:31,177 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:16:31,178 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:16:31,179 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:16:31,180 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:16:31,180 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 22:16:31,181 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:16:31,182 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:16:31,182 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:16:31,183 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:16:31,184 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 22:16:31,185 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:16:31,185 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:16:31,186 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:16:31,187 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:16:31,188 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:16:31,189 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:16:31,189 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:16:31,190 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:16:31,191 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:16:31,191 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:16:31,192 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:16:31,216 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-24 22:16:31,216 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 22:16:31,217 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:16:31,217 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_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/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_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi 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 -> d1ba05f78c3a89ccf511f13d47c9dd47757b3e1a564059d33275bd799f44b898 [2023-11-24 22:16:31,577 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:16:31,605 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:16:31,609 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:16:31,610 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:16:31,611 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:16:31,613 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_21_bad.i [2023-11-24 22:16:35,137 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:16:35,567 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:16:35,575 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_21_bad.i [2023-11-24 22:16:35,618 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/data/1d1603672/667cf6694a9a4c3f82d5b5acb76f568a/FLAGcdaad4cc5 [2023-11-24 22:16:35,638 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/data/1d1603672/667cf6694a9a4c3f82d5b5acb76f568a [2023-11-24 22:16:35,641 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:16:35,643 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:16:35,644 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:16:35,645 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:16:35,651 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:16:35,652 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:16:35" (1/1) ... [2023-11-24 22:16:35,653 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@20274205 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:35, skipping insertion in model container [2023-11-24 22:16:35,654 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:16:35" (1/1) ... [2023-11-24 22:16:35,729 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:16:36,867 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:16:36,883 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:16:37,059 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:16:37,284 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:16:37,284 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:16:37,285 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:16:37,285 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:16:37,293 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:16:37,294 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37 WrapperNode [2023-11-24 22:16:37,294 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:16:37,296 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:16:37,296 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:16:37,296 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:16:37,304 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,337 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,368 INFO L138 Inliner]: procedures = 499, calls = 61, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 55 [2023-11-24 22:16:37,368 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:16:37,369 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:16:37,370 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:16:37,370 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:16:37,381 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,381 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,386 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,386 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,394 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,396 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,398 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,400 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,404 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:16:37,405 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:16:37,405 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:16:37,405 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:16:37,406 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,413 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:16:37,432 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:16:37,447 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 22:16:37,462 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 22:16:37,498 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 22:16:37,498 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 22:16:37,498 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:16:37,498 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-24 22:16:37,499 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:16:37,499 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:16:37,499 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:16:37,499 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:16:37,499 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 22:16:37,500 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-24 22:16:37,500 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-24 22:16:37,666 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:16:37,669 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:16:37,847 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:16:37,897 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:16:37,897 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 22:16:37,899 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:16:37 BoogieIcfgContainer [2023-11-24 22:16:37,900 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:16:37,901 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 22:16:37,901 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 22:16:37,911 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 22:16:37,911 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:16:37" (1/1) ... [2023-11-24 22:16:37,920 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:16:37,972 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:16:37,981 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2023-11-24 22:16:37,981 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2023-11-24 22:16:37,987 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-24 22:16:37,987 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:16:37,988 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:16:38,162 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:16:38,162 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:16:38,194 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:16:38,282 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:16:38,282 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:16:38,305 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:16:38,324 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2023-11-24 22:16:38,350 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet103 [2023-11-24 22:16:38,353 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~post98 could not be translated [2023-11-24 22:16:38,359 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 10:16:38 ImpRootNode [2023-11-24 22:16:38,359 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 22:16:38,360 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 22:16:38,360 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 22:16:38,360 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 22:16:38,361 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:16:37" (3/4) ... [2023-11-24 22:16:38,363 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 22:16:38,365 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 22:16:38,366 INFO L158 Benchmark]: Toolchain (without parser) took 2722.80ms. Allocated memory was 157.3MB in the beginning and 226.5MB in the end (delta: 69.2MB). Free memory was 107.2MB in the beginning and 139.7MB in the end (delta: -32.5MB). Peak memory consumption was 38.6MB. Max. memory is 16.1GB. [2023-11-24 22:16:38,367 INFO L158 Benchmark]: CDTParser took 0.41ms. Allocated memory is still 157.3MB. Free memory was 125.8MB in the beginning and 125.7MB in the end (delta: 76.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:16:38,368 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1650.37ms. Allocated memory was 157.3MB in the beginning and 226.5MB in the end (delta: 69.2MB). Free memory was 107.1MB in the beginning and 178.5MB in the end (delta: -71.5MB). Peak memory consumption was 65.9MB. Max. memory is 16.1GB. [2023-11-24 22:16:38,368 INFO L158 Benchmark]: Boogie Procedure Inliner took 73.19ms. Allocated memory is still 226.5MB. Free memory was 178.5MB in the beginning and 176.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:16:38,369 INFO L158 Benchmark]: Boogie Preprocessor took 34.73ms. Allocated memory is still 226.5MB. Free memory was 176.4MB in the beginning and 174.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:16:38,370 INFO L158 Benchmark]: RCFGBuilder took 494.80ms. Allocated memory is still 226.5MB. Free memory was 174.3MB in the beginning and 159.7MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-24 22:16:38,371 INFO L158 Benchmark]: CodeCheck took 458.27ms. Allocated memory is still 226.5MB. Free memory was 158.6MB in the beginning and 140.4MB in the end (delta: 18.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-24 22:16:38,372 INFO L158 Benchmark]: Witness Printer took 5.20ms. Allocated memory is still 226.5MB. Free memory was 140.4MB in the beginning and 139.7MB in the end (delta: 694.2kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:16:38,376 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 14 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.4s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1554]: 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 1571. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1548] static int badStatic = 0; [L1571] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, badStatic=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={2:0}] [L1414] COND TRUE line != ((void *)0) [L1571] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=16, argc=16, argv={13:34}, badStatic=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1572] CALL CWE191_Integer_Underflow__int_fscanf_postdec_21_bad() [L1562] int data; [L1563] data = 0 [L1565] badStatic = 1 [L1566] EXPR \read(data) [L1566] CALL badSink(data) [L1551] COND TRUE \read(badStatic) [L1554] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(data)=-2147483648, badStatic=1, data=-2147483648, 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.41ms. Allocated memory is still 157.3MB. Free memory was 125.8MB in the beginning and 125.7MB in the end (delta: 76.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1650.37ms. Allocated memory was 157.3MB in the beginning and 226.5MB in the end (delta: 69.2MB). Free memory was 107.1MB in the beginning and 178.5MB in the end (delta: -71.5MB). Peak memory consumption was 65.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 73.19ms. Allocated memory is still 226.5MB. Free memory was 178.5MB in the beginning and 176.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 34.73ms. Allocated memory is still 226.5MB. Free memory was 176.4MB in the beginning and 174.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 494.80ms. Allocated memory is still 226.5MB. Free memory was 174.3MB in the beginning and 159.7MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 458.27ms. Allocated memory is still 226.5MB. Free memory was 158.6MB in the beginning and 140.4MB in the end (delta: 18.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Witness Printer took 5.20ms. Allocated memory is still 226.5MB. Free memory was 140.4MB in the beginning and 139.7MB in the end (delta: 694.2kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: unknown boogie variable #t~nondet103 - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~post98 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-24 22:16:38,412 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_21_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi --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 d1ba05f78c3a89ccf511f13d47c9dd47757b3e1a564059d33275bd799f44b898 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:16:41,419 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:16:41,553 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-24 22:16:41,602 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:16:41,603 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:16:41,604 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:16:41,605 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:16:41,606 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:16:41,607 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:16:41,612 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:16:41,612 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:16:41,613 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:16:41,613 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:16:41,615 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:16:41,615 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 22:16:41,624 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-24 22:16:41,624 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 22:16:41,625 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-24 22:16:41,625 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:16:41,626 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:16:41,626 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:16:41,627 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:16:41,627 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:16:41,628 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:16:41,628 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:16:41,629 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-24 22:16:41,629 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:16:41,630 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:16:41,630 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:16:41,631 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:16:41,631 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:16:41,631 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-24 22:16:41,631 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:16:41,632 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:16:41,632 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-24 22:16:41,632 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 22:16:41,632 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/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_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi 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 -> d1ba05f78c3a89ccf511f13d47c9dd47757b3e1a564059d33275bd799f44b898 [2023-11-24 22:16:42,041 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:16:42,076 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:16:42,079 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:16:42,081 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:16:42,082 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:16:42,084 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_21_bad.i [2023-11-24 22:16:45,618 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:16:46,233 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:16:46,233 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_postdec_21_bad.i [2023-11-24 22:16:46,294 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/data/fc07aaafb/bf5c81133e484501adbe8aed87f0006a/FLAGb517c3787 [2023-11-24 22:16:46,318 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/data/fc07aaafb/bf5c81133e484501adbe8aed87f0006a [2023-11-24 22:16:46,325 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:16:46,327 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:16:46,332 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:16:46,333 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:16:46,339 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:16:46,340 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:16:46" (1/1) ... [2023-11-24 22:16:46,342 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@149dd4c4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:46, skipping insertion in model container [2023-11-24 22:16:46,342 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:16:46" (1/1) ... [2023-11-24 22:16:46,451 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:16:47,898 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:16:47,923 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:16:48,091 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:16:48,365 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:16:48,366 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:16:48,366 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:16:48,366 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:16:48,376 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:16:48,377 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48 WrapperNode [2023-11-24 22:16:48,377 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:16:48,379 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:16:48,379 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:16:48,380 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:16:48,389 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,458 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,519 INFO L138 Inliner]: procedures = 504, calls = 61, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 54 [2023-11-24 22:16:48,520 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:16:48,521 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:16:48,522 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:16:48,522 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:16:48,535 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,535 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,541 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,542 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,566 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,585 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,590 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,592 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,599 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:16:48,600 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:16:48,600 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:16:48,601 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:16:48,602 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:48" (1/1) ... [2023-11-24 22:16:48,619 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:16:48,635 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:16:48,662 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 22:16:48,689 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 22:16:48,725 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 22:16:48,725 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 22:16:48,726 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:16:48,726 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-24 22:16:48,726 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:16:48,727 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:16:48,727 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:16:48,727 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2023-11-24 22:16:48,727 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:16:48,728 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-11-24 22:16:48,728 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 22:16:49,019 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:16:49,023 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:16:49,320 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:16:49,400 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:16:49,406 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 22:16:49,414 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:16:49 BoogieIcfgContainer [2023-11-24 22:16:49,415 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:16:49,416 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 22:16:49,416 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 22:16:49,428 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 22:16:49,429 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:16:49" (1/1) ... [2023-11-24 22:16:49,442 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:16:49,523 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:16:49,534 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2023-11-24 22:16:49,535 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2023-11-24 22:16:49,547 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-24 22:16:49,547 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:16:49,548 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 22:16:49,548 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 22:16:49,552 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 22:16:49,582 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-24 22:16:49,869 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:16:49,869 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:16:49,990 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:16:50,159 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:16:50,159 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:16:50,236 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:16:50,275 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 22:16:50,281 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2023-11-24 22:16:50,284 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2023-11-24 22:16:50,324 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet101 [2023-11-24 22:16:50,329 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~post96 could not be translated [2023-11-24 22:16:50,337 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 10:16:50 ImpRootNode [2023-11-24 22:16:50,337 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 22:16:50,340 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 22:16:50,340 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 22:16:50,341 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 22:16:50,341 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:16:49" (3/4) ... [2023-11-24 22:16:50,344 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 22:16:50,346 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 22:16:50,347 INFO L158 Benchmark]: Toolchain (without parser) took 4020.05ms. Allocated memory was 77.6MB in the beginning and 100.7MB in the end (delta: 23.1MB). Free memory was 50.3MB in the beginning and 48.0MB in the end (delta: 2.2MB). Peak memory consumption was 27.8MB. Max. memory is 16.1GB. [2023-11-24 22:16:50,348 INFO L158 Benchmark]: CDTParser took 0.77ms. Allocated memory is still 77.6MB. Free memory is still 53.1MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:16:50,349 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2046.47ms. Allocated memory was 77.6MB in the beginning and 100.7MB in the end (delta: 23.1MB). Free memory was 50.3MB in the beginning and 57.8MB in the end (delta: -7.6MB). Peak memory consumption was 34.5MB. Max. memory is 16.1GB. [2023-11-24 22:16:50,351 INFO L158 Benchmark]: Boogie Procedure Inliner took 141.79ms. Allocated memory is still 100.7MB. Free memory was 57.8MB in the beginning and 55.0MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-24 22:16:50,352 INFO L158 Benchmark]: Boogie Preprocessor took 77.68ms. Allocated memory is still 100.7MB. Free memory was 55.0MB in the beginning and 53.0MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:16:50,353 INFO L158 Benchmark]: RCFGBuilder took 815.00ms. Allocated memory is still 100.7MB. Free memory was 52.5MB in the beginning and 65.9MB in the end (delta: -13.4MB). Peak memory consumption was 16.4MB. Max. memory is 16.1GB. [2023-11-24 22:16:50,355 INFO L158 Benchmark]: CodeCheck took 921.70ms. Allocated memory is still 100.7MB. Free memory was 65.9MB in the beginning and 48.0MB in the end (delta: 17.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-24 22:16:50,355 INFO L158 Benchmark]: Witness Printer took 6.10ms. Allocated memory is still 100.7MB. Free memory was 48.0MB in the beginning and 48.0MB in the end (delta: 2.7kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:16:50,370 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.8s, 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.1s 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: 1554]: 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 1571. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1548] static int badStatic = 0; [L1571] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, badStatic=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={2:0}] [L1414] COND TRUE line != ((void *)0) [L1571] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=0, argc=0, argv={0:0}, badStatic=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1572] CALL CWE191_Integer_Underflow__int_fscanf_postdec_21_bad() [L1562] int data; [L1563] data = 0 [L1565] badStatic = 1 [L1566] EXPR \read(data) [L1566] CALL badSink(data) [L1551] COND TRUE \read(badStatic) [L1554] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(data)=-2147483648, badStatic=1, data=-2147483648, 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.77ms. Allocated memory is still 77.6MB. Free memory is still 53.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2046.47ms. Allocated memory was 77.6MB in the beginning and 100.7MB in the end (delta: 23.1MB). Free memory was 50.3MB in the beginning and 57.8MB in the end (delta: -7.6MB). Peak memory consumption was 34.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 141.79ms. Allocated memory is still 100.7MB. Free memory was 57.8MB in the beginning and 55.0MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 77.68ms. Allocated memory is still 100.7MB. Free memory was 55.0MB in the beginning and 53.0MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 815.00ms. Allocated memory is still 100.7MB. Free memory was 52.5MB in the beginning and 65.9MB in the end (delta: -13.4MB). Peak memory consumption was 16.4MB. Max. memory is 16.1GB. * CodeCheck took 921.70ms. Allocated memory is still 100.7MB. Free memory was 65.9MB in the beginning and 48.0MB in the end (delta: 17.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Witness Printer took 6.10ms. Allocated memory is still 100.7MB. Free memory was 48.0MB in the beginning and 48.0MB in the end (delta: 2.7kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: unknown boogie variable #t~nondet101 - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~post96 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-24 22:16:50,403 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_701760c0-0786-4e41-8056-b59fa75ae387/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample