./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_06_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 30e01a73 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_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_06_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC --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 752d2212a67a1ee1e01a0dcea11800cf454a0491edd7407e01b8d1e8fdd60f76 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 20:12:52,885 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 20:12:53,010 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-23 20:12:53,016 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-23 20:12:53,017 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-23 20:12:53,042 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 20:12:53,043 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-23 20:12:53,044 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-23 20:12:53,045 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-23 20:12:53,045 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-23 20:12:53,046 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 20:12:53,047 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-23 20:12:53,047 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-23 20:12:53,048 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 20:12:53,048 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-23 20:12:53,049 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 20:12:53,049 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-23 20:12:53,050 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-23 20:12:53,050 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 20:12:53,051 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-23 20:12:53,051 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 20:12:53,058 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-23 20:12:53,058 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-23 20:12:53,059 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-23 20:12:53,059 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 20:12:53,059 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:12:53,060 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 20:12:53,061 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 20:12:53,061 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-23 20:12:53,062 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-23 20:12:53,063 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-23 20:12:53,063 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-23 20:12:53,063 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_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/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_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC 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 -> 752d2212a67a1ee1e01a0dcea11800cf454a0491edd7407e01b8d1e8fdd60f76 [2023-11-23 20:12:53,318 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 20:12:53,339 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 20:12:53,342 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 20:12:53,343 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 20:12:53,343 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 20:12:53,345 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_06_bad.i [2023-11-23 20:12:56,394 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 20:12:56,915 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 20:12:56,916 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_06_bad.i [2023-11-23 20:12:56,954 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/data/8b053501b/e26b48576e2b432d96ba72c5f62ad036/FLAGec2e9006a [2023-11-23 20:12:56,974 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/data/8b053501b/e26b48576e2b432d96ba72c5f62ad036 [2023-11-23 20:12:56,981 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 20:12:56,982 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 20:12:56,986 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 20:12:56,987 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 20:12:56,992 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 20:12:56,994 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:12:56" (1/1) ... [2023-11-23 20:12:56,995 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4629ea27 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:56, skipping insertion in model container [2023-11-23 20:12:56,997 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:12:56" (1/1) ... [2023-11-23 20:12:57,099 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 20:12:57,507 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 20:12:58,065 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:12:58,076 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 20:12:58,097 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 20:12:58,167 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:12:58,364 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:12:58,364 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:12:58,364 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:12:58,364 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:12:58,365 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:12:58,365 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:12:58,373 INFO L206 MainTranslator]: Completed translation [2023-11-23 20:12:58,374 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58 WrapperNode [2023-11-23 20:12:58,374 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 20:12:58,376 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 20:12:58,376 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 20:12:58,376 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 20:12:58,383 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,427 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,463 INFO L138 Inliner]: procedures = 500, calls = 64, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 55 [2023-11-23 20:12:58,463 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 20:12:58,464 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 20:12:58,464 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 20:12:58,465 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 20:12:58,474 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,474 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,488 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,490 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,496 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,511 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,513 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,515 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,529 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 20:12:58,530 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 20:12:58,530 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 20:12:58,530 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 20:12:58,531 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,536 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:12:58,552 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/z3 [2023-11-23 20:12:58,564 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-23 20:12:58,594 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-23 20:12:58,610 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-23 20:12:58,610 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-23 20:12:58,611 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-23 20:12:58,611 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 20:12:58,611 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-23 20:12:58,611 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-23 20:12:58,611 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 20:12:58,611 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 20:12:58,611 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-23 20:12:58,611 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-23 20:12:58,611 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-23 20:12:58,769 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 20:12:58,772 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 20:12:58,907 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 20:12:58,957 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 20:12:58,957 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-23 20:12:58,959 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:12:58 BoogieIcfgContainer [2023-11-23 20:12:58,959 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 20:12:58,962 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-23 20:12:58,962 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-23 20:12:58,975 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-23 20:12:58,975 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:12:58" (1/1) ... [2023-11-23 20:12:58,985 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 20:12:59,037 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:12:59,047 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 19 states and 24 transitions. [2023-11-23 20:12:59,048 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 24 transitions. [2023-11-23 20:12:59,053 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-23 20:12:59,053 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:12:59,054 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:12:59,322 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:12:59,513 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:12:59,587 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:12:59,588 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 19 states and 23 transitions. [2023-11-23 20:12:59,588 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2023-11-23 20:12:59,589 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-23 20:12:59,592 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:12:59,592 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 20:12:59,661 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:12:59,661 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:12:59,706 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:12:59,828 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:12:59,829 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:12:59,849 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:12:59,874 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2023-11-23 20:12:59,930 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 08:12:59 ImpRootNode [2023-11-23 20:12:59,931 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-23 20:12:59,932 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 20:12:59,932 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 20:12:59,932 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 20:12:59,932 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:12:58" (3/4) ... [2023-11-23 20:12:59,935 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-23 20:12:59,936 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 20:12:59,937 INFO L158 Benchmark]: Toolchain (without parser) took 2954.12ms. Allocated memory was 134.2MB in the beginning and 161.5MB in the end (delta: 27.3MB). Free memory was 100.4MB in the beginning and 104.6MB in the end (delta: -4.2MB). Peak memory consumption was 21.9MB. Max. memory is 16.1GB. [2023-11-23 20:12:59,937 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 134.2MB. Free memory is still 95.9MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:12:59,938 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1388.45ms. Allocated memory was 134.2MB in the beginning and 161.5MB in the end (delta: 27.3MB). Free memory was 100.1MB in the beginning and 99.9MB in the end (delta: 202.4kB). Peak memory consumption was 45.4MB. Max. memory is 16.1GB. [2023-11-23 20:12:59,939 INFO L158 Benchmark]: Boogie Procedure Inliner took 88.19ms. Allocated memory is still 161.5MB. Free memory was 99.9MB in the beginning and 97.1MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-23 20:12:59,940 INFO L158 Benchmark]: Boogie Preprocessor took 64.79ms. Allocated memory is still 161.5MB. Free memory was 97.1MB in the beginning and 95.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:12:59,940 INFO L158 Benchmark]: RCFGBuilder took 429.57ms. Allocated memory is still 161.5MB. Free memory was 95.7MB in the beginning and 81.1MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-23 20:12:59,941 INFO L158 Benchmark]: CodeCheck took 968.77ms. Allocated memory is still 161.5MB. Free memory was 81.1MB in the beginning and 105.7MB in the end (delta: -24.6MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:12:59,942 INFO L158 Benchmark]: Witness Printer took 4.26ms. Allocated memory is still 161.5MB. Free memory was 105.7MB in the beginning and 104.6MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:12:59,945 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, 19 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.9s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 24 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 2 mSDsluCounter, 19 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 6 IncrementalHoareTripleChecker+Invalid, 9 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 17 mSDtfsCounter, 6 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 71 GetRequests, 69 SyntacticMatches, 0 SemanticMatches, 2 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.2s InterpolantComputationTime, 20 NumberOfCodeBlocks, 20 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 8 ConstructedInterpolants, 0 QuantifiedInterpolants, 14 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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: 1571]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559. 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 const int STATIC_CONST_FIVE = 5; [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={4:0}] [L1414] COND TRUE line != ((void *)0) [L1579] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, \old(argc)=26, argc=26, argv={13:27}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE191_Integer_Underflow__int_fgets_multiply_06_bad() [L1551] int data; [L1552] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1553] COND TRUE STATIC_CONST_FIVE==5 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1557] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] EXPR data = atoi(inputBuffer) [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1555-L1565] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1567] COND TRUE STATIC_CONST_FIVE==5 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1569] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1571] data * 2 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-1073741825, 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.30ms. Allocated memory is still 134.2MB. Free memory is still 95.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1388.45ms. Allocated memory was 134.2MB in the beginning and 161.5MB in the end (delta: 27.3MB). Free memory was 100.1MB in the beginning and 99.9MB in the end (delta: 202.4kB). Peak memory consumption was 45.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 88.19ms. Allocated memory is still 161.5MB. Free memory was 99.9MB in the beginning and 97.1MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 64.79ms. Allocated memory is still 161.5MB. Free memory was 97.1MB in the beginning and 95.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 429.57ms. Allocated memory is still 161.5MB. Free memory was 95.7MB in the beginning and 81.1MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 968.77ms. Allocated memory is still 161.5MB. Free memory was 81.1MB in the beginning and 105.7MB in the end (delta: -24.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.26ms. Allocated memory is still 161.5MB. Free memory was 105.7MB in the beginning and 104.6MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-23 20:12:59,996 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/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 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_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_06_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC --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 752d2212a67a1ee1e01a0dcea11800cf454a0491edd7407e01b8d1e8fdd60f76 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 20:13:02,772 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 20:13:02,903 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-23 20:13:02,964 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 20:13:02,965 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-23 20:13:02,966 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-23 20:13:02,967 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-23 20:13:02,968 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-23 20:13:02,969 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 20:13:02,974 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-23 20:13:02,975 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 20:13:02,975 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-23 20:13:02,976 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 20:13:02,978 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-23 20:13:02,978 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-23 20:13:02,979 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-23 20:13:02,979 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-23 20:13:02,980 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-23 20:13:02,980 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 20:13:02,981 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-23 20:13:02,982 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 20:13:02,983 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-23 20:13:02,983 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-23 20:13:02,984 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-23 20:13:02,984 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-23 20:13:02,985 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-23 20:13:02,986 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 20:13:02,986 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:13:02,987 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 20:13:02,987 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 20:13:02,989 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-23 20:13:02,989 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-23 20:13:02,989 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-23 20:13:02,990 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-23 20:13:02,990 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-23 20:13:02,991 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-23 20:13:02,991 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_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/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_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC 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 -> 752d2212a67a1ee1e01a0dcea11800cf454a0491edd7407e01b8d1e8fdd60f76 [2023-11-23 20:13:03,452 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 20:13:03,487 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 20:13:03,490 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 20:13:03,491 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 20:13:03,492 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 20:13:03,494 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_06_bad.i [2023-11-23 20:13:06,852 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 20:13:07,302 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 20:13:07,303 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_06_bad.i [2023-11-23 20:13:07,343 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/data/fad66e707/34437a363fbe459daeb6231a2661ce27/FLAG7474516e1 [2023-11-23 20:13:07,363 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/data/fad66e707/34437a363fbe459daeb6231a2661ce27 [2023-11-23 20:13:07,369 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 20:13:07,373 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 20:13:07,379 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 20:13:07,380 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 20:13:07,385 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 20:13:07,386 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:13:07" (1/1) ... [2023-11-23 20:13:07,387 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5768c697 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:07, skipping insertion in model container [2023-11-23 20:13:07,388 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:13:07" (1/1) ... [2023-11-23 20:13:07,486 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 20:13:07,971 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 20:13:08,531 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:13:08,552 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 20:13:08,574 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 20:13:08,667 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 20:13:08,856 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:13:08,856 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:13:08,856 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:13:08,857 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:13:08,857 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:13:08,857 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 20:13:08,865 INFO L206 MainTranslator]: Completed translation [2023-11-23 20:13:08,866 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08 WrapperNode [2023-11-23 20:13:08,866 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 20:13:08,868 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 20:13:08,868 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 20:13:08,868 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 20:13:08,876 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:08,924 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:08,969 INFO L138 Inliner]: procedures = 505, calls = 64, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 54 [2023-11-23 20:13:08,970 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 20:13:08,971 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 20:13:08,971 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 20:13:08,971 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 20:13:08,981 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:08,981 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:08,996 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:08,997 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:09,017 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:09,028 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:09,033 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:09,035 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:09,050 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 20:13:09,051 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 20:13:09,051 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 20:13:09,051 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 20:13:09,052 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:13:08" (1/1) ... [2023-11-23 20:13:09,072 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-23 20:13:09,084 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/z3 [2023-11-23 20:13:09,105 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-23 20:13:09,125 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-23 20:13:09,155 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-23 20:13:09,156 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-23 20:13:09,156 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-23 20:13:09,156 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 20:13:09,156 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-23 20:13:09,157 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-23 20:13:09,157 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 20:13:09,157 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 20:13:09,157 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-23 20:13:09,158 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-23 20:13:09,160 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-23 20:13:09,348 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 20:13:09,350 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 20:13:09,578 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 20:13:09,627 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 20:13:09,628 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-23 20:13:09,630 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:13:09 BoogieIcfgContainer [2023-11-23 20:13:09,630 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 20:13:09,631 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-23 20:13:09,631 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-23 20:13:09,642 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-23 20:13:09,643 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:13:09" (1/1) ... [2023-11-23 20:13:09,652 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 20:13:09,712 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:13:09,721 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 19 states and 24 transitions. [2023-11-23 20:13:09,721 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 24 transitions. [2023-11-23 20:13:09,726 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-23 20:13:09,727 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:13:09,727 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-23 20:13:09,727 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 [2023-11-23 20:13:09,729 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-23 20:13:09,731 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-23 20:13:09,906 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:13:09,910 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-23 20:13:09,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-23 20:13:09,961 INFO L262 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-23 20:13:09,966 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-23 20:13:10,016 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-23 20:13:10,019 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-23 20:13:10,025 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-23 20:13:10,090 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-23 20:13:10,090 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 21 states and 28 transitions. [2023-11-23 20:13:10,091 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 28 transitions. [2023-11-23 20:13:10,092 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-23 20:13:10,092 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-23 20:13:10,092 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-23 20:13:10,092 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 [2023-11-23 20:13:10,129 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-23 20:13:10,152 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-23 20:13:10,315 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:13:10,315 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:13:10,422 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:13:10,508 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:13:10,509 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 20:13:10,554 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 20:13:10,574 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-23 20:13:10,582 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-23 20:13:10,583 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2023-11-23 20:13:10,621 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 08:13:10 ImpRootNode [2023-11-23 20:13:10,621 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-23 20:13:10,622 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 20:13:10,622 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 20:13:10,623 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 20:13:10,623 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:13:09" (3/4) ... [2023-11-23 20:13:10,625 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-23 20:13:10,627 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 20:13:10,628 INFO L158 Benchmark]: Toolchain (without parser) took 3255.05ms. Allocated memory was 75.5MB in the beginning and 92.3MB in the end (delta: 16.8MB). Free memory was 48.1MB in the beginning and 45.2MB in the end (delta: 3.0MB). Peak memory consumption was 20.2MB. Max. memory is 16.1GB. [2023-11-23 20:13:10,628 INFO L158 Benchmark]: CDTParser took 0.55ms. Allocated memory is still 56.6MB. Free memory is still 32.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:13:10,629 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1487.89ms. Allocated memory is still 75.5MB. Free memory was 48.0MB in the beginning and 33.4MB in the end (delta: 14.6MB). Peak memory consumption was 24.5MB. Max. memory is 16.1GB. [2023-11-23 20:13:10,630 INFO L158 Benchmark]: Boogie Procedure Inliner took 102.49ms. Allocated memory is still 75.5MB. Free memory was 33.4MB in the beginning and 30.6MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:13:10,630 INFO L158 Benchmark]: Boogie Preprocessor took 79.34ms. Allocated memory is still 75.5MB. Free memory was 30.2MB in the beginning and 28.4MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 20:13:10,631 INFO L158 Benchmark]: RCFGBuilder took 579.58ms. Allocated memory was 75.5MB in the beginning and 92.3MB in the end (delta: 16.8MB). Free memory was 28.4MB in the beginning and 48.4MB in the end (delta: -20.0MB). Peak memory consumption was 2.3MB. Max. memory is 16.1GB. [2023-11-23 20:13:10,632 INFO L158 Benchmark]: CodeCheck took 990.45ms. Allocated memory is still 92.3MB. Free memory was 48.4MB in the beginning and 45.6MB in the end (delta: 2.8MB). Peak memory consumption was 1.8MB. Max. memory is 16.1GB. [2023-11-23 20:13:10,633 INFO L158 Benchmark]: Witness Printer took 4.68ms. Allocated memory is still 92.3MB. Free memory was 45.6MB in the beginning and 45.2MB in the end (delta: 492.6kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 20:13:10,636 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, 19 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.9s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 18 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 8 mSDsluCounter, 25 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 6 mSDsCounter, 5 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 11 IncrementalHoareTripleChecker+Invalid, 16 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 5 mSolverCounterUnsat, 19 mSDtfsCounter, 11 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 78 GetRequests, 76 SyntacticMatches, 0 SemanticMatches, 2 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.1s InterpolantComputationTime, 20 NumberOfCodeBlocks, 20 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 8 ConstructedInterpolants, 0 QuantifiedInterpolants, 18 SizeOfPredicates, 0 NumberOfNonLiveVariables, 44 ConjunctsInSsa, 2 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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: 1571]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559. 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 const int STATIC_CONST_FIVE = 5; [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={4:0}] [L1414] COND TRUE line != ((void *)0) [L1579] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, \old(argc)=0, argc=0, argv={0:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE191_Integer_Underflow__int_fgets_multiply_06_bad() [L1551] int data; [L1552] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1553] COND TRUE STATIC_CONST_FIVE==5 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1557] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] EXPR data = atoi(inputBuffer) [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1555-L1565] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1567] COND TRUE STATIC_CONST_FIVE==5 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1569] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1571] data * 2 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, 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.55ms. Allocated memory is still 56.6MB. Free memory is still 32.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1487.89ms. Allocated memory is still 75.5MB. Free memory was 48.0MB in the beginning and 33.4MB in the end (delta: 14.6MB). Peak memory consumption was 24.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 102.49ms. Allocated memory is still 75.5MB. Free memory was 33.4MB in the beginning and 30.6MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 79.34ms. Allocated memory is still 75.5MB. Free memory was 30.2MB in the beginning and 28.4MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 579.58ms. Allocated memory was 75.5MB in the beginning and 92.3MB in the end (delta: 16.8MB). Free memory was 28.4MB in the beginning and 48.4MB in the end (delta: -20.0MB). Peak memory consumption was 2.3MB. Max. memory is 16.1GB. * CodeCheck took 990.45ms. Allocated memory is still 92.3MB. Free memory was 48.4MB in the beginning and 45.6MB in the end (delta: 2.8MB). Peak memory consumption was 1.8MB. Max. memory is 16.1GB. * Witness Printer took 4.68ms. Allocated memory is still 92.3MB. Free memory was 45.6MB in the beginning and 45.2MB in the end (delta: 492.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 [2023-11-23 20:13:10,678 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ccccb977-a0e3-4ca6-89f2-80cc20d1d579/bin/ukojak-verify-1t5iHCbJaC/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