./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk --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 a3201307307e47fa08ad351bb3671e2a16c2d02ed34e995988ac10cf26b5ec0f --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:23:02,138 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:23:02,205 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 23:23:02,210 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 23:23:02,211 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 23:23:02,250 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:23:02,251 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:23:02,253 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:23:02,254 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:23:02,256 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:23:02,257 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:23:02,257 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:23:02,258 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 23:23:02,258 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:23:02,260 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:23:02,261 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:23:02,261 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:23:02,262 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:23:02,262 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:23:02,262 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:23:02,263 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:23:02,268 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:23:02,268 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:23:02,268 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:23:02,269 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:23:02,269 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:23:02,269 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:23:02,269 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:23:02,270 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:23:02,270 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:23:02,271 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 23:23:02,271 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 23:23:02,273 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_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/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_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk 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 -> a3201307307e47fa08ad351bb3671e2a16c2d02ed34e995988ac10cf26b5ec0f [2024-11-08 23:23:02,545 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:23:02,570 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:23:02,573 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:23:02,588 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:23:02,589 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:23:02,590 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i Unable to find full path for "g++" [2024-11-08 23:23:04,647 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 23:23:05,071 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:23:05,074 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i [2024-11-08 23:23:05,100 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/data/b376ccdcd/f11b9fea8e34451b825324e73ca627fa/FLAGcaa41c483 [2024-11-08 23:23:05,121 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/data/b376ccdcd/f11b9fea8e34451b825324e73ca627fa [2024-11-08 23:23:05,124 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:23:05,126 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:23:05,127 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:23:05,128 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:23:05,134 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:23:05,135 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:23:05" (1/1) ... [2024-11-08 23:23:05,136 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5f249fc3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:05, skipping insertion in model container [2024-11-08 23:23:05,137 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:23:05" (1/1) ... [2024-11-08 23:23:05,202 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:23:06,337 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:23:06,350 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:23:06,483 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:23:06,678 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:23:06,679 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06 WrapperNode [2024-11-08 23:23:06,679 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:23:06,680 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:23:06,680 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:23:06,680 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:23:06,688 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,711 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,736 INFO L138 Inliner]: procedures = 498, calls = 31, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 95 [2024-11-08 23:23:06,737 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:23:06,737 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:23:06,738 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:23:06,738 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:23:06,748 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,748 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,755 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,756 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,761 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,764 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,765 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,766 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,769 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:23:06,770 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:23:06,770 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:23:06,770 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:23:06,771 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:06" (1/1) ... [2024-11-08 23:23:06,777 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:23:06,795 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:23:06,825 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 23:23:06,831 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 23:23:06,860 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:23:06,860 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:23:06,860 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:23:06,861 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:23:06,861 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:23:06,861 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-08 23:23:07,015 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:23:07,017 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:23:07,163 INFO L? ?]: Removed 26 outVars from TransFormulas that were not future-live. [2024-11-08 23:23:07,163 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:23:07,229 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:23:07,230 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:23:07,230 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:23:07 BoogieIcfgContainer [2024-11-08 23:23:07,230 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:23:07,231 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:23:07,232 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:23:07,242 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:23:07,243 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:23:07" (1/1) ... [2024-11-08 23:23:07,256 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:23:07,305 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:23:07,310 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 24 states and 32 transitions. [2024-11-08 23:23:07,311 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 32 transitions. [2024-11-08 23:23:07,315 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-08 23:23:07,316 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:23:07,316 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:23:07,462 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:23:07,579 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:23:07,614 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:23:07,615 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 22 states and 27 transitions. [2024-11-08 23:23:07,615 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 27 transitions. [2024-11-08 23:23:07,615 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-08 23:23:07,616 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:23:07,616 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:23:07,663 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:23:07,838 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:23:07,924 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:23:07,925 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 26 states and 33 transitions. [2024-11-08 23:23:07,928 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 33 transitions. [2024-11-08 23:23:07,929 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-08 23:23:07,929 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:23:07,929 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:23:07,984 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:23:07,988 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:23:08,007 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:23:08,120 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:23:08,120 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:23:08,139 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:23:08,167 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-08 23:23:08,209 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:23:08 ImpRootNode [2024-11-08 23:23:08,210 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:23:08,212 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:23:08,213 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:23:08,214 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:23:08,214 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:23:07" (3/4) ... [2024-11-08 23:23:08,217 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:23:08,219 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:23:08,219 INFO L158 Benchmark]: Toolchain (without parser) took 3093.81ms. Allocated memory is still 140.5MB. Free memory was 105.3MB in the beginning and 87.4MB in the end (delta: 17.9MB). Peak memory consumption was 17.6MB. Max. memory is 16.1GB. [2024-11-08 23:23:08,220 INFO L158 Benchmark]: CDTParser took 0.27ms. Allocated memory is still 115.3MB. Free memory was 83.7MB in the beginning and 83.6MB in the end (delta: 29.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:23:08,221 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1551.97ms. Allocated memory is still 140.5MB. Free memory was 104.7MB in the beginning and 96.7MB in the end (delta: 7.9MB). Peak memory consumption was 70.0MB. Max. memory is 16.1GB. [2024-11-08 23:23:08,222 INFO L158 Benchmark]: Boogie Procedure Inliner took 56.97ms. Allocated memory is still 140.5MB. Free memory was 96.7MB in the beginning and 93.8MB in the end (delta: 2.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 23:23:08,223 INFO L158 Benchmark]: Boogie Preprocessor took 31.75ms. Allocated memory is still 140.5MB. Free memory was 93.8MB in the beginning and 91.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:23:08,224 INFO L158 Benchmark]: RCFGBuilder took 460.78ms. Allocated memory is still 140.5MB. Free memory was 91.7MB in the beginning and 76.2MB in the end (delta: 15.5MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 23:23:08,225 INFO L158 Benchmark]: CodeCheck took 979.31ms. Allocated memory is still 140.5MB. Free memory was 76.2MB in the beginning and 87.4MB in the end (delta: -11.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:23:08,226 INFO L158 Benchmark]: Witness Printer took 6.38ms. Allocated memory is still 140.5MB. Free memory is still 87.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:23:08,231 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, 24 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.9s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 69 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 6 mSDsluCounter, 60 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 12 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 14 IncrementalHoareTripleChecker+Invalid, 22 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 48 mSDtfsCounter, 14 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 166 GetRequests, 162 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 33 NumberOfCodeBlocks, 33 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 19 ConstructedInterpolants, 0 QuantifiedInterpolants, 35 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1575]: 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 large string literal at line 1588. 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); [L1588] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={5:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1588] 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] [L1589] CALL CWE190_Integer_Overflow__int_fgets_preinc_15_bad() [L1550] int data; [L1551] data = 0 [L1554] case 6: [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] [L1554] case 6: [L1559] data = atoi(inputBuffer) [L1573] case 7: 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] [L1575] ++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] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.27ms. Allocated memory is still 115.3MB. Free memory was 83.7MB in the beginning and 83.6MB in the end (delta: 29.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1551.97ms. Allocated memory is still 140.5MB. Free memory was 104.7MB in the beginning and 96.7MB in the end (delta: 7.9MB). Peak memory consumption was 70.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 56.97ms. Allocated memory is still 140.5MB. Free memory was 96.7MB in the beginning and 93.8MB in the end (delta: 2.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 31.75ms. Allocated memory is still 140.5MB. Free memory was 93.8MB in the beginning and 91.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 460.78ms. Allocated memory is still 140.5MB. Free memory was 91.7MB in the beginning and 76.2MB in the end (delta: 15.5MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 979.31ms. Allocated memory is still 140.5MB. Free memory was 76.2MB in the beginning and 87.4MB in the end (delta: -11.1MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.38ms. Allocated memory is still 140.5MB. Free memory is still 87.4MB. 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-11-08 23:23:08,264 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk --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 a3201307307e47fa08ad351bb3671e2a16c2d02ed34e995988ac10cf26b5ec0f --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:23:10,726 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:23:10,825 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 23:23:10,865 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:23:10,866 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:23:10,866 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:23:10,868 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:23:10,869 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:23:10,871 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:23:10,872 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:23:10,872 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:23:10,873 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:23:10,873 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:23:10,873 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:23:10,874 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 23:23:10,874 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 23:23:10,875 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:23:10,875 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:23:10,876 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 23:23:10,876 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:23:10,876 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:23:10,877 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:23:10,878 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:23:10,878 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:23:10,879 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:23:10,879 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:23:10,880 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 23:23:10,880 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:23:10,881 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:23:10,881 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:23:10,882 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:23:10,882 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:23:10,882 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 23:23:10,883 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:23:10,883 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 23:23:10,884 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_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/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_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk 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 -> a3201307307e47fa08ad351bb3671e2a16c2d02ed34e995988ac10cf26b5ec0f [2024-11-08 23:23:11,333 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:23:11,365 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:23:11,369 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:23:11,370 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:23:11,372 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:23:11,374 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i Unable to find full path for "g++" [2024-11-08 23:23:13,636 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 23:23:14,067 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:23:14,068 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i [2024-11-08 23:23:14,096 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/data/bac23a649/6c3cda54f2ec46d9915a70a6864f7f9c/FLAG89d6e36f9 [2024-11-08 23:23:14,114 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/data/bac23a649/6c3cda54f2ec46d9915a70a6864f7f9c [2024-11-08 23:23:14,117 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:23:14,118 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:23:14,120 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:23:14,120 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:23:14,125 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:23:14,126 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:23:14" (1/1) ... [2024-11-08 23:23:14,128 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@69763da9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:14, skipping insertion in model container [2024-11-08 23:23:14,128 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:23:14" (1/1) ... [2024-11-08 23:23:14,190 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:23:15,303 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:23:15,326 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:23:15,467 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:23:15,704 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:23:15,705 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15 WrapperNode [2024-11-08 23:23:15,705 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:23:15,707 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:23:15,707 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:23:15,707 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:23:15,718 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,758 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,790 INFO L138 Inliner]: procedures = 503, calls = 31, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 94 [2024-11-08 23:23:15,790 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:23:15,792 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:23:15,793 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:23:15,793 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:23:15,803 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,804 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,810 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,810 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,826 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,828 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,831 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,833 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,840 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:23:15,844 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:23:15,844 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:23:15,844 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:23:15,845 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:23:15" (1/1) ... [2024-11-08 23:23:15,859 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:23:15,869 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:23:15,885 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 23:23:15,887 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 23:23:15,912 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:23:15,912 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:23:15,912 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-08 23:23:15,912 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:23:15,913 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:23:15,913 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:23:16,119 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:23:16,122 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:23:16,376 INFO L? ?]: Removed 25 outVars from TransFormulas that were not future-live. [2024-11-08 23:23:16,376 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:23:16,479 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:23:16,479 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:23:16,479 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:23:16 BoogieIcfgContainer [2024-11-08 23:23:16,480 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:23:16,480 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:23:16,481 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:23:16,492 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:23:16,492 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:23:16" (1/1) ... [2024-11-08 23:23:16,504 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:23:16,573 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:23:16,582 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 24 states and 32 transitions. [2024-11-08 23:23:16,582 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 32 transitions. [2024-11-08 23:23:16,590 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-08 23:23:16,590 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:23:16,590 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:23:16,591 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:23:16,600 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:23:16,602 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 23:23:16,779 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:23:16,783 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:23:16,824 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:23:16,826 INFO L255 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-08 23:23:16,831 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:23:16,859 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:23:16,865 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-08 23:23:16,903 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:23:16,903 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 23 states and 31 transitions. [2024-11-08 23:23:16,903 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 31 transitions. [2024-11-08 23:23:16,904 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-08 23:23:16,904 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:23:16,904 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:23:16,905 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:23:16,909 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:23:16,916 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-08 23:23:17,047 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:23:17,048 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:23:17,080 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:23:17,081 INFO L255 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-08 23:23:17,082 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:23:17,101 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:23:17,106 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-08 23:23:17,142 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:23:17,142 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 21 states and 26 transitions. [2024-11-08 23:23:17,143 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 26 transitions. [2024-11-08 23:23:17,143 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-08 23:23:17,145 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:23:17,146 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:23:17,146 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:23:17,150 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:23:17,151 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-08 23:23:17,336 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:23:17,336 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:23:17,425 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:23:17,544 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:23:17,544 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:23:17,563 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:23:17,597 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-08 23:23:17,599 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2024-11-08 23:23:17,642 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:23:17 ImpRootNode [2024-11-08 23:23:17,642 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:23:17,642 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:23:17,642 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:23:17,643 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:23:17,643 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:23:16" (3/4) ... [2024-11-08 23:23:17,646 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:23:17,647 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:23:17,649 INFO L158 Benchmark]: Toolchain (without parser) took 3529.54ms. Allocated memory was 75.5MB in the beginning and 92.3MB in the end (delta: 16.8MB). Free memory was 47.1MB in the beginning and 56.2MB in the end (delta: -9.2MB). Peak memory consumption was 9.0MB. Max. memory is 16.1GB. [2024-11-08 23:23:17,649 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 75.5MB. Free memory is still 51.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:23:17,651 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1586.13ms. Allocated memory was 75.5MB in the beginning and 92.3MB in the end (delta: 16.8MB). Free memory was 47.1MB in the beginning and 57.8MB in the end (delta: -10.7MB). Peak memory consumption was 29.8MB. Max. memory is 16.1GB. [2024-11-08 23:23:17,652 INFO L158 Benchmark]: Boogie Procedure Inliner took 83.86ms. Allocated memory is still 92.3MB. Free memory was 57.8MB in the beginning and 54.5MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 23:23:17,653 INFO L158 Benchmark]: Boogie Preprocessor took 51.59ms. Allocated memory is still 92.3MB. Free memory was 54.5MB in the beginning and 52.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:23:17,653 INFO L158 Benchmark]: RCFGBuilder took 635.96ms. Allocated memory is still 92.3MB. Free memory was 52.4MB in the beginning and 59.2MB in the end (delta: -6.8MB). Peak memory consumption was 18.1MB. Max. memory is 16.1GB. [2024-11-08 23:23:17,654 INFO L158 Benchmark]: CodeCheck took 1161.31ms. Allocated memory is still 92.3MB. Free memory was 59.2MB in the beginning and 56.2MB in the end (delta: 3.0MB). Peak memory consumption was 3.1MB. Max. memory is 16.1GB. [2024-11-08 23:23:17,654 INFO L158 Benchmark]: Witness Printer took 5.00ms. Allocated memory is still 92.3MB. Free memory is still 56.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:23:17,662 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, 24 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, 69 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 41 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 8 IncrementalHoareTripleChecker+Invalid, 11 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 41 mSDtfsCounter, 8 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 174 GetRequests, 172 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 33 NumberOfCodeBlocks, 33 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 19 ConstructedInterpolants, 0 QuantifiedInterpolants, 19 SizeOfPredicates, 0 NumberOfNonLiveVariables, 87 ConjunctsInSsa, 3 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1575]: 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 large string literal at line 1588. 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); [L1588] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={5:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1588] 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] [L1589] CALL CWE190_Integer_Overflow__int_fgets_preinc_15_bad() [L1550] int data; [L1551] data = 0 [L1554] case 6: [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] [L1554] case 6: [L1559] data = atoi(inputBuffer) [L1573] case 7: 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] [L1575] ++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] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.37ms. Allocated memory is still 75.5MB. Free memory is still 51.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1586.13ms. Allocated memory was 75.5MB in the beginning and 92.3MB in the end (delta: 16.8MB). Free memory was 47.1MB in the beginning and 57.8MB in the end (delta: -10.7MB). Peak memory consumption was 29.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 83.86ms. Allocated memory is still 92.3MB. Free memory was 57.8MB in the beginning and 54.5MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 51.59ms. Allocated memory is still 92.3MB. Free memory was 54.5MB in the beginning and 52.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 635.96ms. Allocated memory is still 92.3MB. Free memory was 52.4MB in the beginning and 59.2MB in the end (delta: -6.8MB). Peak memory consumption was 18.1MB. Max. memory is 16.1GB. * CodeCheck took 1161.31ms. Allocated memory is still 92.3MB. Free memory was 59.2MB in the beginning and 56.2MB in the end (delta: 3.0MB). Peak memory consumption was 3.1MB. Max. memory is 16.1GB. * Witness Printer took 5.00ms. Allocated memory is still 92.3MB. Free memory is still 56.2MB. 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-11-08 23:23:17,710 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_0eb97bdd-606a-4766-bd5c-cd25e5204194/bin/ukojak-verify-ImItNfHLgk/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