./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_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_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/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_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/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_bec22f92-0a49-414d-8a94-1c36842b4a1a/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 8f10b7bf48d9efa6d23cb3b3042d28c87b77bc3d4a7257dcc6d871490871823d --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:58:31,044 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:58:31,172 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-24 22:58:31,179 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 22:58:31,181 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-24 22:58:31,222 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:58:31,223 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:58:31,224 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:58:31,225 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:58:31,230 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:58:31,232 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:58:31,232 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:58:31,233 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 22:58:31,235 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:58:31,235 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:58:31,236 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:58:31,236 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:58:31,237 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 22:58:31,237 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:58:31,237 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:58:31,238 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:58:31,239 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:58:31,239 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:58:31,240 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:58:31,240 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:58:31,241 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:58:31,241 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:58:31,242 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:58:31,242 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:58:31,242 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-24 22:58:31,244 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 22:58:31,244 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:58:31,244 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_bec22f92-0a49-414d-8a94-1c36842b4a1a/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_bec22f92-0a49-414d-8a94-1c36842b4a1a/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 -> 8f10b7bf48d9efa6d23cb3b3042d28c87b77bc3d4a7257dcc6d871490871823d [2023-11-24 22:58:31,606 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:58:31,629 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:58:31,632 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:58:31,634 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:58:31,634 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:58:31,636 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i [2023-11-24 22:58:35,083 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:58:35,669 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:58:35,670 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i [2023-11-24 22:58:35,720 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/data/d72b1f008/84cc02a9be67484c9e87a97b6e54b03a/FLAGd21875f02 [2023-11-24 22:58:35,744 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/data/d72b1f008/84cc02a9be67484c9e87a97b6e54b03a [2023-11-24 22:58:35,751 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:58:35,753 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:58:35,757 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:58:35,757 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:58:35,765 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:58:35,766 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:58:35" (1/1) ... [2023-11-24 22:58:35,767 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1cb6a173 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:35, skipping insertion in model container [2023-11-24 22:58:35,769 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:58:35" (1/1) ... [2023-11-24 22:58:35,931 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:58:38,026 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:58:38,042 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:58:38,169 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:58:38,802 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:38,802 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:38,803 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:38,803 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:38,803 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:38,812 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:58:38,812 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38 WrapperNode [2023-11-24 22:58:38,812 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:58:38,813 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:58:38,813 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:58:38,813 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:58:38,820 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:58:38" (1/1) ... [2023-11-24 22:58:38,856 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:58:38" (1/1) ... [2023-11-24 22:58:38,894 INFO L138 Inliner]: procedures = 937, calls = 63, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 60 [2023-11-24 22:58:38,895 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:58:38,896 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:58:38,896 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:58:38,896 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:58:38,908 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38" (1/1) ... [2023-11-24 22:58:38,909 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38" (1/1) ... [2023-11-24 22:58:38,913 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38" (1/1) ... [2023-11-24 22:58:38,913 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38" (1/1) ... [2023-11-24 22:58:38,922 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38" (1/1) ... [2023-11-24 22:58:38,925 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38" (1/1) ... [2023-11-24 22:58:38,927 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38" (1/1) ... [2023-11-24 22:58:38,929 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38" (1/1) ... [2023-11-24 22:58:38,933 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:58:38,934 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:58:38,935 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:58:38,935 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:58:38,936 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:38" (1/1) ... [2023-11-24 22:58:38,943 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:58:38,962 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:58:38,981 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/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:58:38,991 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/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:58:39,029 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:58:39,030 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:58:39,030 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:58:39,030 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:58:39,031 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 22:58:39,031 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 22:58:39,031 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 22:58:39,031 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 22:58:39,031 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:58:39,032 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-24 22:58:39,032 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-24 22:58:39,269 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:58:39,278 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:58:39,539 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:58:39,608 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:58:39,611 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 22:58:39,613 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:58:39 BoogieIcfgContainer [2023-11-24 22:58:39,614 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:58:39,615 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 22:58:39,615 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 22:58:39,629 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 22:58:39,630 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:58:39" (1/1) ... [2023-11-24 22:58:39,644 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:58:39,724 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:58:39,735 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 19 states and 23 transitions. [2023-11-24 22:58:39,736 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2023-11-24 22:58:39,747 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-24 22:58:39,748 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:58:39,749 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:58:39,960 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:58:40,065 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:58:40,098 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:58:40,098 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 18 states and 22 transitions. [2023-11-24 22:58:40,098 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 22 transitions. [2023-11-24 22:58:40,099 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-24 22:58:40,099 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:58:40,100 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:58:40,221 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:58:40,224 INFO L262 TraceCheckSpWp]: Trace formula consists of 82 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-24 22:58:40,230 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 22:58:40,277 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:58:40,325 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:58:40,325 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 20 states and 26 transitions. [2023-11-24 22:58:40,326 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 26 transitions. [2023-11-24 22:58:40,327 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-24 22:58:40,327 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:58:40,328 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:58:40,414 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:58:40,415 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:58:40,460 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:58:40,489 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2023-11-24 22:58:40,528 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet186 [2023-11-24 22:58:40,535 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 10:58:40 ImpRootNode [2023-11-24 22:58:40,536 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 22:58:40,537 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 22:58:40,537 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 22:58:40,537 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 22:58:40,538 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:58:39" (3/4) ... [2023-11-24 22:58:40,540 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 22:58:40,542 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 22:58:40,543 INFO L158 Benchmark]: Toolchain (without parser) took 4789.99ms. Allocated memory was 125.8MB in the beginning and 184.5MB in the end (delta: 58.7MB). Free memory was 75.5MB in the beginning and 124.8MB in the end (delta: -49.3MB). Peak memory consumption was 11.2MB. Max. memory is 16.1GB. [2023-11-24 22:58:40,544 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 125.8MB. Free memory is still 74.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:58:40,545 INFO L158 Benchmark]: CACSL2BoogieTranslator took 3055.51ms. Allocated memory was 125.8MB in the beginning and 153.1MB in the end (delta: 27.3MB). Free memory was 75.5MB in the beginning and 89.4MB in the end (delta: -13.9MB). Peak memory consumption was 46.7MB. Max. memory is 16.1GB. [2023-11-24 22:58:40,546 INFO L158 Benchmark]: Boogie Procedure Inliner took 82.05ms. Allocated memory is still 153.1MB. Free memory was 89.4MB in the beginning and 86.3MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:58:40,547 INFO L158 Benchmark]: Boogie Preprocessor took 37.81ms. Allocated memory is still 153.1MB. Free memory was 86.2MB in the beginning and 84.2MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:58:40,548 INFO L158 Benchmark]: RCFGBuilder took 679.64ms. Allocated memory is still 153.1MB. Free memory was 84.2MB in the beginning and 68.4MB in the end (delta: 15.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-24 22:58:40,555 INFO L158 Benchmark]: CodeCheck took 920.88ms. Allocated memory was 153.1MB in the beginning and 184.5MB in the end (delta: 31.5MB). Free memory was 68.4MB in the beginning and 124.8MB in the end (delta: -56.4MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:58:40,556 INFO L158 Benchmark]: Witness Printer took 5.37ms. Allocated memory is still 184.5MB. Free memory is still 124.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:58:40,566 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 19 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.8s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 57 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 8 mSDsluCounter, 45 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 6 mSDsCounter, 5 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 16 IncrementalHoareTripleChecker+Invalid, 21 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 5 mSolverCounterUnsat, 39 mSDtfsCounter, 16 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 130 GetRequests, 128 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.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 28 NumberOfCodeBlocks, 28 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 15 ConstructedInterpolants, 0 QuantifiedInterpolants, 25 SizeOfPredicates, 0 NumberOfNonLiveVariables, 82 ConjunctsInSsa, 3 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1854]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1843, overapproximation of large string literal at line 1862. 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); [L1832] static const int STATIC_CONST_FIVE = 5; [L1862] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={4:0}] [L1414] COND TRUE line != ((void *)0) [L1862] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, \old(argc)=13, argc=13, argv={12:32}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1863] CALL CWE190_Integer_Overflow__int_fgets_square_06_bad() [L1835] int data; [L1836] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1837] COND TRUE STATIC_CONST_FIVE==5 [L1840] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1841] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1843] EXPR data = atoi(inputBuffer) [L1840] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1839-L1849] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-2147482620, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1851] COND TRUE STATIC_CONST_FIVE==5 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-2147482620, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1854] data * data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, STATIC_CONST_FIVE=5, data=-2147482620, 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 125.8MB. Free memory is still 74.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 3055.51ms. Allocated memory was 125.8MB in the beginning and 153.1MB in the end (delta: 27.3MB). Free memory was 75.5MB in the beginning and 89.4MB in the end (delta: -13.9MB). Peak memory consumption was 46.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 82.05ms. Allocated memory is still 153.1MB. Free memory was 89.4MB in the beginning and 86.3MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 37.81ms. Allocated memory is still 153.1MB. Free memory was 86.2MB in the beginning and 84.2MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 679.64ms. Allocated memory is still 153.1MB. Free memory was 84.2MB in the beginning and 68.4MB in the end (delta: 15.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 920.88ms. Allocated memory was 153.1MB in the beginning and 184.5MB in the end (delta: 31.5MB). Free memory was 68.4MB in the beginning and 124.8MB in the end (delta: -56.4MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.37ms. Allocated memory is still 184.5MB. Free memory is still 124.8MB. 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~nondet186 - 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:58:40,599 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/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_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/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_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/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_bec22f92-0a49-414d-8a94-1c36842b4a1a/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 8f10b7bf48d9efa6d23cb3b3042d28c87b77bc3d4a7257dcc6d871490871823d --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:58:43,390 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:58:43,522 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-24 22:58:43,572 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:58:43,574 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:58:43,574 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:58:43,575 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:58:43,576 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:58:43,577 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:58:43,581 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:58:43,582 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:58:43,582 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:58:43,583 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:58:43,584 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:58:43,585 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 22:58:43,585 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-24 22:58:43,585 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 22:58:43,586 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-24 22:58:43,586 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:58:43,587 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:58:43,587 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:58:43,588 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:58:43,588 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:58:43,589 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:58:43,589 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:58:43,589 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-24 22:58:43,590 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:58:43,590 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:58:43,591 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:58:43,591 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:58:43,592 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:58:43,592 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-24 22:58:43,593 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:58:43,593 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:58:43,593 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-24 22:58:43,594 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 22:58:43,594 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_bec22f92-0a49-414d-8a94-1c36842b4a1a/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_bec22f92-0a49-414d-8a94-1c36842b4a1a/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 -> 8f10b7bf48d9efa6d23cb3b3042d28c87b77bc3d4a7257dcc6d871490871823d [2023-11-24 22:58:44,083 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:58:44,115 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:58:44,118 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:58:44,120 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:58:44,120 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:58:44,122 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i [2023-11-24 22:58:47,343 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:58:47,853 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:58:47,853 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i [2023-11-24 22:58:47,891 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/data/774e0500a/7ebe4a4991a347959e76203d530a4041/FLAG1358d5044 [2023-11-24 22:58:47,907 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/data/774e0500a/7ebe4a4991a347959e76203d530a4041 [2023-11-24 22:58:47,909 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:58:47,911 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:58:47,912 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:58:47,913 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:58:47,918 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:58:47,919 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:58:47" (1/1) ... [2023-11-24 22:58:47,920 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@e395ad5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:47, skipping insertion in model container [2023-11-24 22:58:47,920 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:58:47" (1/1) ... [2023-11-24 22:58:48,008 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:58:49,721 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:58:49,743 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:58:49,911 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:58:50,314 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:50,315 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:50,315 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:50,315 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:50,315 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:58:50,324 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:58:50,324 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50 WrapperNode [2023-11-24 22:58:50,324 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:58:50,325 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:58:50,326 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:58:50,326 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:58:50,334 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:58:50" (1/1) ... [2023-11-24 22:58:50,397 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:58:50" (1/1) ... [2023-11-24 22:58:50,448 INFO L138 Inliner]: procedures = 942, calls = 63, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 59 [2023-11-24 22:58:50,449 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:58:50,449 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:58:50,450 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:58:50,450 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:58:50,458 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50" (1/1) ... [2023-11-24 22:58:50,461 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50" (1/1) ... [2023-11-24 22:58:50,469 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50" (1/1) ... [2023-11-24 22:58:50,471 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50" (1/1) ... [2023-11-24 22:58:50,480 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50" (1/1) ... [2023-11-24 22:58:50,491 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50" (1/1) ... [2023-11-24 22:58:50,495 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50" (1/1) ... [2023-11-24 22:58:50,497 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50" (1/1) ... [2023-11-24 22:58:50,502 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:58:50,503 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:58:50,503 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:58:50,503 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:58:50,504 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:58:50" (1/1) ... [2023-11-24 22:58:50,511 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:58:50,527 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:58:50,543 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/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:58:50,546 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/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:58:50,578 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:58:50,578 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:58:50,579 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:58:50,579 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:58:50,579 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 22:58:50,579 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-24 22:58:50,579 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 22:58:50,580 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 22:58:50,580 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 22:58:50,580 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:58:50,580 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-24 22:58:50,760 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:58:50,762 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:58:51,921 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:58:52,005 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:58:52,005 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 22:58:52,007 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:58:52 BoogieIcfgContainer [2023-11-24 22:58:52,007 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:58:52,008 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 22:58:52,008 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 22:58:52,021 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 22:58:52,021 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:58:52" (1/1) ... [2023-11-24 22:58:52,032 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:58:52,113 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:58:52,124 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 19 states and 23 transitions. [2023-11-24 22:58:52,124 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2023-11-24 22:58:52,129 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-24 22:58:52,129 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:58:52,130 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 22:58:52,130 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 22:58:52,133 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 22:58:52,158 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-24 22:58:52,318 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:58:52,322 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 22:58:52,388 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:58:52,395 INFO L262 TraceCheckSpWp]: Trace formula consists of 45 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-24 22:58:52,400 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 22:58:52,498 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:58:52,507 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-24 22:58:52,611 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:58:52,612 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 21 states and 27 transitions. [2023-11-24 22:58:52,612 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 27 transitions. [2023-11-24 22:58:52,614 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-24 22:58:52,614 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:58:52,614 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 22:58:52,615 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 22:58:52,616 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 22:58:52,619 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_bec22f92-0a49-414d-8a94-1c36842b4a1a/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process