./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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 1508fe2c4b6182b7920da7c63874e555cc58358ff3b0fcec1c9be2977f59c014 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:16:54,854 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:16:54,945 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-24 22:16:54,952 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 22:16:54,952 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-24 22:16:54,984 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:16:54,985 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:16:54,986 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:16:54,987 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:16:54,988 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:16:54,989 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:16:54,989 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:16:54,990 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 22:16:54,991 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:16:54,992 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:16:54,992 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:16:54,993 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:16:54,994 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 22:16:54,995 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:16:54,995 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:16:54,996 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:16:54,997 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:16:54,998 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:16:54,998 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:16:54,999 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:16:55,000 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:16:55,001 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:16:55,002 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:16:55,002 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:16:55,003 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-24 22:16:55,004 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 22:16:55,005 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:16:55,005 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_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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 -> 1508fe2c4b6182b7920da7c63874e555cc58358ff3b0fcec1c9be2977f59c014 [2023-11-24 22:16:55,328 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:16:55,358 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:16:55,362 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:16:55,364 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:16:55,366 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:16:55,367 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i [2023-11-24 22:16:58,873 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:16:59,289 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:16:59,290 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i [2023-11-24 22:16:59,325 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/data/2d962583b/8781a0c0c4dc415686653983c3ae2585/FLAG94178762e [2023-11-24 22:16:59,341 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/data/2d962583b/8781a0c0c4dc415686653983c3ae2585 [2023-11-24 22:16:59,344 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:16:59,346 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:16:59,348 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:16:59,348 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:16:59,354 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:16:59,355 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:16:59" (1/1) ... [2023-11-24 22:16:59,356 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@35dafb27 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:16:59, skipping insertion in model container [2023-11-24 22:16:59,356 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:16:59" (1/1) ... [2023-11-24 22:16:59,469 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:17:00,676 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:17:00,697 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:17:00,781 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:17:00,999 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:00,999 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:01,000 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:01,000 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:01,000 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:01,008 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:17:01,009 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01 WrapperNode [2023-11-24 22:17:01,010 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:17:01,011 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:17:01,011 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:17:01,012 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:17:01,020 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:17:01" (1/1) ... [2023-11-24 22:17:01,082 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:17:01" (1/1) ... [2023-11-24 22:17:01,110 INFO L138 Inliner]: procedures = 499, calls = 65, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 67 [2023-11-24 22:17:01,111 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:17:01,112 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:17:01,112 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:17:01,112 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:17:01,124 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,124 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,128 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,129 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,136 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,138 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,141 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,143 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,147 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:17:01,148 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:17:01,148 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:17:01,148 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:17:01,150 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,156 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:17:01,173 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:17:01,188 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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:17:01,225 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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:17:01,248 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 22:17:01,248 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 22:17:01,249 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 22:17:01,249 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrue [2023-11-24 22:17:01,250 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrue [2023-11-24 22:17:01,251 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:17:01,251 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-24 22:17:01,251 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:17:01,251 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:17:01,252 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:17:01,252 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:17:01,252 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 22:17:01,252 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-24 22:17:01,445 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:17:01,448 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:17:01,620 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:17:01,696 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:17:01,707 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 22:17:01,709 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:17:01 BoogieIcfgContainer [2023-11-24 22:17:01,709 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:17:01,710 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 22:17:01,711 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 22:17:01,722 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 22:17:01,723 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:17:01" (1/1) ... [2023-11-24 22:17:01,736 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:17:01,805 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:17:01,817 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 25 states and 30 transitions. [2023-11-24 22:17:01,818 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 30 transitions. [2023-11-24 22:17:01,826 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-24 22:17:01,827 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:17:01,828 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:17:02,006 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:17:02,247 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:17:02,348 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:17:02,349 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 25 states and 29 transitions. [2023-11-24 22:17:02,349 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 29 transitions. [2023-11-24 22:17:02,350 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2023-11-24 22:17:02,350 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:17:02,351 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:17:02,400 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:17:02,538 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:17:02,585 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:17:02,586 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 30 states and 37 transitions. [2023-11-24 22:17:02,586 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 37 transitions. [2023-11-24 22:17:02,587 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2023-11-24 22:17:02,587 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:17:02,588 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:17:02,629 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:17:02,629 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:17:02,651 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:17:02,730 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:17:02,730 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:17:02,751 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:17:02,772 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2023-11-24 22:17:02,802 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet104 [2023-11-24 22:17:02,806 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret98 could not be translated [2023-11-24 22:17:02,807 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret102 could not be translated [2023-11-24 22:17:02,813 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 10:17:02 ImpRootNode [2023-11-24 22:17:02,813 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 22:17:02,814 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 22:17:02,814 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 22:17:02,814 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 22:17:02,815 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:17:01" (3/4) ... [2023-11-24 22:17:02,817 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 22:17:02,819 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 22:17:02,821 INFO L158 Benchmark]: Toolchain (without parser) took 3474.05ms. Allocated memory was 159.4MB in the beginning and 203.4MB in the end (delta: 44.0MB). Free memory was 108.5MB in the beginning and 89.5MB in the end (delta: 19.0MB). Peak memory consumption was 64.9MB. Max. memory is 16.1GB. [2023-11-24 22:17:02,821 INFO L158 Benchmark]: CDTParser took 0.38ms. Allocated memory is still 159.4MB. Free memory is still 105.9MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:17:02,822 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1662.05ms. Allocated memory was 159.4MB in the beginning and 203.4MB in the end (delta: 44.0MB). Free memory was 108.3MB in the beginning and 153.5MB in the end (delta: -45.2MB). Peak memory consumption was 67.0MB. Max. memory is 16.1GB. [2023-11-24 22:17:02,823 INFO L158 Benchmark]: Boogie Procedure Inliner took 100.06ms. Allocated memory is still 203.4MB. Free memory was 153.5MB in the beginning and 151.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:17:02,824 INFO L158 Benchmark]: Boogie Preprocessor took 35.19ms. Allocated memory is still 203.4MB. Free memory was 151.4MB in the beginning and 149.2MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:17:02,825 INFO L158 Benchmark]: RCFGBuilder took 561.86ms. Allocated memory is still 203.4MB. Free memory was 149.2MB in the beginning and 133.6MB in the end (delta: 15.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-24 22:17:02,826 INFO L158 Benchmark]: CodeCheck took 1102.89ms. Allocated memory is still 203.4MB. Free memory was 133.6MB in the beginning and 89.5MB in the end (delta: 44.0MB). Peak memory consumption was 44.0MB. Max. memory is 16.1GB. [2023-11-24 22:17:02,826 INFO L158 Benchmark]: Witness Printer took 5.08ms. Allocated memory is still 203.4MB. Free memory is still 89.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:17:02,830 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, 25 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 86 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 10 mSDsluCounter, 64 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 8 mSDsCounter, 10 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 36 IncrementalHoareTripleChecker+Invalid, 46 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 10 mSolverCounterUnsat, 56 mSDtfsCounter, 36 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 230 GetRequests, 224 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.4s InterpolantComputationTime, 53 NumberOfCodeBlocks, 53 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 32 ConstructedInterpolants, 0 QuantifiedInterpolants, 58 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: 1569]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1577. 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); [L1577] 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) [L1577] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=18, argc=18, argv={13:20}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1578] CALL CWE190_Integer_Overflow__int_fgets_add_11_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1552] RET globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrue() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1566] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1566] RET globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1566] COND TRUE globalReturnsTrue() [L1569] data + 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, 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.38ms. Allocated memory is still 159.4MB. Free memory is still 105.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1662.05ms. Allocated memory was 159.4MB in the beginning and 203.4MB in the end (delta: 44.0MB). Free memory was 108.3MB in the beginning and 153.5MB in the end (delta: -45.2MB). Peak memory consumption was 67.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 100.06ms. Allocated memory is still 203.4MB. Free memory was 153.5MB in the beginning and 151.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 35.19ms. Allocated memory is still 203.4MB. Free memory was 151.4MB in the beginning and 149.2MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 561.86ms. Allocated memory is still 203.4MB. Free memory was 149.2MB in the beginning and 133.6MB in the end (delta: 15.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 1102.89ms. Allocated memory is still 203.4MB. Free memory was 133.6MB in the beginning and 89.5MB in the end (delta: 44.0MB). Peak memory consumption was 44.0MB. Max. memory is 16.1GB. * Witness Printer took 5.08ms. Allocated memory is still 203.4MB. Free memory is still 89.5MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: 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:17:02,854 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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 Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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 1508fe2c4b6182b7920da7c63874e555cc58358ff3b0fcec1c9be2977f59c014 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:17:05,635 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:17:05,758 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-24 22:17:05,809 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:17:05,811 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:17:05,812 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 22:17:05,813 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:17:05,813 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:17:05,814 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:17:05,819 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 22:17:05,820 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:17:05,820 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 22:17:05,821 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:17:05,822 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 22:17:05,823 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 22:17:05,823 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-24 22:17:05,824 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 22:17:05,824 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-24 22:17:05,825 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:17:05,826 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 22:17:05,826 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:17:05,827 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:17:05,828 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:17:05,828 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:17:05,829 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:17:05,829 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-24 22:17:05,830 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:17:05,830 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:17:05,831 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:17:05,831 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:17:05,833 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 22:17:05,833 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-24 22:17:05,833 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 22:17:05,834 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 22:17:05,834 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-24 22:17:05,834 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 22:17:05,835 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_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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 -> 1508fe2c4b6182b7920da7c63874e555cc58358ff3b0fcec1c9be2977f59c014 [2023-11-24 22:17:06,237 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:17:06,258 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:17:06,261 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:17:06,262 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:17:06,263 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:17:06,264 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i [2023-11-24 22:17:09,237 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:17:09,695 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:17:09,696 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_11_bad.i [2023-11-24 22:17:09,741 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/data/360981744/11c708b3c7f84acf8a7776bc3f3506e8/FLAG8a519457c [2023-11-24 22:17:09,760 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/data/360981744/11c708b3c7f84acf8a7776bc3f3506e8 [2023-11-24 22:17:09,765 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:17:09,767 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:17:09,770 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:17:09,771 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:17:09,775 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:17:09,776 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:17:09" (1/1) ... [2023-11-24 22:17:09,777 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@74d66c83 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:09, skipping insertion in model container [2023-11-24 22:17:09,777 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:17:09" (1/1) ... [2023-11-24 22:17:09,854 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:17:10,968 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:17:10,983 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:17:11,075 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:17:11,204 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:11,204 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:11,204 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:11,204 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:11,205 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:17:11,213 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:17:11,213 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11 WrapperNode [2023-11-24 22:17:11,214 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:17:11,215 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:17:11,215 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:17:11,215 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:17:11,222 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:17:11" (1/1) ... [2023-11-24 22:17:11,276 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:17:11" (1/1) ... [2023-11-24 22:17:11,302 INFO L138 Inliner]: procedures = 504, calls = 65, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 64 [2023-11-24 22:17:11,303 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:17:11,303 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:17:11,304 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:17:11,304 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:17:11,314 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,314 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,319 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,319 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,345 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,361 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,364 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,366 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,371 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:17:11,372 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:17:11,372 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:17:11,373 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:17:11,373 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,392 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:17:11,408 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:17:11,449 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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:17:11,474 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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:17:11,491 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 22:17:11,492 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 22:17:11,492 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 22:17:11,492 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrue [2023-11-24 22:17:11,492 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrue [2023-11-24 22:17:11,492 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:17:11,492 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-24 22:17:11,492 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:17:11,492 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:17:11,492 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:17:11,493 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:17:11,493 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 22:17:11,493 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-24 22:17:11,694 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:17:11,696 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:17:11,881 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:17:11,948 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:17:11,952 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 22:17:11,954 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:17:11 BoogieIcfgContainer [2023-11-24 22:17:11,954 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:17:11,955 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 22:17:11,955 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 22:17:11,965 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 22:17:11,966 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:17:11" (1/1) ... [2023-11-24 22:17:11,977 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:17:12,044 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:17:12,053 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 23 states and 28 transitions. [2023-11-24 22:17:12,054 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 28 transitions. [2023-11-24 22:17:12,060 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2023-11-24 22:17:12,060 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:17:12,062 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 22:17:12,062 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 22:17:12,064 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 22:17:12,083 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-24 22:17:12,213 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:17:12,216 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 22:17:12,254 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:17:12,256 INFO L262 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 1 conjunts are in the unsatisfiable core [2023-11-24 22:17:12,261 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 22:17:12,286 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:17:12,289 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 22:17:12,294 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-24 22:17:12,328 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:17:12,329 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 22 states and 27 transitions. [2023-11-24 22:17:12,329 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 27 transitions. [2023-11-24 22:17:12,330 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-11-24 22:17:12,330 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:17:12,330 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 22:17:12,331 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 22:17:12,332 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 22:17:12,351 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-24 22:17:12,476 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:17:12,476 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 22:17:12,509 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:17:12,512 INFO L262 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-24 22:17:12,518 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 22:17:12,569 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:17:12,571 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 22:17:12,577 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-24 22:17:12,626 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 22:17:12,631 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 22 states and 26 transitions. [2023-11-24 22:17:12,632 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 26 transitions. [2023-11-24 22:17:12,633 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2023-11-24 22:17:12,633 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 22:17:12,634 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 22:17:12,634 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 22:17:12,635 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 22:17:12,651 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-24 22:17:12,820 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:17:12,820 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:17:12,931 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:17:13,021 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:17:13,021 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:17:13,072 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:17:13,095 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 22:17:13,096 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2023-11-24 22:17:13,096 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2023-11-24 22:17:13,124 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet102 [2023-11-24 22:17:13,128 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret96 could not be translated [2023-11-24 22:17:13,129 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret100 could not be translated [2023-11-24 22:17:13,134 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 10:17:13 ImpRootNode [2023-11-24 22:17:13,134 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 22:17:13,135 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 22:17:13,135 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 22:17:13,135 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 22:17:13,136 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:17:11" (3/4) ... [2023-11-24 22:17:13,138 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 22:17:13,139 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 22:17:13,140 INFO L158 Benchmark]: Toolchain (without parser) took 3372.94ms. Allocated memory was 75.5MB in the beginning and 94.4MB in the end (delta: 18.9MB). Free memory was 47.7MB in the beginning and 44.1MB in the end (delta: 3.6MB). Peak memory consumption was 24.2MB. Max. memory is 16.1GB. [2023-11-24 22:17:13,140 INFO L158 Benchmark]: CDTParser took 0.34ms. Allocated memory is still 75.5MB. Free memory was 51.3MB in the beginning and 51.3MB in the end (delta: 77.6kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:17:13,141 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1444.32ms. Allocated memory was 75.5MB in the beginning and 94.4MB in the end (delta: 18.9MB). Free memory was 47.5MB in the beginning and 49.0MB in the end (delta: -1.5MB). Peak memory consumption was 30.4MB. Max. memory is 16.1GB. [2023-11-24 22:17:13,142 INFO L158 Benchmark]: Boogie Procedure Inliner took 88.06ms. Allocated memory is still 94.4MB. Free memory was 49.0MB in the beginning and 46.0MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:17:13,143 INFO L158 Benchmark]: Boogie Preprocessor took 68.19ms. Allocated memory is still 94.4MB. Free memory was 46.0MB in the beginning and 44.0MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 22:17:13,143 INFO L158 Benchmark]: RCFGBuilder took 581.73ms. Allocated memory is still 94.4MB. Free memory was 44.0MB in the beginning and 54.8MB in the end (delta: -10.8MB). Peak memory consumption was 9.5MB. Max. memory is 16.1GB. [2023-11-24 22:17:13,144 INFO L158 Benchmark]: CodeCheck took 1179.07ms. Allocated memory is still 94.4MB. Free memory was 54.6MB in the beginning and 44.6MB in the end (delta: 10.0MB). Peak memory consumption was 11.6MB. Max. memory is 16.1GB. [2023-11-24 22:17:13,145 INFO L158 Benchmark]: Witness Printer took 4.16ms. Allocated memory is still 94.4MB. Free memory was 44.6MB in the beginning and 44.1MB in the end (delta: 510.4kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 22:17:13,148 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, 23 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.1s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 73 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 39 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 13 IncrementalHoareTripleChecker+Invalid, 17 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 39 mSDtfsCounter, 13 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 204 GetRequests, 200 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 46 NumberOfCodeBlocks, 46 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 27 ConstructedInterpolants, 0 QuantifiedInterpolants, 31 SizeOfPredicates, 0 NumberOfNonLiveVariables, 109 ConjunctsInSsa, 4 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: 1569]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1577. 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); [L1577] 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) [L1577] 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] [L1578] CALL CWE190_Integer_Overflow__int_fgets_add_11_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1552] RET globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrue() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1566] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1566] RET globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1566] COND TRUE globalReturnsTrue() [L1569] data + 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, 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.34ms. Allocated memory is still 75.5MB. Free memory was 51.3MB in the beginning and 51.3MB in the end (delta: 77.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1444.32ms. Allocated memory was 75.5MB in the beginning and 94.4MB in the end (delta: 18.9MB). Free memory was 47.5MB in the beginning and 49.0MB in the end (delta: -1.5MB). Peak memory consumption was 30.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 88.06ms. Allocated memory is still 94.4MB. Free memory was 49.0MB in the beginning and 46.0MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 68.19ms. Allocated memory is still 94.4MB. Free memory was 46.0MB in the beginning and 44.0MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 581.73ms. Allocated memory is still 94.4MB. Free memory was 44.0MB in the beginning and 54.8MB in the end (delta: -10.8MB). Peak memory consumption was 9.5MB. Max. memory is 16.1GB. * CodeCheck took 1179.07ms. Allocated memory is still 94.4MB. Free memory was 54.6MB in the beginning and 44.6MB in the end (delta: 10.0MB). Peak memory consumption was 11.6MB. Max. memory is 16.1GB. * Witness Printer took 4.16ms. Allocated memory is still 94.4MB. Free memory was 44.6MB in the beginning and 44.1MB in the end (delta: 510.4kB). 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:17:13,174 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3ab05a0e-1fe2-49af-bd73-ddd5e2929f75/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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample