./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b --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 496f243e476a2c20c1a2a5d13155c2e407caf5a68259c23220c11115d8b12039 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-12-05 23:04:45,232 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-05 23:04:45,284 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-12-05 23:04:45,289 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-12-05 23:04:45,289 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-12-05 23:04:45,307 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-05 23:04:45,307 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-12-05 23:04:45,308 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-12-05 23:04:45,308 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-05 23:04:45,308 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-05 23:04:45,308 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-05 23:04:45,308 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-12-05 23:04:45,308 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-12-05 23:04:45,308 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-05 23:04:45,308 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-05 23:04:45,309 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-12-05 23:04:45,309 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-05 23:04:45,309 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-05 23:04:45,310 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-05 23:04:45,310 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-05 23:04:45,310 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-12-05 23:04:45,310 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-12-05 23:04:45,310 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-12-05 23:04:45,310 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b 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 -> 496f243e476a2c20c1a2a5d13155c2e407caf5a68259c23220c11115d8b12039 [2024-12-05 23:04:45,512 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-05 23:04:45,519 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-05 23:04:45,521 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-05 23:04:45,522 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-05 23:04:45,522 INFO L274 PluginConnector]: CDTParser initialized [2024-12-05 23:04:45,523 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i [2024-12-05 23:04:48,119 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data/161ce1dad/dfc5eecbc4194db18d927a1799f999ec/FLAGd279f97db [2024-12-05 23:04:48,422 INFO L384 CDTParser]: Found 1 translation units. [2024-12-05 23:04:48,423 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i [2024-12-05 23:04:48,441 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data/161ce1dad/dfc5eecbc4194db18d927a1799f999ec/FLAGd279f97db [2024-12-05 23:04:48,707 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data/161ce1dad/dfc5eecbc4194db18d927a1799f999ec [2024-12-05 23:04:48,709 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-05 23:04:48,710 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-05 23:04:48,711 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-05 23:04:48,711 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-05 23:04:48,714 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-05 23:04:48,714 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 05.12 11:04:48" (1/1) ... [2024-12-05 23:04:48,715 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@38a446fc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:48, skipping insertion in model container [2024-12-05 23:04:48,715 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 05.12 11:04:48" (1/1) ... [2024-12-05 23:04:48,749 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-05 23:04:49,346 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-05 23:04:49,354 INFO L200 MainTranslator]: Completed pre-run [2024-12-05 23:04:49,429 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-05 23:04:49,540 INFO L204 MainTranslator]: Completed translation [2024-12-05 23:04:49,540 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49 WrapperNode [2024-12-05 23:04:49,540 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-05 23:04:49,541 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-05 23:04:49,541 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-05 23:04:49,541 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-05 23:04:49,547 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,562 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,577 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 81 [2024-12-05 23:04:49,578 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-05 23:04:49,578 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-05 23:04:49,578 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-05 23:04:49,578 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-05 23:04:49,585 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,585 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,587 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,587 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,592 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,592 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,595 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,596 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,597 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,599 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-05 23:04:49,600 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-05 23:04:49,600 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-05 23:04:49,600 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-05 23:04:49,601 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,605 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-05 23:04:49,618 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/z3 [2024-12-05 23:04:49,629 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-12-05 23:04:49,632 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-12-05 23:04:49,657 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-12-05 23:04:49,657 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-12-05 23:04:49,657 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-05 23:04:49,657 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-05 23:04:49,657 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-05 23:04:49,657 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-12-05 23:04:49,774 INFO L234 CfgBuilder]: Building ICFG [2024-12-05 23:04:49,775 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-05 23:04:49,888 INFO L? ?]: Removed 27 outVars from TransFormulas that were not future-live. [2024-12-05 23:04:49,888 INFO L283 CfgBuilder]: Performing block encoding [2024-12-05 23:04:49,919 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-12-05 23:04:49,919 INFO L312 CfgBuilder]: Removed 2 assume(true) statements. [2024-12-05 23:04:49,920 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.12 11:04:49 BoogieIcfgContainer [2024-12-05 23:04:49,920 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-12-05 23:04:49,920 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-12-05 23:04:49,921 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-12-05 23:04:49,930 INFO L274 PluginConnector]: CodeCheck initialized [2024-12-05 23:04:49,930 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.12 11:04:49" (1/1) ... [2024-12-05 23:04:49,937 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-05 23:04:49,977 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:49,986 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 25 states and 29 transitions. [2024-12-05 23:04:49,987 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 29 transitions. [2024-12-05 23:04:49,991 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-12-05 23:04:49,991 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:49,991 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 23:04:50,081 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:50,176 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 23:04:50,212 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:50,212 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 26 states and 31 transitions. [2024-12-05 23:04:50,212 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 31 transitions. [2024-12-05 23:04:50,213 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-12-05 23:04:50,213 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:50,213 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 23:04:50,234 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:50,310 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 23:04:50,337 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:50,338 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 29 states and 36 transitions. [2024-12-05 23:04:50,338 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 36 transitions. [2024-12-05 23:04:50,338 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-12-05 23:04:50,338 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:50,339 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 23:04:50,354 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:50,399 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 23:04:50,415 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:50,416 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 30 states and 37 transitions. [2024-12-05 23:04:50,416 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 37 transitions. [2024-12-05 23:04:50,416 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-12-05 23:04:50,416 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:50,416 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 23:04:50,428 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:50,488 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-12-05 23:04:50,498 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:50,499 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 31 states and 38 transitions. [2024-12-05 23:04:50,499 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 38 transitions. [2024-12-05 23:04:50,499 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-12-05 23:04:50,499 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:50,500 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 23:04:50,511 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 23:04:50,511 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-05 23:04:50,520 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 23:04:50,563 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 23:04:50,563 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-05 23:04:50,576 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 23:04:50,588 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-12-05 23:04:50,613 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 05.12 11:04:50 ImpRootNode [2024-12-05 23:04:50,613 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-12-05 23:04:50,614 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-12-05 23:04:50,614 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-12-05 23:04:50,614 INFO L274 PluginConnector]: Witness Printer initialized [2024-12-05 23:04:50,615 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.12 11:04:49" (3/4) ... [2024-12-05 23:04:50,616 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-12-05 23:04:50,617 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-12-05 23:04:50,618 INFO L158 Benchmark]: Toolchain (without parser) took 1907.59ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 74.8MB in the end (delta: 14.7MB). Peak memory consumption was 17.1MB. Max. memory is 16.1GB. [2024-12-05 23:04:50,618 INFO L158 Benchmark]: CDTParser took 0.29ms. Allocated memory is still 117.4MB. Free memory is still 73.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 23:04:50,618 INFO L158 Benchmark]: CACSL2BoogieTranslator took 829.73ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 82.3MB in the end (delta: 7.2MB). Peak memory consumption was 66.4MB. Max. memory is 16.1GB. [2024-12-05 23:04:50,619 INFO L158 Benchmark]: Boogie Procedure Inliner took 36.51ms. Allocated memory is still 117.4MB. Free memory was 82.3MB in the beginning and 80.0MB in the end (delta: 2.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-05 23:04:50,619 INFO L158 Benchmark]: Boogie Preprocessor took 20.92ms. Allocated memory is still 117.4MB. Free memory was 80.0MB in the beginning and 78.8MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 23:04:50,620 INFO L158 Benchmark]: RCFGBuilder took 320.20ms. Allocated memory is still 117.4MB. Free memory was 78.8MB in the beginning and 63.3MB in the end (delta: 15.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-12-05 23:04:50,620 INFO L158 Benchmark]: CodeCheck took 692.96ms. Allocated memory is still 117.4MB. Free memory was 63.3MB in the beginning and 74.8MB in the end (delta: -11.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 23:04:50,620 INFO L158 Benchmark]: Witness Printer took 2.95ms. Allocated memory is still 117.4MB. Free memory was 74.8MB in the beginning and 74.8MB in the end (delta: 13.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 23:04:50,623 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, 25 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 0.6s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 112 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 18 mSDsluCounter, 72 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 14 mSDsCounter, 21 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 77 IncrementalHoareTripleChecker+Invalid, 98 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 21 mSolverCounterUnsat, 58 mSDtfsCounter, 77 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 282 GetRequests, 278 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.3s InterpolantComputationTime, 52 NumberOfCodeBlocks, 52 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 35 ConstructedInterpolants, 0 QuantifiedInterpolants, 65 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 2/2 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1579] RET 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] [L1580] CALL CWE191_Integer_Underflow__int_fgets_predec_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1553] i++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND TRUE j < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1570] --data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.29ms. Allocated memory is still 117.4MB. Free memory is still 73.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 829.73ms. Allocated memory is still 117.4MB. Free memory was 89.5MB in the beginning and 82.3MB in the end (delta: 7.2MB). Peak memory consumption was 66.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 36.51ms. Allocated memory is still 117.4MB. Free memory was 82.3MB in the beginning and 80.0MB in the end (delta: 2.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 20.92ms. Allocated memory is still 117.4MB. Free memory was 80.0MB in the beginning and 78.8MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 320.20ms. Allocated memory is still 117.4MB. Free memory was 78.8MB in the beginning and 63.3MB in the end (delta: 15.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 692.96ms. Allocated memory is still 117.4MB. Free memory was 63.3MB in the beginning and 74.8MB in the end (delta: -11.5MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 2.95ms. Allocated memory is still 117.4MB. Free memory was 74.8MB in the beginning and 74.8MB in the end (delta: 13.7kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-12-05 23:04:50,639 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/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/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b --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 496f243e476a2c20c1a2a5d13155c2e407caf5a68259c23220c11115d8b12039 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-12-05 23:04:52,567 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-05 23:04:52,642 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-12-05 23:04:52,667 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-05 23:04:52,668 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-12-05 23:04:52,668 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-12-05 23:04:52,668 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-05 23:04:52,668 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-05 23:04:52,668 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-12-05 23:04:52,669 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-12-05 23:04:52,670 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-05 23:04:52,670 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-05 23:04:52,670 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-12-05 23:04:52,670 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-12-05 23:04:52,670 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-12-05 23:04:52,670 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-12-05 23:04:52,670 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-12-05 23:04:52,670 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-05 23:04:52,670 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-05 23:04:52,670 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-05 23:04:52,670 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-05 23:04:52,671 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-12-05 23:04:52,671 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-12-05 23:04:52,671 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-12-05 23:04:52,671 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-12-05 23:04:52,671 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b 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 -> 496f243e476a2c20c1a2a5d13155c2e407caf5a68259c23220c11115d8b12039 [2024-12-05 23:04:52,900 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-05 23:04:52,907 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-05 23:04:52,909 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-05 23:04:52,910 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-05 23:04:52,910 INFO L274 PluginConnector]: CDTParser initialized [2024-12-05 23:04:52,912 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i [2024-12-05 23:04:55,540 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data/90a40cc19/c79f4cde525146cf9b04e67d49ea734c/FLAG56f113c37 [2024-12-05 23:04:55,847 INFO L384 CDTParser]: Found 1 translation units. [2024-12-05 23:04:55,848 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i [2024-12-05 23:04:55,866 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data/90a40cc19/c79f4cde525146cf9b04e67d49ea734c/FLAG56f113c37 [2024-12-05 23:04:56,122 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/data/90a40cc19/c79f4cde525146cf9b04e67d49ea734c [2024-12-05 23:04:56,123 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-05 23:04:56,124 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-05 23:04:56,126 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-05 23:04:56,126 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-05 23:04:56,130 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-05 23:04:56,131 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:56,131 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@64e41bbf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56, skipping insertion in model container [2024-12-05 23:04:56,132 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:56,167 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-05 23:04:56,790 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-05 23:04:56,799 INFO L200 MainTranslator]: Completed pre-run [2024-12-05 23:04:56,889 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-05 23:04:56,992 INFO L204 MainTranslator]: Completed translation [2024-12-05 23:04:56,993 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56 WrapperNode [2024-12-05 23:04:56,993 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-05 23:04:56,994 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-05 23:04:56,994 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-05 23:04:56,994 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-05 23:04:56,999 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,015 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,034 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 80 [2024-12-05 23:04:57,034 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-05 23:04:57,035 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-05 23:04:57,035 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-05 23:04:57,035 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-05 23:04:57,041 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,041 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,045 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,045 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,051 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,052 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,054 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,055 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,056 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,058 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-05 23:04:57,059 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-05 23:04:57,059 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-05 23:04:57,059 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-05 23:04:57,060 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 11:04:56" (1/1) ... [2024-12-05 23:04:57,063 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-05 23:04:57,072 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/z3 [2024-12-05 23:04:57,080 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-12-05 23:04:57,082 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-12-05 23:04:57,099 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-12-05 23:04:57,100 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-12-05 23:04:57,100 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-12-05 23:04:57,100 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-05 23:04:57,100 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-05 23:04:57,100 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-05 23:04:57,216 INFO L234 CfgBuilder]: Building ICFG [2024-12-05 23:04:57,218 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-05 23:04:57,347 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-12-05 23:04:57,348 INFO L283 CfgBuilder]: Performing block encoding [2024-12-05 23:04:57,387 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-12-05 23:04:57,387 INFO L312 CfgBuilder]: Removed 2 assume(true) statements. [2024-12-05 23:04:57,387 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.12 11:04:57 BoogieIcfgContainer [2024-12-05 23:04:57,387 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-12-05 23:04:57,388 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-12-05 23:04:57,388 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-12-05 23:04:57,396 INFO L274 PluginConnector]: CodeCheck initialized [2024-12-05 23:04:57,396 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.12 11:04:57" (1/1) ... [2024-12-05 23:04:57,402 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-05 23:04:57,432 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:57,438 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 25 states and 29 transitions. [2024-12-05 23:04:57,439 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 29 transitions. [2024-12-05 23:04:57,441 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-12-05 23:04:57,441 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:57,442 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-12-05 23:04:57,442 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 [2024-12-05 23:04:57,444 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-12-05 23:04:57,446 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-12-05 23:04:57,581 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:57,583 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-12-05 23:04:57,604 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:57,606 INFO L256 TraceCheckSpWp]: Trace formula consists of 35 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-12-05 23:04:57,609 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-12-05 23:04:57,641 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 23:04:57,645 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-12-05 23:04:57,689 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:57,689 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 28 states and 36 transitions. [2024-12-05 23:04:57,689 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 36 transitions. [2024-12-05 23:04:57,690 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-12-05 23:04:57,690 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:57,690 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-12-05 23:04:57,690 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 [2024-12-05 23:04:57,692 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-12-05 23:04:57,694 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-12-05 23:04:57,777 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:57,778 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-12-05 23:04:57,793 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:57,794 INFO L256 TraceCheckSpWp]: Trace formula consists of 36 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-12-05 23:04:57,795 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-12-05 23:04:57,797 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 23:04:57,799 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-12-05 23:04:57,808 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:57,809 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 27 states and 35 transitions. [2024-12-05 23:04:57,809 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 35 transitions. [2024-12-05 23:04:57,809 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-12-05 23:04:57,809 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:57,810 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-12-05 23:04:57,810 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 [2024-12-05 23:04:57,811 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-12-05 23:04:57,813 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-12-05 23:04:57,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:57,887 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-12-05 23:04:57,902 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:57,903 INFO L256 TraceCheckSpWp]: Trace formula consists of 36 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-12-05 23:04:57,903 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-12-05 23:04:57,905 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 23:04:57,907 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2024-12-05 23:04:57,911 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:57,912 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 26 states and 34 transitions. [2024-12-05 23:04:57,912 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 34 transitions. [2024-12-05 23:04:57,912 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-12-05 23:04:57,912 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:57,913 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-12-05 23:04:57,913 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 [2024-12-05 23:04:57,915 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-12-05 23:04:57,916 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-12-05 23:04:57,997 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:57,997 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-12-05 23:04:58,017 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:58,018 INFO L256 TraceCheckSpWp]: Trace formula consists of 39 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-12-05 23:04:58,018 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-12-05 23:04:58,020 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 23:04:58,022 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-12-05 23:04:58,026 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:58,027 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 25 states and 33 transitions. [2024-12-05 23:04:58,027 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 33 transitions. [2024-12-05 23:04:58,027 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-12-05 23:04:58,027 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:58,028 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-12-05 23:04:58,028 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 [2024-12-05 23:04:58,029 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-12-05 23:04:58,032 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-12-05 23:04:58,125 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:58,125 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-12-05 23:04:58,142 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:58,142 INFO L256 TraceCheckSpWp]: Trace formula consists of 37 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-12-05 23:04:58,144 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-12-05 23:04:58,181 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 23:04:58,183 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2024-12-05 23:04:58,290 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:58,291 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 30 states and 43 transitions. [2024-12-05 23:04:58,291 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 43 transitions. [2024-12-05 23:04:58,292 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-12-05 23:04:58,292 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:58,292 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-12-05 23:04:58,292 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 [2024-12-05 23:04:58,294 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-12-05 23:04:58,300 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-12-05 23:04:58,399 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:58,399 ERROR L568 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-12-05 23:04:58,417 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 23:04:58,418 INFO L256 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-12-05 23:04:58,419 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-12-05 23:04:58,435 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-12-05 23:04:58,437 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (7)] Ended with exit code 0 [2024-12-05 23:04:58,448 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 23:04:58,449 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 31 states and 44 transitions. [2024-12-05 23:04:58,449 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 44 transitions. [2024-12-05 23:04:58,450 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-12-05 23:04:58,450 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 23:04:58,450 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-12-05 23:04:58,450 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 [2024-12-05 23:04:58,452 INFO L229 MonitoredProcess]: Starting monitored process 8 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-12-05 23:04:58,453 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (8)] Waiting until timeout for monitored process [2024-12-05 23:04:58,550 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 23:04:58,551 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-05 23:04:58,583 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 23:04:58,624 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 23:04:58,624 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-05 23:04:58,636 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 23:04:58,652 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/cvc4 --incremental --print-success --lang smt (8)] Ended with exit code 0 [2024-12-05 23:04:58,652 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 7 iterations. [2024-12-05 23:04:58,677 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 05.12 11:04:58 ImpRootNode [2024-12-05 23:04:58,677 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-12-05 23:04:58,678 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-12-05 23:04:58,678 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-12-05 23:04:58,678 INFO L274 PluginConnector]: Witness Printer initialized [2024-12-05 23:04:58,678 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.12 11:04:57" (3/4) ... [2024-12-05 23:04:58,680 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-12-05 23:04:58,681 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-12-05 23:04:58,682 INFO L158 Benchmark]: Toolchain (without parser) took 2557.59ms. Allocated memory was 92.3MB in the beginning and 142.6MB in the end (delta: 50.3MB). Free memory was 66.4MB in the beginning and 93.6MB in the end (delta: -27.2MB). Peak memory consumption was 28.8MB. Max. memory is 16.1GB. [2024-12-05 23:04:58,682 INFO L158 Benchmark]: CDTParser took 0.29ms. Allocated memory is still 83.9MB. Free memory is still 48.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 23:04:58,683 INFO L158 Benchmark]: CACSL2BoogieTranslator took 867.71ms. Allocated memory is still 92.3MB. Free memory was 66.2MB in the beginning and 60.0MB in the end (delta: 6.2MB). Peak memory consumption was 47.5MB. Max. memory is 16.1GB. [2024-12-05 23:04:58,683 INFO L158 Benchmark]: Boogie Procedure Inliner took 40.77ms. Allocated memory is still 92.3MB. Free memory was 60.0MB in the beginning and 57.3MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 23:04:58,683 INFO L158 Benchmark]: Boogie Preprocessor took 23.48ms. Allocated memory is still 92.3MB. Free memory was 57.3MB in the beginning and 55.6MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 23:04:58,684 INFO L158 Benchmark]: RCFGBuilder took 328.74ms. Allocated memory is still 92.3MB. Free memory was 55.6MB in the beginning and 37.9MB in the end (delta: 17.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-12-05 23:04:58,684 INFO L158 Benchmark]: CodeCheck took 1288.95ms. Allocated memory was 92.3MB in the beginning and 142.6MB in the end (delta: 50.3MB). Free memory was 37.9MB in the beginning and 93.6MB in the end (delta: -55.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 23:04:58,684 INFO L158 Benchmark]: Witness Printer took 3.71ms. Allocated memory is still 142.6MB. Free memory was 93.6MB in the beginning and 93.6MB in the end (delta: 18.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 23:04:58,686 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, 25 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.2s, OverallIterations: 7, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 214 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 38 mSDsluCounter, 129 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 46 mSDsCounter, 24 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 139 IncrementalHoareTripleChecker+Invalid, 163 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 24 mSolverCounterUnsat, 83 mSDtfsCounter, 139 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 473 GetRequests, 463 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 72 NumberOfCodeBlocks, 72 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 53 ConstructedInterpolants, 0 QuantifiedInterpolants, 81 SizeOfPredicates, 0 NumberOfNonLiveVariables, 226 ConjunctsInSsa, 11 ConjunctsInUnsatCore, 6 InterpolantComputations, 6 PerfectInterpolantSequences, 2/2 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available - UnprovableResult [Line: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1579] RET 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] [L1580] CALL CWE191_Integer_Underflow__int_fgets_predec_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1553] i++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND TRUE j < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1570] --data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.29ms. Allocated memory is still 83.9MB. Free memory is still 48.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 867.71ms. Allocated memory is still 92.3MB. Free memory was 66.2MB in the beginning and 60.0MB in the end (delta: 6.2MB). Peak memory consumption was 47.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 40.77ms. Allocated memory is still 92.3MB. Free memory was 60.0MB in the beginning and 57.3MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 23.48ms. Allocated memory is still 92.3MB. Free memory was 57.3MB in the beginning and 55.6MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 328.74ms. Allocated memory is still 92.3MB. Free memory was 55.6MB in the beginning and 37.9MB in the end (delta: 17.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * CodeCheck took 1288.95ms. Allocated memory was 92.3MB in the beginning and 142.6MB in the end (delta: 50.3MB). Free memory was 37.9MB in the beginning and 93.6MB in the end (delta: -55.7MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 3.71ms. Allocated memory is still 142.6MB. Free memory was 93.6MB in the beginning and 93.6MB in the end (delta: 18.4kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-12-05 23:04:58,704 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_2a9e093c-f94f-4ade-80fd-50a4ea919a09/bin/ukojak-verify-CZk0znPC7b/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