./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_08_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 0e0057cc 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_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/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_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_08_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/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_5474487e-dd84-4442-b49a-2472ed8af491/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 c7bcea44d2d5c873e0b8e8c55b7326f378336441a2a8a0bedf0637d4e55558db --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:11:23,965 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:11:24,104 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-24 22:11:24,117 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 22:11:24,118 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-24 22:11:24,164 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:11:24,166 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:11:24,167 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:11:24,169 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:11:24,175 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:11:24,176 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:11:24,176 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:11:24,177 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 22:11:24,179 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:11:24,180 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:11:24,181 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:11:24,181 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:11:24,182 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 22:11:24,183 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:11:24,183 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:11:24,184 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:11:24,185 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:11:24,186 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:11:24,186 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:11:24,187 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:11:24,188 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:11:24,188 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:11:24,189 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:11:24,189 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:11:24,190 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-24 22:11:24,192 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 22:11:24,192 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:11:24,193 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_5474487e-dd84-4442-b49a-2472ed8af491/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_5474487e-dd84-4442-b49a-2472ed8af491/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 -> c7bcea44d2d5c873e0b8e8c55b7326f378336441a2a8a0bedf0637d4e55558db [2023-11-24 22:11:24,496 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:11:24,526 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:11:24,529 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:11:24,530 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:11:24,531 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:11:24,532 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_08_bad.i [2023-11-24 22:11:27,935 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:11:28,434 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:11:28,437 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_08_bad.i [2023-11-24 22:11:28,474 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/data/1664b1a94/60ffa0b5c11b437c84a3bc0a1373133a/FLAG9442abf6d [2023-11-24 22:11:28,491 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/data/1664b1a94/60ffa0b5c11b437c84a3bc0a1373133a [2023-11-24 22:11:28,494 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:11:28,496 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:11:28,497 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:11:28,498 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:11:28,504 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:11:28,505 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:11:28" (1/1) ... [2023-11-24 22:11:28,506 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@30d0f093 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:28, skipping insertion in model container [2023-11-24 22:11:28,507 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:11:28" (1/1) ... [2023-11-24 22:11:28,608 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:11:29,814 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:11:29,836 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:11:30,024 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:11:30,191 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:30,191 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:30,192 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:30,192 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:30,192 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:30,202 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:11:30,203 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30 WrapperNode [2023-11-24 22:11:30,203 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:11:30,204 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:11:30,205 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:11:30,205 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:11:30,214 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,271 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,302 INFO L138 Inliner]: procedures = 501, calls = 65, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 68 [2023-11-24 22:11:30,303 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:11:30,303 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:11:30,304 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:11:30,304 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:11:30,316 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,316 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,320 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,321 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,329 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,332 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,334 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,336 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,340 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:11:30,342 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:11:30,342 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:11:30,342 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:11:30,343 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,350 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:11:30,368 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:11:30,384 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 22:11:30,408 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 22:11:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 22:11:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 22:11:30,446 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 22:11:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:11:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-24 22:11:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:11:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:11:30,447 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:11:30,448 INFO L130 BoogieDeclarations]: Found specification of procedure staticReturnsTrue [2023-11-24 22:11:30,448 INFO L138 BoogieDeclarations]: Found implementation of procedure staticReturnsTrue [2023-11-24 22:11:30,448 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:11:30,448 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 22:11:30,448 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-24 22:11:30,659 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:11:30,661 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:11:30,828 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:11:30,873 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:11:30,873 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 22:11:30,875 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:11:30 BoogieIcfgContainer [2023-11-24 22:11:30,876 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:11:30,877 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 22:11:30,877 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 22:11:30,889 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 22:11:30,889 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:11:30" (1/1) ... [2023-11-24 22:11:30,899 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:11:30,958 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:11:30,970 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 26 states and 32 transitions. [2023-11-24 22:11:30,971 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 32 transitions. [2023-11-24 22:11:30,985 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2023-11-24 22:11:30,986 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:11:30,986 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:11:31,146 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:11:31,383 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-11-24 22:11:31,483 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:11:31,485 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 26 states and 31 transitions. [2023-11-24 22:11:31,486 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 31 transitions. [2023-11-24 22:11:31,487 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2023-11-24 22:11:31,487 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:11:31,490 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:11:31,536 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:11:31,619 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 22:11:31,646 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:11:31,647 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 25 states and 30 transitions. [2023-11-24 22:11:31,647 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 30 transitions. [2023-11-24 22:11:31,648 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2023-11-24 22:11:31,648 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:11:31,648 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:11:31,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:11:31,682 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:11:31,702 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:11:31,784 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:11:31,785 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:11:31,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:11:31,839 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2023-11-24 22:11:31,893 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet104 [2023-11-24 22:11:31,896 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret98 could not be translated [2023-11-24 22:11:31,897 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret102 could not be translated [2023-11-24 22:11:31,906 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 10:11:31 ImpRootNode [2023-11-24 22:11:31,906 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 22:11:31,908 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 22:11:31,908 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 22:11:31,908 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 22:11:31,908 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:11:30" (3/4) ... [2023-11-24 22:11:31,913 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 22:11:31,914 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 22:11:31,916 INFO L158 Benchmark]: Toolchain (without parser) took 3420.34ms. Allocated memory is still 188.7MB. Free memory was 153.9MB in the beginning and 108.6MB in the end (delta: 45.3MB). Peak memory consumption was 46.3MB. Max. memory is 16.1GB. [2023-11-24 22:11:31,917 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 117.4MB. Free memory is still 72.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:11:31,919 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1706.21ms. Allocated memory is still 188.7MB. Free memory was 153.3MB in the beginning and 92.2MB in the end (delta: 61.1MB). Peak memory consumption was 60.8MB. Max. memory is 16.1GB. [2023-11-24 22:11:31,919 INFO L158 Benchmark]: Boogie Procedure Inliner took 98.43ms. Allocated memory is still 188.7MB. Free memory was 92.2MB in the beginning and 89.2MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-24 22:11:31,921 INFO L158 Benchmark]: Boogie Preprocessor took 37.37ms. Allocated memory is still 188.7MB. Free memory was 89.2MB in the beginning and 87.7MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:11:31,922 INFO L158 Benchmark]: RCFGBuilder took 534.41ms. Allocated memory is still 188.7MB. Free memory was 87.7MB in the beginning and 150.5MB in the end (delta: -62.8MB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. [2023-11-24 22:11:31,923 INFO L158 Benchmark]: CodeCheck took 1029.16ms. Allocated memory is still 188.7MB. Free memory was 150.5MB in the beginning and 109.6MB in the end (delta: 40.9MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2023-11-24 22:11:31,929 INFO L158 Benchmark]: Witness Printer took 6.95ms. Allocated memory is still 188.7MB. Free memory was 109.6MB in the beginning and 108.6MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:11:31,938 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 3 procedures, 26 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.9s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 85 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 4 mSDsluCounter, 47 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 10 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 30 IncrementalHoareTripleChecker+Invalid, 40 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 10 mSolverCounterUnsat, 47 mSDtfsCounter, 30 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 234 GetRequests, 228 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 56 NumberOfCodeBlocks, 56 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 34 ConstructedInterpolants, 0 QuantifiedInterpolants, 42 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 1 PerfectInterpolantSequences, 3/4 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: 1578]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1566, overapproximation of large string literal at line 1586. 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); [L1586] 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) [L1586] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=13, argc=13, argv={18:28}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1587] CALL CWE190_Integer_Overflow__int_fgets_multiply_08_bad() [L1558] int data; [L1559] 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] [L1560] CALL staticReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1550] return 1; [L1560] RET staticReturnsTrue() 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] [L1560] COND TRUE staticReturnsTrue() [L1563] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1564] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1566] EXPR data = atoi(inputBuffer) [L1563] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1562-L1572] { 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=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1574] CALL staticReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1550] return 1; [L1574] RET staticReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1574] COND TRUE staticReturnsTrue() [L1576] COND TRUE data > 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1578] data * 2 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, 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.32ms. Allocated memory is still 117.4MB. Free memory is still 72.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1706.21ms. Allocated memory is still 188.7MB. Free memory was 153.3MB in the beginning and 92.2MB in the end (delta: 61.1MB). Peak memory consumption was 60.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 98.43ms. Allocated memory is still 188.7MB. Free memory was 92.2MB in the beginning and 89.2MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 37.37ms. Allocated memory is still 188.7MB. Free memory was 89.2MB in the beginning and 87.7MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 534.41ms. Allocated memory is still 188.7MB. Free memory was 87.7MB in the beginning and 150.5MB in the end (delta: -62.8MB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. * CodeCheck took 1029.16ms. Allocated memory is still 188.7MB. Free memory was 150.5MB in the beginning and 109.6MB in the end (delta: 40.9MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * Witness Printer took 6.95ms. Allocated memory is still 188.7MB. Free memory was 109.6MB in the beginning and 108.6MB in the end (delta: 1.0MB). 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 Unfinished Backtranslation: IdentifierExpression #t~ret98 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret102 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-24 22:11:31,964 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/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-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/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_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_08_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/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_5474487e-dd84-4442-b49a-2472ed8af491/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 c7bcea44d2d5c873e0b8e8c55b7326f378336441a2a8a0bedf0637d4e55558db --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:11:34,722 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:11:34,895 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-24 22:11:34,953 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:11:34,954 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:11:34,956 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:11:34,957 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:11:34,957 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:11:34,958 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:11:34,964 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:11:34,965 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:11:34,965 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:11:34,966 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:11:34,968 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:11:34,968 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 22:11:34,969 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-24 22:11:34,969 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 22:11:34,970 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-24 22:11:34,970 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:11:34,971 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:11:34,971 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:11:34,973 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:11:34,973 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:11:34,974 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:11:34,974 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:11:34,975 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-24 22:11:34,976 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:11:34,976 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:11:34,977 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:11:34,977 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:11:34,979 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:11:34,979 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-24 22:11:34,980 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:11:34,980 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:11:34,981 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-24 22:11:34,981 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 22:11:34,982 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_5474487e-dd84-4442-b49a-2472ed8af491/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_5474487e-dd84-4442-b49a-2472ed8af491/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 -> c7bcea44d2d5c873e0b8e8c55b7326f378336441a2a8a0bedf0637d4e55558db [2023-11-24 22:11:35,456 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:11:35,487 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:11:35,490 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:11:35,492 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:11:35,493 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:11:35,495 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_08_bad.i [2023-11-24 22:11:38,634 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:11:39,196 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:11:39,199 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_08_bad.i [2023-11-24 22:11:39,234 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/data/5f17e1e95/77d0afdc7c6445928376ebec3e38b22a/FLAG8be3dde5d [2023-11-24 22:11:39,254 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/data/5f17e1e95/77d0afdc7c6445928376ebec3e38b22a [2023-11-24 22:11:39,259 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:11:39,261 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:11:39,264 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:11:39,265 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:11:39,271 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:11:39,272 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:11:39" (1/1) ... [2023-11-24 22:11:39,273 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6dc999e2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:39, skipping insertion in model container [2023-11-24 22:11:39,273 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:11:39" (1/1) ... [2023-11-24 22:11:39,376 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:11:40,698 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:11:40,720 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:11:40,877 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:11:41,031 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:41,031 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:41,032 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:41,032 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:41,032 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:11:41,040 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:11:41,041 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41 WrapperNode [2023-11-24 22:11:41,041 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:11:41,042 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:11:41,042 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:11:41,042 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:11:41,049 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,086 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,113 INFO L138 Inliner]: procedures = 506, calls = 65, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 65 [2023-11-24 22:11:41,114 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:11:41,115 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:11:41,115 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:11:41,115 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:11:41,125 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,125 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,130 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,130 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,140 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,142 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,146 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,148 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,153 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:11:41,154 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:11:41,154 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:11:41,154 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:11:41,155 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,160 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:11:41,176 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:11:41,202 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 22:11:41,204 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 22:11:41,236 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 22:11:41,236 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 22:11:41,236 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 22:11:41,237 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:11:41,237 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-24 22:11:41,237 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:11:41,237 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:11:41,237 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:11:41,238 INFO L130 BoogieDeclarations]: Found specification of procedure staticReturnsTrue [2023-11-24 22:11:41,238 INFO L138 BoogieDeclarations]: Found implementation of procedure staticReturnsTrue [2023-11-24 22:11:41,238 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:11:41,238 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 22:11:41,238 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-24 22:11:41,442 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:11:41,447 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:11:41,678 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:11:41,753 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:11:41,753 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 22:11:41,755 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:11:41 BoogieIcfgContainer [2023-11-24 22:11:41,755 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:11:41,756 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 22:11:41,756 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 22:11:41,767 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 22:11:41,767 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:11:41" (1/1) ... [2023-11-24 22:11:41,779 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:11:41,855 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:11:41,865 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 24 states and 30 transitions. [2023-11-24 22:11:41,865 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 30 transitions. [2023-11-24 22:11:41,877 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-11-24 22:11:41,878 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:11:41,879 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 22:11:41,879 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 22:11:41,886 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 22:11:41,892 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-24 22:11:42,069 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:11:42,073 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 22:11:42,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:11:42,109 INFO L262 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-24 22:11:42,114 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 22:11:42,161 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 22:11:42,162 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 22:11:42,170 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-24 22:11:42,245 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:11:42,246 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 23 states and 29 transitions. [2023-11-24 22:11:42,246 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 29 transitions. [2023-11-24 22:11:42,247 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-24 22:11:42,247 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:11:42,247 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 22:11:42,247 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 22:11:42,249 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 22:11:42,276 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-24 22:11:42,372 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:11:42,372 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 22:11:42,397 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:11:42,398 INFO L262 TraceCheckSpWp]: Trace formula consists of 56 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-24 22:11:42,400 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 22:11:42,443 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:11:42,444 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 22:11:42,452 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-24 22:11:42,530 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:11:42,531 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 23 states and 28 transitions. [2023-11-24 22:11:42,532 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 28 transitions. [2023-11-24 22:11:42,533 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2023-11-24 22:11:42,533 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:11:42,533 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 22:11:42,534 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 22:11:42,535 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 22:11:42,536 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-24 22:11:42,751 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:11:42,751 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:11:42,872 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:11:42,976 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:11:42,977 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:11:43,024 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:11:43,047 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 22:11:43,057 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2023-11-24 22:11:43,057 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2023-11-24 22:11:43,099 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet102 [2023-11-24 22:11:43,103 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret96 could not be translated [2023-11-24 22:11:43,105 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret100 could not be translated [2023-11-24 22:11:43,114 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 10:11:43 ImpRootNode [2023-11-24 22:11:43,114 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 22:11:43,116 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 22:11:43,116 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 22:11:43,116 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 22:11:43,117 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:11:41" (3/4) ... [2023-11-24 22:11:43,118 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 22:11:43,120 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 22:11:43,120 INFO L158 Benchmark]: Toolchain (without parser) took 3859.72ms. Allocated memory is still 125.8MB. Free memory was 96.4MB in the beginning and 67.7MB in the end (delta: 28.7MB). Peak memory consumption was 31.2MB. Max. memory is 16.1GB. [2023-11-24 22:11:43,121 INFO L158 Benchmark]: CDTParser took 0.75ms. Allocated memory is still 77.6MB. Free memory is still 53.3MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:11:43,122 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1777.18ms. Allocated memory is still 125.8MB. Free memory was 96.4MB in the beginning and 85.7MB in the end (delta: 10.7MB). Peak memory consumption was 61.6MB. Max. memory is 16.1GB. [2023-11-24 22:11:43,124 INFO L158 Benchmark]: Boogie Procedure Inliner took 72.12ms. Allocated memory is still 125.8MB. Free memory was 85.7MB in the beginning and 83.0MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:11:43,125 INFO L158 Benchmark]: Boogie Preprocessor took 38.14ms. Allocated memory is still 125.8MB. Free memory was 83.0MB in the beginning and 80.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:11:43,130 INFO L158 Benchmark]: RCFGBuilder took 601.79ms. Allocated memory is still 125.8MB. Free memory was 80.9MB in the beginning and 62.7MB in the end (delta: 18.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-24 22:11:43,131 INFO L158 Benchmark]: CodeCheck took 1358.18ms. Allocated memory is still 125.8MB. Free memory was 62.7MB in the beginning and 67.7MB in the end (delta: -5.0MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:11:43,131 INFO L158 Benchmark]: Witness Printer took 3.97ms. Allocated memory is still 125.8MB. Free memory is still 67.7MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:11:43,140 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 3 procedures, 24 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.3s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 75 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 41 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 21 IncrementalHoareTripleChecker+Invalid, 29 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 41 mSDtfsCounter, 21 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 222 GetRequests, 216 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 49 NumberOfCodeBlocks, 49 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 29 ConstructedInterpolants, 0 QuantifiedInterpolants, 35 SizeOfPredicates, 0 NumberOfNonLiveVariables, 111 ConjunctsInSsa, 5 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 4/4 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: 1578]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1566, overapproximation of large string literal at line 1586. 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); [L1586] 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) [L1586] 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] [L1587] CALL CWE190_Integer_Overflow__int_fgets_multiply_08_bad() [L1558] int data; [L1559] 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] [L1560] CALL staticReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1550] return 1; [L1560] RET staticReturnsTrue() 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] [L1560] COND TRUE staticReturnsTrue() [L1563] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1564] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1566] EXPR data = atoi(inputBuffer) [L1563] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1562-L1572] { 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=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1574] CALL staticReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1550] return 1; [L1574] RET staticReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1574] COND TRUE staticReturnsTrue() [L1576] COND TRUE data > 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1578] data * 2 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, 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.75ms. Allocated memory is still 77.6MB. Free memory is still 53.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1777.18ms. Allocated memory is still 125.8MB. Free memory was 96.4MB in the beginning and 85.7MB in the end (delta: 10.7MB). Peak memory consumption was 61.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 72.12ms. Allocated memory is still 125.8MB. Free memory was 85.7MB in the beginning and 83.0MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 38.14ms. Allocated memory is still 125.8MB. Free memory was 83.0MB in the beginning and 80.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 601.79ms. Allocated memory is still 125.8MB. Free memory was 80.9MB in the beginning and 62.7MB in the end (delta: 18.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 1358.18ms. Allocated memory is still 125.8MB. Free memory was 62.7MB in the beginning and 67.7MB in the end (delta: -5.0MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 3.97ms. Allocated memory is still 125.8MB. Free memory is still 67.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 Unfinished Backtranslation: IdentifierExpression #t~ret96 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret100 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-24 22:11:43,164 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_5474487e-dd84-4442-b49a-2472ed8af491/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