./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 9bd2c7ff Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL --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 e73bf75f10180290498e6c1b39666c57ea963b55df36220002e3474ff808070b --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:37:43,235 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:37:43,391 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-19 03:37:43,397 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 03:37:43,398 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-19 03:37:43,449 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:37:43,452 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:37:43,453 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:37:43,455 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:37:43,463 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:37:43,464 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:37:43,464 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:37:43,465 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 03:37:43,467 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:37:43,467 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:37:43,468 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:37:43,468 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:37:43,469 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:37:43,469 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:37:43,469 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:37:43,470 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:37:43,471 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:37:43,471 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:37:43,472 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:37:43,473 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:37:43,473 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:37:43,474 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:37:43,474 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:37:43,475 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:37:43,475 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-19 03:37:43,476 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 03:37:43,477 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:37:43,477 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_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/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_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL 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 -> e73bf75f10180290498e6c1b39666c57ea963b55df36220002e3474ff808070b [2023-11-19 03:37:43,899 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:37:43,936 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:37:43,939 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:37:43,940 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:37:43,941 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:37:43,942 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i [2023-11-19 03:37:47,198 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:37:47,641 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:37:47,655 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i [2023-11-19 03:37:47,688 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/data/dc1b60bbb/627acc4b623d4fc18d803c9ee3db5489/FLAGa14dbf5fd [2023-11-19 03:37:47,710 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/data/dc1b60bbb/627acc4b623d4fc18d803c9ee3db5489 [2023-11-19 03:37:47,716 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:37:47,718 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:37:47,719 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:37:47,720 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:37:47,727 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:37:47,728 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:37:47" (1/1) ... [2023-11-19 03:37:47,729 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7d18f56 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:47, skipping insertion in model container [2023-11-19 03:37:47,731 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:37:47" (1/1) ... [2023-11-19 03:37:47,800 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:37:48,220 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:37:48,850 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:37:48,866 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:37:48,900 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:37:49,006 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:37:49,143 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:37:49,143 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:37:49,143 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:37:49,144 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:37:49,144 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:37:49,144 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:37:49,158 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:37:49,158 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49 WrapperNode [2023-11-19 03:37:49,159 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:37:49,179 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:37:49,180 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:37:49,180 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:37:49,187 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,221 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,248 INFO L138 Inliner]: procedures = 500, calls = 69, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 75 [2023-11-19 03:37:49,249 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:37:49,249 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:37:49,250 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:37:49,250 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:37:49,260 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,261 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,265 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,265 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,272 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,274 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,277 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,278 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,282 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:37:49,283 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:37:49,283 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:37:49,283 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:37:49,284 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,289 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:37:49,302 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:37:49,314 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 03:37:49,331 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 03:37:49,355 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2023-11-19 03:37:49,355 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2023-11-19 03:37:49,356 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-19 03:37:49,356 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2023-11-19 03:37:49,356 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2023-11-19 03:37:49,356 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:37:49,356 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:37:49,356 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 03:37:49,357 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-19 03:37:49,357 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:37:49,357 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:37:49,357 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:37:49,357 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 03:37:49,358 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:37:49,358 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 03:37:49,540 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:37:49,543 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:37:49,791 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:37:49,850 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:37:49,851 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 03:37:49,856 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:37:49 BoogieIcfgContainer [2023-11-19 03:37:49,857 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:37:49,858 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:37:49,858 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:37:49,871 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:37:49,871 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:37:49" (1/1) ... [2023-11-19 03:37:49,882 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:37:49,942 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:37:49,954 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 36 states and 44 transitions. [2023-11-19 03:37:49,955 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 44 transitions. [2023-11-19 03:37:49,961 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-19 03:37:49,961 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:37:49,962 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:37:50,186 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:37:50,457 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-19 03:37:50,526 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:37:50,529 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 40 states and 51 transitions. [2023-11-19 03:37:50,530 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 51 transitions. [2023-11-19 03:37:50,531 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2023-11-19 03:37:50,533 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:37:50,533 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:37:50,591 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:37:50,746 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-19 03:37:50,894 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:37:50,897 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 59 states to 45 states and 59 transitions. [2023-11-19 03:37:50,897 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 59 transitions. [2023-11-19 03:37:50,900 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2023-11-19 03:37:50,900 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:37:50,900 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:37:50,965 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:37:51,079 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-19 03:37:51,127 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:37:51,128 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 47 states and 61 transitions. [2023-11-19 03:37:51,128 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 61 transitions. [2023-11-19 03:37:51,130 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2023-11-19 03:37:51,130 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:37:51,131 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:37:51,214 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:37:51,215 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:37:51,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:37:51,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:37:51,384 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:37:51,417 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:37:51,445 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2023-11-19 03:37:51,515 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret98 could not be translated [2023-11-19 03:37:51,518 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret101 could not be translated [2023-11-19 03:37:51,529 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:37:51 ImpRootNode [2023-11-19 03:37:51,529 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:37:51,530 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:37:51,530 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:37:51,531 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:37:51,531 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:37:49" (3/4) ... [2023-11-19 03:37:51,534 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 03:37:51,535 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:37:51,536 INFO L158 Benchmark]: Toolchain (without parser) took 3818.12ms. Allocated memory was 140.5MB in the beginning and 169.9MB in the end (delta: 29.4MB). Free memory was 105.7MB in the beginning and 105.3MB in the end (delta: 368.2kB). Peak memory consumption was 30.6MB. Max. memory is 16.1GB. [2023-11-19 03:37:51,537 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 113.2MB. Free memory was 86.5MB in the beginning and 86.4MB in the end (delta: 119.0kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:37:51,538 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1439.65ms. Allocated memory is still 140.5MB. Free memory was 105.5MB in the beginning and 91.0MB in the end (delta: 14.4MB). Peak memory consumption was 52.6MB. Max. memory is 16.1GB. [2023-11-19 03:37:51,539 INFO L158 Benchmark]: Boogie Procedure Inliner took 69.49ms. Allocated memory is still 140.5MB. Free memory was 90.8MB in the beginning and 87.6MB in the end (delta: 3.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:37:51,539 INFO L158 Benchmark]: Boogie Preprocessor took 32.65ms. Allocated memory is still 140.5MB. Free memory was 87.6MB in the beginning and 86.4MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:37:51,540 INFO L158 Benchmark]: RCFGBuilder took 574.24ms. Allocated memory is still 140.5MB. Free memory was 86.4MB in the beginning and 70.0MB in the end (delta: 16.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-19 03:37:51,541 INFO L158 Benchmark]: CodeCheck took 1671.74ms. Allocated memory was 140.5MB in the beginning and 169.9MB in the end (delta: 29.4MB). Free memory was 70.0MB in the beginning and 105.3MB in the end (delta: -35.3MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:37:51,541 INFO L158 Benchmark]: Witness Printer took 4.91ms. Allocated memory is still 169.9MB. Free memory is still 105.3MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:37:51,546 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 4 procedures, 36 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.6s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 127 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 31 mSDsluCounter, 127 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 41 mSDsCounter, 16 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 61 IncrementalHoareTripleChecker+Invalid, 77 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 16 mSolverCounterUnsat, 86 mSDtfsCounter, 61 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 350 GetRequests, 341 SyntacticMatches, 3 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 4 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 68 NumberOfCodeBlocks, 68 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 47 ConstructedInterpolants, 0 QuantifiedInterpolants, 103 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 6/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: 1573]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558. 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); [L1595] 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={5:0}] [L1414] COND TRUE line != ((void *)0) [L1595] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=27, argc=27, argv={28:29}, argv={28:29}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1596] CALL CWE191_Integer_Underflow__int_fgets_predec_12_bad() [L1550] int data; [L1551] data = 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] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() 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] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { 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, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() 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] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] --data 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] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.37ms. Allocated memory is still 113.2MB. Free memory was 86.5MB in the beginning and 86.4MB in the end (delta: 119.0kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1439.65ms. Allocated memory is still 140.5MB. Free memory was 105.5MB in the beginning and 91.0MB in the end (delta: 14.4MB). Peak memory consumption was 52.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 69.49ms. Allocated memory is still 140.5MB. Free memory was 90.8MB in the beginning and 87.6MB in the end (delta: 3.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 32.65ms. Allocated memory is still 140.5MB. Free memory was 87.6MB in the beginning and 86.4MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 574.24ms. Allocated memory is still 140.5MB. Free memory was 86.4MB in the beginning and 70.0MB in the end (delta: 16.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1671.74ms. Allocated memory was 140.5MB in the beginning and 169.9MB in the end (delta: 29.4MB). Free memory was 70.0MB in the beginning and 105.3MB in the end (delta: -35.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.91ms. Allocated memory is still 169.9MB. Free memory is still 105.3MB. 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: IdentifierExpression #t~ret98 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret101 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-19 03:37:51,587 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL --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 e73bf75f10180290498e6c1b39666c57ea963b55df36220002e3474ff808070b --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:37:54,483 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:37:54,591 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-19 03:37:54,628 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:37:54,629 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:37:54,630 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:37:54,631 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:37:54,631 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:37:54,632 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:37:54,633 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:37:54,633 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:37:54,634 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:37:54,634 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:37:54,635 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:37:54,636 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 03:37:54,636 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 03:37:54,637 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:37:54,637 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 03:37:54,638 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:37:54,638 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:37:54,639 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:37:54,640 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:37:54,640 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:37:54,641 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:37:54,641 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:37:54,641 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-19 03:37:54,642 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:37:54,642 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:37:54,643 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:37:54,643 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:37:54,644 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:37:54,644 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-19 03:37:54,645 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:37:54,645 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:37:54,646 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-19 03:37:54,646 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 03:37:54,647 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_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/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_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL 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 -> e73bf75f10180290498e6c1b39666c57ea963b55df36220002e3474ff808070b [2023-11-19 03:37:55,037 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:37:55,070 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:37:55,074 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:37:55,075 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:37:55,079 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:37:55,081 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i [2023-11-19 03:37:58,434 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:37:58,992 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:37:58,993 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i [2023-11-19 03:37:59,039 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/data/2ff04edd1/6c8c1d696f004f3f893d06b15a3cfb73/FLAG141d6ff09 [2023-11-19 03:37:59,057 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/data/2ff04edd1/6c8c1d696f004f3f893d06b15a3cfb73 [2023-11-19 03:37:59,060 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:37:59,062 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:37:59,064 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:37:59,064 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:37:59,070 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:37:59,071 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:37:59" (1/1) ... [2023-11-19 03:37:59,073 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@37f94eb4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:37:59, skipping insertion in model container [2023-11-19 03:37:59,073 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:37:59" (1/1) ... [2023-11-19 03:37:59,177 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:37:59,622 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:38:00,248 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:38:00,274 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:38:00,309 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:38:00,425 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:38:00,561 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:38:00,561 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:38:00,561 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:38:00,562 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:38:00,562 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:38:00,562 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:38:00,570 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:38:00,571 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00 WrapperNode [2023-11-19 03:38:00,571 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:38:00,573 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:38:00,573 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:38:00,573 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:38:00,581 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,613 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,640 INFO L138 Inliner]: procedures = 505, calls = 69, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 72 [2023-11-19 03:38:00,640 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:38:00,641 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:38:00,641 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:38:00,642 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:38:00,652 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,652 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,657 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,658 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,669 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,672 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,676 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,678 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,683 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:38:00,684 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:38:00,684 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:38:00,684 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:38:00,685 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:38:00" (1/1) ... [2023-11-19 03:38:00,691 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:38:00,707 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:38:00,725 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 03:38:00,734 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 03:38:00,766 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2023-11-19 03:38:00,766 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2023-11-19 03:38:00,767 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-19 03:38:00,767 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2023-11-19 03:38:00,767 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2023-11-19 03:38:00,767 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:38:00,767 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:38:00,767 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 03:38:00,768 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-19 03:38:00,768 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:38:00,770 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:38:00,770 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:38:00,771 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 03:38:00,771 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:38:00,771 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-19 03:38:01,045 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:38:01,048 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:38:01,275 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:38:01,311 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:38:01,312 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 03:38:01,316 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:38:01 BoogieIcfgContainer [2023-11-19 03:38:01,316 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:38:01,317 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:38:01,317 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:38:01,327 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:38:01,327 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:38:01" (1/1) ... [2023-11-19 03:38:01,337 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:38:01,389 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:38:01,397 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 34 states and 42 transitions. [2023-11-19 03:38:01,398 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 42 transitions. [2023-11-19 03:38:01,402 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2023-11-19 03:38:01,403 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:38:01,403 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:38:01,404 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:38:01,407 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:38:01,435 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-19 03:38:01,624 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:38:01,628 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:38:01,673 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:38:01,676 INFO L262 TraceCheckSpWp]: Trace formula consists of 61 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-19 03:38:01,684 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:38:01,749 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-19 03:38:01,755 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:38:01,762 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-19 03:38:01,837 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:38:01,839 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 37 states and 48 transitions. [2023-11-19 03:38:01,840 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 48 transitions. [2023-11-19 03:38:01,841 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-11-19 03:38:01,841 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:38:01,841 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:38:01,841 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:38:01,842 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:38:01,849 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-19 03:38:01,985 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:38:01,986 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:38:02,018 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:38:02,020 INFO L262 TraceCheckSpWp]: Trace formula consists of 62 conjuncts, 1 conjunts are in the unsatisfiable core [2023-11-19 03:38:02,023 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:38:02,032 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-19 03:38:02,034 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:38:02,040 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-19 03:38:02,068 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:38:02,070 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 36 states and 47 transitions. [2023-11-19 03:38:02,070 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 47 transitions. [2023-11-19 03:38:02,072 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-11-19 03:38:02,072 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:38:02,073 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:38:02,073 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:38:02,074 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:38:02,103 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-19 03:38:02,258 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:38:02,258 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:38:02,300 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:38:02,302 INFO L262 TraceCheckSpWp]: Trace formula consists of 62 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-19 03:38:02,305 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:38:02,341 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-19 03:38:02,344 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:38:02,351 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2023-11-19 03:38:02,388 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:38:02,390 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 38 states and 49 transitions. [2023-11-19 03:38:02,390 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 49 transitions. [2023-11-19 03:38:02,392 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-19 03:38:02,392 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:38:02,392 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:38:02,393 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:38:02,394 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:38:02,407 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2023-11-19 03:38:02,639 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:38:02,640 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:38:02,793 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:38:02,874 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:38:02,874 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:38:02,905 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:38:02,973 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Forceful destruction successful, exit code 0 [2023-11-19 03:38:02,973 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2023-11-19 03:38:03,021 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret96 could not be translated [2023-11-19 03:38:03,024 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret99 could not be translated [2023-11-19 03:38:03,031 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:38:03 ImpRootNode [2023-11-19 03:38:03,031 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:38:03,032 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:38:03,033 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:38:03,033 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:38:03,034 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:38:01" (3/4) ... [2023-11-19 03:38:03,038 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 03:38:03,039 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:38:03,041 INFO L158 Benchmark]: Toolchain (without parser) took 3978.14ms. Allocated memory was 83.9MB in the beginning and 113.2MB in the end (delta: 29.4MB). Free memory was 56.8MB in the beginning and 54.5MB in the end (delta: 2.3MB). Peak memory consumption was 35.2MB. Max. memory is 16.1GB. [2023-11-19 03:38:03,041 INFO L158 Benchmark]: CDTParser took 0.70ms. Allocated memory is still 83.9MB. Free memory was 60.3MB in the beginning and 60.2MB in the end (delta: 139.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:38:03,042 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1507.75ms. Allocated memory was 83.9MB in the beginning and 113.2MB in the end (delta: 29.4MB). Free memory was 56.5MB in the beginning and 64.9MB in the end (delta: -8.3MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. [2023-11-19 03:38:03,043 INFO L158 Benchmark]: Boogie Procedure Inliner took 67.91ms. Allocated memory is still 113.2MB. Free memory was 64.9MB in the beginning and 62.0MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:38:03,044 INFO L158 Benchmark]: Boogie Preprocessor took 42.14ms. Allocated memory is still 113.2MB. Free memory was 62.0MB in the beginning and 59.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:38:03,045 INFO L158 Benchmark]: RCFGBuilder took 632.55ms. Allocated memory is still 113.2MB. Free memory was 59.7MB in the beginning and 71.2MB in the end (delta: -11.4MB). Peak memory consumption was 9.5MB. Max. memory is 16.1GB. [2023-11-19 03:38:03,045 INFO L158 Benchmark]: CodeCheck took 1714.21ms. Allocated memory is still 113.2MB. Free memory was 71.2MB in the beginning and 54.5MB in the end (delta: 16.7MB). Peak memory consumption was 18.1MB. Max. memory is 16.1GB. [2023-11-19 03:38:03,046 INFO L158 Benchmark]: Witness Printer took 7.13ms. Allocated memory is still 113.2MB. Free memory is still 54.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:38:03,050 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 4 procedures, 34 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.6s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 113 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 10 mSDsluCounter, 85 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 14 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 35 IncrementalHoareTripleChecker+Invalid, 43 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 71 mSDtfsCounter, 35 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 334 GetRequests, 332 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, 60 NumberOfCodeBlocks, 60 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 41 ConstructedInterpolants, 0 QuantifiedInterpolants, 69 SizeOfPredicates, 0 NumberOfNonLiveVariables, 185 ConjunctsInSsa, 5 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 6/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: 1573]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558. 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); [L1595] 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={5:0}] [L1414] COND TRUE line != ((void *)0) [L1595] 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}, argv={0:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1596] CALL CWE191_Integer_Underflow__int_fgets_predec_12_bad() [L1550] int data; [L1551] data = 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] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() 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] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { 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, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() 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] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] --data 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] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.70ms. Allocated memory is still 83.9MB. Free memory was 60.3MB in the beginning and 60.2MB in the end (delta: 139.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1507.75ms. Allocated memory was 83.9MB in the beginning and 113.2MB in the end (delta: 29.4MB). Free memory was 56.5MB in the beginning and 64.9MB in the end (delta: -8.3MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 67.91ms. Allocated memory is still 113.2MB. Free memory was 64.9MB in the beginning and 62.0MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 42.14ms. Allocated memory is still 113.2MB. Free memory was 62.0MB in the beginning and 59.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 632.55ms. Allocated memory is still 113.2MB. Free memory was 59.7MB in the beginning and 71.2MB in the end (delta: -11.4MB). Peak memory consumption was 9.5MB. Max. memory is 16.1GB. * CodeCheck took 1714.21ms. Allocated memory is still 113.2MB. Free memory was 71.2MB in the beginning and 54.5MB in the end (delta: 16.7MB). Peak memory consumption was 18.1MB. Max. memory is 16.1GB. * Witness Printer took 7.13ms. Allocated memory is still 113.2MB. Free memory is still 54.5MB. 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: IdentifierExpression #t~ret96 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret99 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-19 03:38:03,103 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d7357a73-1768-401f-b8a7-3e1275f9ac68/bin/ukojak-verify-G8NBE6pJGL/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