./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 a0165632 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/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_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/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_d04be65f-e614-4847-bcb3-aa786f3c6526/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_d04be65f-e614-4847-bcb3-aa786f3c6526/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 496f243e476a2c20c1a2a5d13155c2e407caf5a68259c23220c11115d8b12039 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:21:18,376 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:21:18,469 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 23:21:18,475 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 23:21:18,476 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 23:21:18,508 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:21:18,509 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:21:18,510 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:21:18,511 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:21:18,512 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:21:18,514 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:21:18,514 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:21:18,515 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 23:21:18,515 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:21:18,515 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:21:18,515 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:21:18,516 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:21:18,516 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:21:18,520 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:21:18,521 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:21:18,521 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:21:18,521 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:21:18,522 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:21:18,522 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:21:18,522 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:21:18,522 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:21:18,523 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:21:18,523 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:21:18,523 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:21:18,523 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:21:18,524 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 23:21:18,524 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 23:21:18,524 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_d04be65f-e614-4847-bcb3-aa786f3c6526/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_d04be65f-e614-4847-bcb3-aa786f3c6526/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 -> 496f243e476a2c20c1a2a5d13155c2e407caf5a68259c23220c11115d8b12039 [2024-11-08 23:21:18,839 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:21:18,873 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:21:18,876 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:21:18,878 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:21:18,879 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:21:18,880 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i Unable to find full path for "g++" [2024-11-08 23:21:20,846 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 23:21:21,289 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:21:21,291 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i [2024-11-08 23:21:21,324 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/data/f5134db27/952314df71a445df92b282d485d2dd94/FLAGd343d395b [2024-11-08 23:21:21,345 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/data/f5134db27/952314df71a445df92b282d485d2dd94 [2024-11-08 23:21:21,348 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:21:21,351 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:21:21,353 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:21:21,353 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:21:21,359 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:21:21,360 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:21:21" (1/1) ... [2024-11-08 23:21:21,362 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3ee0a003 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:21, skipping insertion in model container [2024-11-08 23:21:21,362 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:21:21" (1/1) ... [2024-11-08 23:21:21,438 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:21:22,419 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:21:22,428 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:21:22,502 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:21:22,731 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:21:22,732 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22 WrapperNode [2024-11-08 23:21:22,732 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:21:22,734 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:21:22,734 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:21:22,734 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:21:22,742 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:21:22" (1/1) ... [2024-11-08 23:21:22,780 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:21:22" (1/1) ... [2024-11-08 23:21:22,820 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 87 [2024-11-08 23:21:22,824 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:21:22,824 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:21:22,825 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:21:22,825 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:21:22,835 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22" (1/1) ... [2024-11-08 23:21:22,835 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22" (1/1) ... [2024-11-08 23:21:22,838 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22" (1/1) ... [2024-11-08 23:21:22,838 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22" (1/1) ... [2024-11-08 23:21:22,843 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22" (1/1) ... [2024-11-08 23:21:22,849 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22" (1/1) ... [2024-11-08 23:21:22,851 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22" (1/1) ... [2024-11-08 23:21:22,852 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22" (1/1) ... [2024-11-08 23:21:22,857 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:21:22,858 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:21:22,862 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:21:22,862 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:21:22,863 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:22" (1/1) ... [2024-11-08 23:21:22,878 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:21:22,892 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:21:22,908 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/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:21:22,911 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/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:21:22,947 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:21:22,948 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:21:22,948 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:21:22,948 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:21:22,948 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:21:22,949 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-08 23:21:23,156 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:21:23,158 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:21:23,316 INFO L? ?]: Removed 29 outVars from TransFormulas that were not future-live. [2024-11-08 23:21:23,316 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:21:23,357 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:21:23,357 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:21:23,358 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:21:23 BoogieIcfgContainer [2024-11-08 23:21:23,358 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:21:23,359 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:21:23,359 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:21:23,370 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:21:23,370 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:21:23" (1/1) ... [2024-11-08 23:21:23,380 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:21:23,426 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:23,433 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-08 23:21:23,434 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-08 23:21:23,438 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-08 23:21:23,438 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:23,439 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:21:23,589 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:23,840 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:21:23,947 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:23,950 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 35 states and 44 transitions. [2024-11-08 23:21:23,950 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 44 transitions. [2024-11-08 23:21:23,951 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-08 23:21:23,951 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:23,952 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:21:24,000 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:24,120 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:21:24,140 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:24,140 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 36 states and 45 transitions. [2024-11-08 23:21:24,140 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 45 transitions. [2024-11-08 23:21:24,141 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-08 23:21:24,141 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:24,141 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:21:24,163 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:24,289 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:21:24,305 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:24,305 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 38 states and 47 transitions. [2024-11-08 23:21:24,306 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 47 transitions. [2024-11-08 23:21:24,307 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 23:21:24,307 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:24,307 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:21:24,366 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:24,499 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 4 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:21:24,569 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:24,569 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 29 states and 33 transitions. [2024-11-08 23:21:24,569 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 33 transitions. [2024-11-08 23:21:24,570 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 23:21:24,570 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:24,570 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:21:24,608 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:21:24,608 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:21:24,625 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:21:24,713 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:21:24,713 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:21:24,731 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:21:24,756 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-11-08 23:21:24,796 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:21:24 ImpRootNode [2024-11-08 23:21:24,797 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:21:24,797 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:21:24,797 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:21:24,797 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:21:24,798 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:21:23" (3/4) ... [2024-11-08 23:21:24,801 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:21:24,802 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:21:24,804 INFO L158 Benchmark]: Toolchain (without parser) took 3452.24ms. Allocated memory was 142.6MB in the beginning and 205.5MB in the end (delta: 62.9MB). Free memory was 107.6MB in the beginning and 130.0MB in the end (delta: -22.3MB). Peak memory consumption was 39.0MB. Max. memory is 16.1GB. [2024-11-08 23:21:24,804 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 142.6MB. Free memory is still 112.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:21:24,805 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1379.76ms. Allocated memory was 142.6MB in the beginning and 205.5MB in the end (delta: 62.9MB). Free memory was 107.6MB in the beginning and 162.2MB in the end (delta: -54.5MB). Peak memory consumption was 69.6MB. Max. memory is 16.1GB. [2024-11-08 23:21:24,806 INFO L158 Benchmark]: Boogie Procedure Inliner took 90.41ms. Allocated memory is still 205.5MB. Free memory was 162.2MB in the beginning and 159.0MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 23:21:24,807 INFO L158 Benchmark]: Boogie Preprocessor took 33.11ms. Allocated memory is still 205.5MB. Free memory was 159.0MB in the beginning and 158.0MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:21:24,808 INFO L158 Benchmark]: RCFGBuilder took 499.88ms. Allocated memory is still 205.5MB. Free memory was 158.0MB in the beginning and 141.2MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-08 23:21:24,809 INFO L158 Benchmark]: CodeCheck took 1437.66ms. Allocated memory is still 205.5MB. Free memory was 141.2MB in the beginning and 131.0MB in the end (delta: 10.2MB). Peak memory consumption was 9.2MB. Max. memory is 16.1GB. [2024-11-08 23:21:24,810 INFO L158 Benchmark]: Witness Printer took 5.05ms. Allocated memory is still 205.5MB. Free memory was 131.0MB in the beginning and 130.0MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:21:24,816 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, 30 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.4s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 107 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 38 mSDsluCounter, 76 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 24 mSDsCounter, 33 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 115 IncrementalHoareTripleChecker+Invalid, 148 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 33 mSolverCounterUnsat, 52 mSDtfsCounter, 115 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 368 GetRequests, 360 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 67 NumberOfCodeBlocks, 67 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 47 ConstructedInterpolants, 0 QuantifiedInterpolants, 97 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 3 PerfectInterpolantSequences, 6/7 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: 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 large string literal at line 1579, 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 FALSE !(i < 1) 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 TRUE i < 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] [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 FALSE !(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] [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.33ms. Allocated memory is still 142.6MB. Free memory is still 112.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1379.76ms. Allocated memory was 142.6MB in the beginning and 205.5MB in the end (delta: 62.9MB). Free memory was 107.6MB in the beginning and 162.2MB in the end (delta: -54.5MB). Peak memory consumption was 69.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 90.41ms. Allocated memory is still 205.5MB. Free memory was 162.2MB in the beginning and 159.0MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 33.11ms. Allocated memory is still 205.5MB. Free memory was 159.0MB in the beginning and 158.0MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 499.88ms. Allocated memory is still 205.5MB. Free memory was 158.0MB in the beginning and 141.2MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1437.66ms. Allocated memory is still 205.5MB. Free memory was 141.2MB in the beginning and 131.0MB in the end (delta: 10.2MB). Peak memory consumption was 9.2MB. Max. memory is 16.1GB. * Witness Printer took 5.05ms. Allocated memory is still 205.5MB. Free memory was 131.0MB in the beginning and 130.0MB in the end (delta: 1.0MB). 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:21:24,859 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/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 Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/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_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/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_d04be65f-e614-4847-bcb3-aa786f3c6526/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_d04be65f-e614-4847-bcb3-aa786f3c6526/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 496f243e476a2c20c1a2a5d13155c2e407caf5a68259c23220c11115d8b12039 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:21:27,247 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:21:27,337 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 23:21:27,378 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:21:27,379 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:21:27,380 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:21:27,380 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:21:27,381 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:21:27,381 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:21:27,382 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:21:27,382 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:21:27,383 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:21:27,384 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:21:27,388 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:21:27,389 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 23:21:27,389 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 23:21:27,389 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:21:27,390 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:21:27,390 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 23:21:27,391 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:21:27,391 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:21:27,392 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:21:27,395 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:21:27,396 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:21:27,396 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:21:27,396 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:21:27,397 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 23:21:27,397 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:21:27,397 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:21:27,398 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:21:27,398 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:21:27,399 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:21:27,400 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 23:21:27,400 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:21:27,400 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 23:21:27,401 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_d04be65f-e614-4847-bcb3-aa786f3c6526/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_d04be65f-e614-4847-bcb3-aa786f3c6526/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 -> 496f243e476a2c20c1a2a5d13155c2e407caf5a68259c23220c11115d8b12039 [2024-11-08 23:21:27,821 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:21:27,851 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:21:27,854 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:21:27,856 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:21:27,856 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:21:27,858 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i [2024-11-08 23:21:28,568 INFO L533 CDTParser]: Created temporary CDT project at NULL Unable to find full path for "g++" Unable to find full path for "g++" [2024-11-08 23:21:31,382 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:21:31,383 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_17_bad.i [2024-11-08 23:21:31,415 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/data/a7988c6c6/8a73fe32b91349efb08cea5b752f5872/FLAG6594fdd35 [2024-11-08 23:21:31,510 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/data/a7988c6c6/8a73fe32b91349efb08cea5b752f5872 [2024-11-08 23:21:31,514 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:21:31,515 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:21:31,518 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:21:31,518 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:21:31,524 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:21:31,525 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:21:31" (1/1) ... [2024-11-08 23:21:31,526 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7536dac7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:31, skipping insertion in model container [2024-11-08 23:21:31,529 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:21:31" (1/1) ... [2024-11-08 23:21:31,608 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:21:32,641 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:21:32,659 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:21:32,836 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:21:33,024 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:21:33,024 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33 WrapperNode [2024-11-08 23:21:33,024 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:21:33,025 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:21:33,026 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:21:33,026 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:21:33,034 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:21:33" (1/1) ... [2024-11-08 23:21:33,063 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:21:33" (1/1) ... [2024-11-08 23:21:33,096 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 86 [2024-11-08 23:21:33,099 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:21:33,100 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:21:33,101 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:21:33,101 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:21:33,111 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,111 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,118 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,119 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,133 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,140 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,147 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,148 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,152 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:21:33,153 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:21:33,153 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:21:33,153 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:21:33,154 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,159 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:21:33,172 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:21:33,188 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/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:21:33,191 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/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:21:33,221 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:21:33,222 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:21:33,222 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-08 23:21:33,222 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:21:33,223 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:21:33,224 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:21:33,424 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:21:33,426 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:21:33,646 INFO L? ?]: Removed 26 outVars from TransFormulas that were not future-live. [2024-11-08 23:21:33,646 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:21:33,713 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:21:33,714 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:21:33,716 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:21:33 BoogieIcfgContainer [2024-11-08 23:21:33,716 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:21:33,717 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:21:33,717 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:21:33,727 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:21:33,727 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:21:33" (1/1) ... [2024-11-08 23:21:33,738 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:21:33,798 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:33,806 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-08 23:21:33,807 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-08 23:21:33,814 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-08 23:21:33,814 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:33,815 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:21:33,815 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:21:33,818 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:21:33,820 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 23:21:34,000 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:34,025 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:21:34,075 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:34,077 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-08 23:21:34,081 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:21:34,106 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:21:34,108 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2024-11-08 23:21:34,112 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-08 23:21:34,138 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:34,140 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 29 states and 35 transitions. [2024-11-08 23:21:34,140 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 35 transitions. [2024-11-08 23:21:34,141 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-08 23:21:34,141 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:34,142 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:21:34,142 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:21:34,145 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:21:34,147 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-08 23:21:34,291 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:34,292 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:21:34,325 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:34,327 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-08 23:21:34,328 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:21:34,359 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:21:34,366 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-08 23:21:34,401 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:34,403 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 34 states and 46 transitions. [2024-11-08 23:21:34,404 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 46 transitions. [2024-11-08 23:21:34,405 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-08 23:21:34,405 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:34,406 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:21:34,406 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:21:34,409 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:21:34,410 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-08 23:21:34,526 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:34,527 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:21:34,552 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:34,553 INFO L255 TraceCheckSpWp]: Trace formula consists of 39 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-08 23:21:34,554 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:21:34,567 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:21:34,569 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2024-11-08 23:21:34,571 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-08 23:21:34,610 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:34,611 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 34 states and 44 transitions. [2024-11-08 23:21:34,611 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 44 transitions. [2024-11-08 23:21:34,612 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-08 23:21:34,612 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:34,612 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:21:34,612 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:21:34,615 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:21:34,616 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-08 23:21:34,799 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:34,799 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:21:34,846 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:34,848 INFO L255 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-08 23:21:34,850 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:21:34,913 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:21:34,917 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Stream closed [2024-11-08 23:21:34,918 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-08 23:21:35,142 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:35,142 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 55 states to 40 states and 55 transitions. [2024-11-08 23:21:35,143 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 55 transitions. [2024-11-08 23:21:35,144 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-08 23:21:35,144 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:35,145 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:21:35,145 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:21:35,148 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:21:35,149 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-08 23:21:35,311 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:35,311 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:21:35,341 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:21:35,343 INFO L255 TraceCheckSpWp]: Trace formula consists of 64 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-08 23:21:35,345 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:21:35,369 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:21:35,371 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Exception during sending of exit command (exit): Broken pipe [2024-11-08 23:21:35,373 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Forceful destruction successful, exit code 0 [2024-11-08 23:21:35,388 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:21:35,389 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 42 states and 57 transitions. [2024-11-08 23:21:35,389 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 57 transitions. [2024-11-08 23:21:35,390 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 23:21:35,390 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:21:35,390 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:21:35,390 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:21:35,393 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:21:35,395 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-08 23:21:35,574 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:21:35,574 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:21:35,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:21:35,709 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:21:35,710 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:21:35,732 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:21:35,762 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Ended with exit code 0 [2024-11-08 23:21:35,763 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-08 23:21:35,799 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:21:35 ImpRootNode [2024-11-08 23:21:35,799 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:21:35,800 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:21:35,800 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:21:35,801 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:21:35,801 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:21:33" (3/4) ... [2024-11-08 23:21:35,806 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:21:35,807 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:21:35,809 INFO L158 Benchmark]: Toolchain (without parser) took 4293.34ms. Allocated memory was 75.5MB in the beginning and 115.3MB in the end (delta: 39.8MB). Free memory was 47.0MB in the beginning and 72.7MB in the end (delta: -25.7MB). Peak memory consumption was 15.2MB. Max. memory is 16.1GB. [2024-11-08 23:21:35,811 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 75.5MB. Free memory was 51.2MB in the beginning and 51.1MB in the end (delta: 94.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:21:35,812 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1507.14ms. Allocated memory was 75.5MB in the beginning and 92.3MB in the end (delta: 16.8MB). Free memory was 46.9MB in the beginning and 48.4MB in the end (delta: -1.6MB). Peak memory consumption was 29.3MB. Max. memory is 16.1GB. [2024-11-08 23:21:35,814 INFO L158 Benchmark]: Boogie Procedure Inliner took 73.41ms. Allocated memory is still 92.3MB. Free memory was 48.4MB in the beginning and 45.5MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:21:35,815 INFO L158 Benchmark]: Boogie Preprocessor took 52.04ms. Allocated memory is still 92.3MB. Free memory was 45.1MB in the beginning and 43.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:21:35,816 INFO L158 Benchmark]: RCFGBuilder took 563.31ms. Allocated memory is still 92.3MB. Free memory was 43.0MB in the beginning and 48.1MB in the end (delta: -5.1MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2024-11-08 23:21:35,817 INFO L158 Benchmark]: CodeCheck took 2082.83ms. Allocated memory was 92.3MB in the beginning and 115.3MB in the end (delta: 23.1MB). Free memory was 48.1MB in the beginning and 72.7MB in the end (delta: -24.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:21:35,819 INFO L158 Benchmark]: Witness Printer took 7.78ms. Allocated memory is still 115.3MB. Free memory is still 72.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:21:35,823 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, 30 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 2.0s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 216 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 52 mSDsluCounter, 221 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 68 mSDsCounter, 35 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 99 IncrementalHoareTripleChecker+Invalid, 134 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 35 mSolverCounterUnsat, 153 mSDtfsCounter, 99 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 465 GetRequests, 451 SyntacticMatches, 0 SemanticMatches, 14 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 32 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 73 NumberOfCodeBlocks, 73 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 52 ConstructedInterpolants, 0 QuantifiedInterpolants, 92 SizeOfPredicates, 0 NumberOfNonLiveVariables, 250 ConjunctsInSsa, 11 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 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 - 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 large string literal at line 1579, 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 FALSE !(i < 1) 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 TRUE i < 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] [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 FALSE !(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] [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.31ms. Allocated memory is still 75.5MB. Free memory was 51.2MB in the beginning and 51.1MB in the end (delta: 94.5kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1507.14ms. Allocated memory was 75.5MB in the beginning and 92.3MB in the end (delta: 16.8MB). Free memory was 46.9MB in the beginning and 48.4MB in the end (delta: -1.6MB). Peak memory consumption was 29.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 73.41ms. Allocated memory is still 92.3MB. Free memory was 48.4MB in the beginning and 45.5MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 52.04ms. Allocated memory is still 92.3MB. Free memory was 45.1MB in the beginning and 43.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 563.31ms. Allocated memory is still 92.3MB. Free memory was 43.0MB in the beginning and 48.1MB in the end (delta: -5.1MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * CodeCheck took 2082.83ms. Allocated memory was 92.3MB in the beginning and 115.3MB in the end (delta: 23.1MB). Free memory was 48.1MB in the beginning and 72.7MB in the end (delta: -24.7MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 7.78ms. Allocated memory is still 115.3MB. Free memory is still 72.7MB. 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:21:35,864 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d04be65f-e614-4847-bcb3-aa786f3c6526/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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample