./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_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_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/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_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/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_def97f98-e411-4486-8eff-99648bcc4373/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 ae725380ddcca35accb2c221fe3c0e874f871efa043277739550378a5dc71595 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 23:09:33,981 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 23:09:34,077 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-24 23:09:34,082 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 23:09:34,083 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-24 23:09:34,107 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 23:09:34,108 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 23:09:34,109 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 23:09:34,110 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 23:09:34,111 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 23:09:34,111 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 23:09:34,112 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 23:09:34,112 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 23:09:34,113 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 23:09:34,114 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 23:09:34,114 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 23:09:34,115 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 23:09:34,115 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 23:09:34,116 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 23:09:34,117 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 23:09:34,117 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 23:09:34,118 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 23:09:34,119 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 23:09:34,119 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 23:09:34,120 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 23:09:34,120 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:09:34,121 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 23:09:34,121 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 23:09:34,122 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 23:09:34,122 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-24 23:09:34,123 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 23:09:34,123 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 23:09:34,124 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_def97f98-e411-4486-8eff-99648bcc4373/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_def97f98-e411-4486-8eff-99648bcc4373/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 -> ae725380ddcca35accb2c221fe3c0e874f871efa043277739550378a5dc71595 [2023-11-24 23:09:34,366 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 23:09:34,402 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 23:09:34,405 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 23:09:34,406 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 23:09:34,407 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 23:09:34,408 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i [2023-11-24 23:09:37,455 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 23:09:37,836 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 23:09:37,847 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i [2023-11-24 23:09:37,877 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/data/824dddba8/8852d6ab934949c09d058f5f16476964/FLAG8876a9bdf [2023-11-24 23:09:37,893 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/data/824dddba8/8852d6ab934949c09d058f5f16476964 [2023-11-24 23:09:37,899 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 23:09:37,901 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 23:09:37,903 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 23:09:37,903 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 23:09:37,908 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 23:09:37,909 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:09:37" (1/1) ... [2023-11-24 23:09:37,910 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@895f29 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:37, skipping insertion in model container [2023-11-24 23:09:37,911 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:09:37" (1/1) ... [2023-11-24 23:09:38,001 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 23:09:38,926 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:09:38,944 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 23:09:39,107 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:09:39,286 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:39,286 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:39,286 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:39,286 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:39,287 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:39,295 INFO L206 MainTranslator]: Completed translation [2023-11-24 23:09:39,296 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39 WrapperNode [2023-11-24 23:09:39,296 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 23:09:39,297 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 23:09:39,297 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 23:09:39,298 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 23:09:39,305 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,362 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,402 INFO L138 Inliner]: procedures = 499, calls = 63, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 80 [2023-11-24 23:09:39,402 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 23:09:39,403 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 23:09:39,404 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 23:09:39,404 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 23:09:39,413 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,414 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,417 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,417 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,425 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,428 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,431 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,432 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,436 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 23:09:39,437 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 23:09:39,437 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 23:09:39,437 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 23:09:39,438 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,445 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:09:39,461 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 23:09:39,475 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 23:09:39,490 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 23:09:39,516 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 23:09:39,517 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 23:09:39,517 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 23:09:39,518 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 23:09:39,518 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-24 23:09:39,519 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 23:09:39,519 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 23:09:39,519 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 23:09:39,519 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 23:09:39,520 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 23:09:39,520 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-24 23:09:39,699 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 23:09:39,701 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 23:09:39,842 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 23:09:39,928 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 23:09:39,932 INFO L309 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-24 23:09:39,933 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:09:39 BoogieIcfgContainer [2023-11-24 23:09:39,933 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 23:09:39,945 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 23:09:39,945 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 23:09:39,954 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 23:09:39,954 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:09:39" (1/1) ... [2023-11-24 23:09:39,962 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:09:40,007 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:40,016 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 28 states and 33 transitions. [2023-11-24 23:09:40,016 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 33 transitions. [2023-11-24 23:09:40,021 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-24 23:09:40,022 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:40,022 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:09:40,191 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:40,472 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-24 23:09:40,575 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:40,576 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 32 states and 40 transitions. [2023-11-24 23:09:40,576 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 40 transitions. [2023-11-24 23:09:40,576 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-24 23:09:40,576 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:40,577 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:09:40,622 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:40,713 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-24 23:09:40,733 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:40,734 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 33 states and 41 transitions. [2023-11-24 23:09:40,734 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 41 transitions. [2023-11-24 23:09:40,735 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2023-11-24 23:09:40,735 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:40,735 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:09:40,759 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:40,895 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-24 23:09:40,909 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:40,910 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 35 states and 43 transitions. [2023-11-24 23:09:40,910 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 43 transitions. [2023-11-24 23:09:40,911 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2023-11-24 23:09:40,911 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:40,911 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:09:40,941 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:41,041 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 3 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:09:41,093 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:41,093 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 27 states and 31 transitions. [2023-11-24 23:09:41,093 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 31 transitions. [2023-11-24 23:09:41,094 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2023-11-24 23:09:41,094 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:41,095 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:09:41,144 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:09:41,144 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:09:41,162 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:09:41,226 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:09:41,227 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:09:41,243 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:09:41,296 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2023-11-24 23:09:41,332 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet104 [2023-11-24 23:09:41,340 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 11:09:41 ImpRootNode [2023-11-24 23:09:41,340 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 23:09:41,340 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 23:09:41,341 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 23:09:41,341 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 23:09:41,341 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:09:39" (3/4) ... [2023-11-24 23:09:41,344 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 23:09:41,345 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 23:09:41,346 INFO L158 Benchmark]: Toolchain (without parser) took 3444.79ms. Allocated memory was 138.4MB in the beginning and 192.9MB in the end (delta: 54.5MB). Free memory was 89.6MB in the beginning and 85.4MB in the end (delta: 4.2MB). Peak memory consumption was 59.5MB. Max. memory is 16.1GB. [2023-11-24 23:09:41,346 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 138.4MB. Free memory was 86.0MB in the beginning and 85.8MB in the end (delta: 142.6kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:09:41,350 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1393.55ms. Allocated memory was 138.4MB in the beginning and 192.9MB in the end (delta: 54.5MB). Free memory was 89.3MB in the beginning and 118.7MB in the end (delta: -29.5MB). Peak memory consumption was 35.9MB. Max. memory is 16.1GB. [2023-11-24 23:09:41,351 INFO L158 Benchmark]: Boogie Procedure Inliner took 105.60ms. Allocated memory is still 192.9MB. Free memory was 118.7MB in the beginning and 115.9MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:09:41,352 INFO L158 Benchmark]: Boogie Preprocessor took 33.00ms. Allocated memory is still 192.9MB. Free memory was 115.9MB in the beginning and 114.6MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:09:41,352 INFO L158 Benchmark]: RCFGBuilder took 496.30ms. Allocated memory is still 192.9MB. Free memory was 114.6MB in the beginning and 98.6MB in the end (delta: 16.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-24 23:09:41,353 INFO L158 Benchmark]: CodeCheck took 1394.74ms. Allocated memory is still 192.9MB. Free memory was 155.6MB in the beginning and 85.4MB in the end (delta: 70.3MB). Peak memory consumption was 69.2MB. Max. memory is 16.1GB. [2023-11-24 23:09:41,353 INFO L158 Benchmark]: Witness Printer took 4.33ms. Allocated memory is still 192.9MB. Free memory is still 85.4MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:09:41,357 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, 28 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.3s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 99 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 30 mSDsluCounter, 76 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 24 mSDsCounter, 29 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 95 IncrementalHoareTripleChecker+Invalid, 124 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 29 mSolverCounterUnsat, 52 mSDtfsCounter, 95 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 334 GetRequests, 326 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 60 NumberOfCodeBlocks, 60 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 42 ConstructedInterpolants, 0 QuantifiedInterpolants, 84 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 3 PerfectInterpolantSequences, 5/6 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, overapproximation of large string literal at line 1579. 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); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, 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, \old(argc)=18, argc=18, argv={20:13}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE191_Integer_Underflow__int_fgets_multiply_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [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."); } } [L1553] i++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1567] COND TRUE j < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1569] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1571] data * 2 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.32ms. Allocated memory is still 138.4MB. Free memory was 86.0MB in the beginning and 85.8MB in the end (delta: 142.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1393.55ms. Allocated memory was 138.4MB in the beginning and 192.9MB in the end (delta: 54.5MB). Free memory was 89.3MB in the beginning and 118.7MB in the end (delta: -29.5MB). Peak memory consumption was 35.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 105.60ms. Allocated memory is still 192.9MB. Free memory was 118.7MB in the beginning and 115.9MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 33.00ms. Allocated memory is still 192.9MB. Free memory was 115.9MB in the beginning and 114.6MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 496.30ms. Allocated memory is still 192.9MB. Free memory was 114.6MB in the beginning and 98.6MB in the end (delta: 16.0MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 1394.74ms. Allocated memory is still 192.9MB. Free memory was 155.6MB in the beginning and 85.4MB in the end (delta: 70.3MB). Peak memory consumption was 69.2MB. Max. memory is 16.1GB. * Witness Printer took 4.33ms. Allocated memory is still 192.9MB. Free memory is still 85.4MB. 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~nondet104 - 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 23:09:41,392 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/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 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_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/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_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/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_def97f98-e411-4486-8eff-99648bcc4373/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 ae725380ddcca35accb2c221fe3c0e874f871efa043277739550378a5dc71595 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 23:09:44,088 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 23:09:44,164 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-24 23:09:44,203 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 23:09:44,205 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 23:09:44,206 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 23:09:44,209 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 23:09:44,210 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 23:09:44,210 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 23:09:44,212 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 23:09:44,213 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 23:09:44,213 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 23:09:44,214 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 23:09:44,218 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 23:09:44,219 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 23:09:44,219 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-24 23:09:44,221 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 23:09:44,221 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-24 23:09:44,222 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 23:09:44,222 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 23:09:44,223 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 23:09:44,224 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 23:09:44,224 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 23:09:44,225 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 23:09:44,225 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 23:09:44,226 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-24 23:09:44,226 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 23:09:44,227 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:09:44,227 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 23:09:44,228 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 23:09:44,229 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 23:09:44,230 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-24 23:09:44,230 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 23:09:44,231 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 23:09:44,231 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-24 23:09:44,231 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 23:09:44,232 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_def97f98-e411-4486-8eff-99648bcc4373/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_def97f98-e411-4486-8eff-99648bcc4373/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 -> ae725380ddcca35accb2c221fe3c0e874f871efa043277739550378a5dc71595 [2023-11-24 23:09:44,604 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 23:09:44,628 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 23:09:44,631 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 23:09:44,633 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 23:09:44,633 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 23:09:44,635 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i [2023-11-24 23:09:47,792 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 23:09:48,190 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 23:09:48,191 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i [2023-11-24 23:09:48,229 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/data/7647295b8/0d2563cde5ad464ca2f789577097fd55/FLAG5ba3c66de [2023-11-24 23:09:48,247 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/data/7647295b8/0d2563cde5ad464ca2f789577097fd55 [2023-11-24 23:09:48,253 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 23:09:48,256 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 23:09:48,260 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 23:09:48,261 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 23:09:48,266 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 23:09:48,269 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:09:48" (1/1) ... [2023-11-24 23:09:48,270 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4956cbb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:48, skipping insertion in model container [2023-11-24 23:09:48,270 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:09:48" (1/1) ... [2023-11-24 23:09:48,380 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 23:09:49,291 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:09:49,306 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 23:09:49,485 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:09:49,690 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:49,690 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:49,690 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:49,690 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:49,690 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:09:49,698 INFO L206 MainTranslator]: Completed translation [2023-11-24 23:09:49,699 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49 WrapperNode [2023-11-24 23:09:49,700 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 23:09:49,701 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 23:09:49,701 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 23:09:49,701 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 23:09:49,709 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,753 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,788 INFO L138 Inliner]: procedures = 504, calls = 63, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 79 [2023-11-24 23:09:49,789 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 23:09:49,789 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 23:09:49,790 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 23:09:49,790 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 23:09:49,799 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,800 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,817 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,831 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,841 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,848 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,852 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,869 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,874 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 23:09:49,875 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 23:09:49,875 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 23:09:49,876 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 23:09:49,876 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:09:49" (1/1) ... [2023-11-24 23:09:49,882 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:09:49,915 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 23:09:49,933 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 23:09:49,959 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 23:09:49,983 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 23:09:49,983 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 23:09:49,984 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 23:09:49,984 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 23:09:49,984 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-24 23:09:49,984 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 23:09:49,984 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 23:09:49,984 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 23:09:49,984 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 23:09:49,984 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 23:09:49,985 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-24 23:09:50,170 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 23:09:50,172 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 23:09:50,419 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 23:09:50,495 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 23:09:50,495 INFO L309 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-24 23:09:50,498 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:09:50 BoogieIcfgContainer [2023-11-24 23:09:50,498 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 23:09:50,499 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 23:09:50,499 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 23:09:50,509 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 23:09:50,509 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:09:50" (1/1) ... [2023-11-24 23:09:50,519 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:09:50,592 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:50,601 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 28 states and 33 transitions. [2023-11-24 23:09:50,602 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 33 transitions. [2023-11-24 23:09:50,608 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-24 23:09:50,609 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:50,609 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 23:09:50,609 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 23:09:50,615 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 23:09:50,632 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-24 23:09:50,766 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:50,769 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 23:09:50,805 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:50,808 INFO L262 TraceCheckSpWp]: Trace formula consists of 66 conjuncts, 1 conjunts are in the unsatisfiable core [2023-11-24 23:09:50,812 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:09:50,834 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-24 23:09:50,836 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 23:09:50,846 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-24 23:09:50,877 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:50,879 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 27 states and 32 transitions. [2023-11-24 23:09:50,880 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 32 transitions. [2023-11-24 23:09:50,880 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-24 23:09:50,880 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:50,881 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 23:09:50,881 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 23:09:50,884 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 23:09:50,907 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-24 23:09:51,042 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:51,042 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 23:09:51,074 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:51,076 INFO L262 TraceCheckSpWp]: Trace formula consists of 47 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-24 23:09:51,078 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:09:51,125 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-24 23:09:51,127 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 23:09:51,135 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-24 23:09:51,166 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:51,167 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 30 states and 39 transitions. [2023-11-24 23:09:51,167 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 39 transitions. [2023-11-24 23:09:51,168 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-24 23:09:51,168 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:51,168 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 23:09:51,169 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 23:09:51,170 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 23:09:51,199 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-24 23:09:51,363 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:51,363 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 23:09:51,408 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:51,410 INFO L262 TraceCheckSpWp]: Trace formula consists of 67 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-24 23:09:51,411 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:09:51,458 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-24 23:09:51,460 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 23:09:51,462 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2023-11-24 23:09:51,648 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:51,649 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 35 states and 49 transitions. [2023-11-24 23:09:51,649 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 49 transitions. [2023-11-24 23:09:51,651 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2023-11-24 23:09:51,651 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:51,651 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 23:09:51,651 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 23:09:51,656 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 23:09:51,679 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2023-11-24 23:09:51,830 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:51,831 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 23:09:51,866 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:09:51,868 INFO L262 TraceCheckSpWp]: Trace formula consists of 78 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-24 23:09:51,870 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:09:51,891 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-24 23:09:51,894 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 23:09:51,900 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2023-11-24 23:09:51,915 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:09:51,916 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 37 states and 51 transitions. [2023-11-24 23:09:51,916 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 51 transitions. [2023-11-24 23:09:51,917 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2023-11-24 23:09:51,917 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:09:51,918 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 23:09:51,918 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 23:09:51,919 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 23:09:51,963 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2023-11-24 23:09:52,136 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:09:52,136 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:09:52,252 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:09:52,361 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:09:52,361 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:09:52,406 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:09:52,428 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (6)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 23:09:52,435 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2023-11-24 23:09:52,436 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2023-11-24 23:09:52,482 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet102 [2023-11-24 23:09:52,492 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 11:09:52 ImpRootNode [2023-11-24 23:09:52,492 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 23:09:52,493 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 23:09:52,493 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 23:09:52,493 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 23:09:52,494 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:09:50" (3/4) ... [2023-11-24 23:09:52,496 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 23:09:52,497 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 23:09:52,498 INFO L158 Benchmark]: Toolchain (without parser) took 4241.82ms. Allocated memory was 67.1MB in the beginning and 119.5MB in the end (delta: 52.4MB). Free memory was 29.7MB in the beginning and 84.7MB in the end (delta: -54.9MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:09:52,499 INFO L158 Benchmark]: CDTParser took 0.56ms. Allocated memory is still 67.1MB. Free memory is still 42.9MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:09:52,501 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1439.66ms. Allocated memory was 67.1MB in the beginning and 92.3MB in the end (delta: 25.2MB). Free memory was 29.5MB in the beginning and 56.9MB in the end (delta: -27.4MB). Peak memory consumption was 18.5MB. Max. memory is 16.1GB. [2023-11-24 23:09:52,506 INFO L158 Benchmark]: Boogie Procedure Inliner took 88.02ms. Allocated memory is still 92.3MB. Free memory was 56.9MB in the beginning and 53.4MB in the end (delta: 3.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:09:52,507 INFO L158 Benchmark]: Boogie Preprocessor took 85.03ms. Allocated memory is still 92.3MB. Free memory was 53.4MB in the beginning and 51.4MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:09:52,508 INFO L158 Benchmark]: RCFGBuilder took 622.98ms. Allocated memory is still 92.3MB. Free memory was 51.4MB in the beginning and 58.0MB in the end (delta: -6.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-24 23:09:52,509 INFO L158 Benchmark]: CodeCheck took 1993.71ms. Allocated memory was 92.3MB in the beginning and 119.5MB in the end (delta: 27.3MB). Free memory was 58.0MB in the beginning and 84.7MB in the end (delta: -26.6MB). Peak memory consumption was 1.7MB. Max. memory is 16.1GB. [2023-11-24 23:09:52,509 INFO L158 Benchmark]: Witness Printer took 4.30ms. Allocated memory is still 119.5MB. Free memory is still 84.7MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:09:52,517 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, 28 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.9s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 145 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 28 mSDsluCounter, 112 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 30 mSDsCounter, 18 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 96 IncrementalHoareTripleChecker+Invalid, 114 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 18 mSolverCounterUnsat, 82 mSDtfsCounter, 96 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 339 GetRequests, 329 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 56 NumberOfCodeBlocks, 56 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 38 ConstructedInterpolants, 0 QuantifiedInterpolants, 68 SizeOfPredicates, 2 NumberOfNonLiveVariables, 258 ConjunctsInSsa, 9 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 2/2 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, overapproximation of large string literal at line 1579. 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); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, 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, \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_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [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."); } } [L1553] i++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1567] COND TRUE j < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1569] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] [L1571] data * 2 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.56ms. Allocated memory is still 67.1MB. Free memory is still 42.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1439.66ms. Allocated memory was 67.1MB in the beginning and 92.3MB in the end (delta: 25.2MB). Free memory was 29.5MB in the beginning and 56.9MB in the end (delta: -27.4MB). Peak memory consumption was 18.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 88.02ms. Allocated memory is still 92.3MB. Free memory was 56.9MB in the beginning and 53.4MB in the end (delta: 3.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 85.03ms. Allocated memory is still 92.3MB. Free memory was 53.4MB in the beginning and 51.4MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 622.98ms. Allocated memory is still 92.3MB. Free memory was 51.4MB in the beginning and 58.0MB in the end (delta: -6.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1993.71ms. Allocated memory was 92.3MB in the beginning and 119.5MB in the end (delta: 27.3MB). Free memory was 58.0MB in the beginning and 84.7MB in the end (delta: -26.6MB). Peak memory consumption was 1.7MB. Max. memory is 16.1GB. * Witness Printer took 4.30ms. Allocated memory is still 119.5MB. Free memory is still 84.7MB. 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~nondet102 - 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 23:09:52,548 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def97f98-e411-4486-8eff-99648bcc4373/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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample