./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_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_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/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_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/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_f1573082-4990-4f1f-a9a1-f6aebefae356/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 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 00:15:07,887 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 00:15:07,992 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-09 00:15:07,998 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-09 00:15:08,000 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-09 00:15:08,041 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 00:15:08,042 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 00:15:08,042 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 00:15:08,043 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 00:15:08,046 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 00:15:08,046 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 00:15:08,047 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 00:15:08,047 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-09 00:15:08,047 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 00:15:08,048 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 00:15:08,048 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 00:15:08,048 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 00:15:08,049 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 00:15:08,049 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 00:15:08,049 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 00:15:08,052 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 00:15:08,056 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 00:15:08,057 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 00:15:08,057 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 00:15:08,057 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 00:15:08,057 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 00:15:08,058 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:15:08,058 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 00:15:08,058 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 00:15:08,059 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 00:15:08,059 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-09 00:15:08,059 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-09 00:15:08,059 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_f1573082-4990-4f1f-a9a1-f6aebefae356/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_f1573082-4990-4f1f-a9a1-f6aebefae356/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 -> 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 [2024-11-09 00:15:08,400 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 00:15:08,433 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 00:15:08,436 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 00:15:08,437 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 00:15:08,438 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 00:15:08,440 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i Unable to find full path for "g++" [2024-11-09 00:15:10,571 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 00:15:11,003 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 00:15:11,004 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2024-11-09 00:15:11,033 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/data/8d44e47ad/4178212212a547ffa540068d8acc5da6/FLAG4cff55b9b [2024-11-09 00:15:11,187 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/data/8d44e47ad/4178212212a547ffa540068d8acc5da6 [2024-11-09 00:15:11,190 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 00:15:11,194 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 00:15:11,196 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 00:15:11,196 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 00:15:11,204 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 00:15:11,205 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:15:11" (1/1) ... [2024-11-09 00:15:11,207 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2a10f950 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:11, skipping insertion in model container [2024-11-09 00:15:11,207 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:15:11" (1/1) ... [2024-11-09 00:15:11,303 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 00:15:12,689 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:15:12,708 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 00:15:12,868 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:15:13,035 INFO L204 MainTranslator]: Completed translation [2024-11-09 00:15:13,036 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13 WrapperNode [2024-11-09 00:15:13,036 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 00:15:13,038 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 00:15:13,038 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 00:15:13,038 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 00:15:13,047 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,086 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,125 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 84 [2024-11-09 00:15:13,128 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 00:15:13,129 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 00:15:13,129 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 00:15:13,129 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 00:15:13,141 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,142 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,145 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,149 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,154 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,162 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,167 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,169 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,176 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 00:15:13,177 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 00:15:13,177 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 00:15:13,177 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 00:15:13,182 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,192 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:15:13,208 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 00:15:13,226 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 00:15:13,228 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 00:15:13,269 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 00:15:13,269 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 00:15:13,269 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 00:15:13,269 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 00:15:13,269 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 00:15:13,270 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-09 00:15:13,452 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 00:15:13,456 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 00:15:13,647 INFO L? ?]: Removed 29 outVars from TransFormulas that were not future-live. [2024-11-09 00:15:13,647 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 00:15:13,688 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 00:15:13,688 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 00:15:13,689 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:15:13 BoogieIcfgContainer [2024-11-09 00:15:13,689 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 00:15:13,690 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 00:15:13,690 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 00:15:13,702 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 00:15:13,702 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:15:13" (1/1) ... [2024-11-09 00:15:13,711 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 00:15:13,760 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:13,783 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-09 00:15:13,784 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-09 00:15:13,789 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 00:15:13,790 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:13,790 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:15:13,998 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:14,326 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-09 00:15:14,452 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:14,452 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 35 states and 44 transitions. [2024-11-09 00:15:14,453 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 44 transitions. [2024-11-09 00:15:14,453 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 00:15:14,453 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:14,454 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:15:14,505 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:14,631 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-09 00:15:14,663 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:14,664 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 36 states and 45 transitions. [2024-11-09 00:15:14,664 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 45 transitions. [2024-11-09 00:15:14,665 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-09 00:15:14,665 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:14,665 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:15:14,693 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:14,783 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-09 00:15:14,804 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:14,805 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 38 states and 47 transitions. [2024-11-09 00:15:14,805 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 47 transitions. [2024-11-09 00:15:14,806 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 00:15:14,806 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:14,806 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:15:14,857 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:14,985 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-09 00:15:15,061 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:15,062 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 29 states and 33 transitions. [2024-11-09 00:15:15,062 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 33 transitions. [2024-11-09 00:15:15,063 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 00:15:15,063 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:15,063 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:15:15,089 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:15,181 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 00:15:15,537 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:15,538 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 62 states to 37 states and 45 transitions. [2024-11-09 00:15:15,538 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 45 transitions. [2024-11-09 00:15:15,539 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-09 00:15:15,539 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:15,539 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:15:15,568 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:15:15,569 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:15:15,586 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:15:15,680 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:15:15,681 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:15:15,699 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:15:15,750 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-09 00:15:15,796 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 12:15:15 ImpRootNode [2024-11-09 00:15:15,797 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 00:15:15,798 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 00:15:15,798 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 00:15:15,798 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 00:15:15,799 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:15:13" (3/4) ... [2024-11-09 00:15:15,802 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 00:15:15,804 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 00:15:15,805 INFO L158 Benchmark]: Toolchain (without parser) took 4610.60ms. Allocated memory was 153.1MB in the beginning and 184.5MB in the end (delta: 31.5MB). Free memory was 119.1MB in the beginning and 124.0MB in the end (delta: -4.9MB). Peak memory consumption was 27.6MB. Max. memory is 16.1GB. [2024-11-09 00:15:15,805 INFO L158 Benchmark]: CDTParser took 0.27ms. Allocated memory is still 115.3MB. Free memory is still 84.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:15:15,806 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1840.83ms. Allocated memory is still 153.1MB. Free memory was 119.1MB in the beginning and 66.6MB in the end (delta: 52.6MB). Peak memory consumption was 52.4MB. Max. memory is 16.1GB. [2024-11-09 00:15:15,807 INFO L158 Benchmark]: Boogie Procedure Inliner took 90.46ms. Allocated memory is still 153.1MB. Free memory was 66.6MB in the beginning and 63.5MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:15:15,808 INFO L158 Benchmark]: Boogie Preprocessor took 47.63ms. Allocated memory is still 153.1MB. Free memory was 63.5MB in the beginning and 62.4MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:15:15,809 INFO L158 Benchmark]: RCFGBuilder took 512.07ms. Allocated memory is still 153.1MB. Free memory was 61.4MB in the beginning and 45.6MB in the end (delta: 15.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-09 00:15:15,810 INFO L158 Benchmark]: CodeCheck took 2107.11ms. Allocated memory was 153.1MB in the beginning and 184.5MB in the end (delta: 31.5MB). Free memory was 45.6MB in the beginning and 125.1MB in the end (delta: -79.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:15:15,812 INFO L158 Benchmark]: Witness Printer took 6.42ms. Allocated memory is still 184.5MB. Free memory was 125.1MB in the beginning and 124.0MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:15:15,817 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, 149 SdHoareTripleChecker+Valid, 0.6s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 60 mSDsluCounter, 119 SdHoareTripleChecker+Invalid, 0.4s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 42 mSDsCounter, 50 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 174 IncrementalHoareTripleChecker+Invalid, 224 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 50 mSolverCounterUnsat, 77 mSDtfsCounter, 174 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 499 GetRequests, 477 SyntacticMatches, 0 SemanticMatches, 22 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 118 ImplicationChecksByTransitivity, 0.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.8s InterpolantComputationTime, 84 NumberOfCodeBlocks, 84 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 62 ConstructedInterpolants, 0 QuantifiedInterpolants, 144 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 4 PerfectInterpolantSequences, 7/8 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 1578, 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); [L1578] 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) [L1578] 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] [L1579] CALL CWE190_Integer_Overflow__int_fgets_add_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=2147483647, 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=2147483647, 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=2147483647, 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=2147483647, 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=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1570] data + 1 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.27ms. Allocated memory is still 115.3MB. Free memory is still 84.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1840.83ms. Allocated memory is still 153.1MB. Free memory was 119.1MB in the beginning and 66.6MB in the end (delta: 52.6MB). Peak memory consumption was 52.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 90.46ms. Allocated memory is still 153.1MB. Free memory was 66.6MB in the beginning and 63.5MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 47.63ms. Allocated memory is still 153.1MB. Free memory was 63.5MB in the beginning and 62.4MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 512.07ms. Allocated memory is still 153.1MB. Free memory was 61.4MB in the beginning and 45.6MB in the end (delta: 15.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 2107.11ms. Allocated memory was 153.1MB in the beginning and 184.5MB in the end (delta: 31.5MB). Free memory was 45.6MB in the beginning and 125.1MB in the end (delta: -79.5MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.42ms. Allocated memory is still 184.5MB. Free memory was 125.1MB in the beginning and 124.0MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-09 00:15:15,866 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/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-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/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_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/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_f1573082-4990-4f1f-a9a1-f6aebefae356/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 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 00:15:18,579 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 00:15:18,707 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-09 00:15:18,758 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 00:15:18,759 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 00:15:18,760 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 00:15:18,761 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 00:15:18,761 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 00:15:18,762 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 00:15:18,763 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 00:15:18,764 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 00:15:18,764 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 00:15:18,764 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 00:15:18,767 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 00:15:18,768 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-09 00:15:18,768 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-09 00:15:18,768 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 00:15:18,769 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 00:15:18,769 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-09 00:15:18,769 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 00:15:18,769 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 00:15:18,774 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 00:15:18,774 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 00:15:18,774 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 00:15:18,775 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 00:15:18,775 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 00:15:18,775 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-09 00:15:18,775 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 00:15:18,776 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:15:18,776 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 00:15:18,776 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 00:15:18,777 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 00:15:18,777 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-09 00:15:18,777 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 00:15:18,778 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-09 00:15:18,779 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_f1573082-4990-4f1f-a9a1-f6aebefae356/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_f1573082-4990-4f1f-a9a1-f6aebefae356/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 -> 9714151ba458e9137d8fc02a6bfb7ca4fc5e33e4031f29c46780e222f60d6f78 [2024-11-09 00:15:19,261 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 00:15:19,295 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 00:15:19,298 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 00:15:19,300 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 00:15:19,302 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 00:15:19,304 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i Unable to find full path for "g++" [2024-11-09 00:15:21,419 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 00:15:21,875 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 00:15:21,876 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_17_bad.i [2024-11-09 00:15:21,903 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/data/5c76b3edd/1159b5b45dbd465bb06541b796213a8d/FLAGe96883600 [2024-11-09 00:15:22,011 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/data/5c76b3edd/1159b5b45dbd465bb06541b796213a8d [2024-11-09 00:15:22,015 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 00:15:22,017 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 00:15:22,019 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 00:15:22,019 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 00:15:22,027 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 00:15:22,028 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:15:22" (1/1) ... [2024-11-09 00:15:22,030 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@311db21f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:22, skipping insertion in model container [2024-11-09 00:15:22,030 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:15:22" (1/1) ... [2024-11-09 00:15:22,149 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 00:15:23,586 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:15:23,604 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 00:15:23,770 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:15:23,943 INFO L204 MainTranslator]: Completed translation [2024-11-09 00:15:23,944 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23 WrapperNode [2024-11-09 00:15:23,944 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 00:15:23,945 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 00:15:23,946 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 00:15:23,946 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 00:15:23,955 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:23,985 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,011 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 83 [2024-11-09 00:15:24,012 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 00:15:24,013 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 00:15:24,013 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 00:15:24,013 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 00:15:24,023 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,024 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,028 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,028 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,044 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,048 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,050 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,052 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,057 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 00:15:24,058 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 00:15:24,058 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 00:15:24,058 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 00:15:24,059 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:15:23" (1/1) ... [2024-11-09 00:15:24,066 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:15:24,079 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 00:15:24,093 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 00:15:24,096 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 00:15:24,125 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 00:15:24,125 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 00:15:24,125 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-09 00:15:24,125 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 00:15:24,125 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 00:15:24,126 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 00:15:24,306 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 00:15:24,309 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 00:15:24,573 INFO L? ?]: Removed 26 outVars from TransFormulas that were not future-live. [2024-11-09 00:15:24,573 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 00:15:24,650 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 00:15:24,651 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 00:15:24,651 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:15:24 BoogieIcfgContainer [2024-11-09 00:15:24,652 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 00:15:24,654 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 00:15:24,654 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 00:15:24,667 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 00:15:24,667 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:15:24" (1/1) ... [2024-11-09 00:15:24,680 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 00:15:24,762 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:24,771 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-09 00:15:24,772 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-09 00:15:24,779 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 00:15:24,779 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:24,780 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:15:24,781 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:15:24,784 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:15:24,788 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-09 00:15:25,015 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:25,020 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:15:25,083 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:25,086 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-09 00:15:25,092 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:15:25,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-09 00:15:25,124 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-09 00:15:25,151 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:25,154 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 29 states and 35 transitions. [2024-11-09 00:15:25,156 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 35 transitions. [2024-11-09 00:15:25,157 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 00:15:25,157 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:25,157 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:15:25,157 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:15:25,160 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:15:25,162 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-09 00:15:25,300 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:25,300 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:15:25,330 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:25,331 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-09 00:15:25,333 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:15:25,339 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-09 00:15:25,341 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 00:15:25,343 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-09 00:15:25,350 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:25,352 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 28 states and 34 transitions. [2024-11-09 00:15:25,352 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 34 transitions. [2024-11-09 00:15:25,353 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 00:15:25,354 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:25,354 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:15:25,355 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:15:25,358 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:15:25,359 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-09 00:15:25,550 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:25,551 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:15:25,607 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:25,609 INFO L255 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-09 00:15:25,612 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:15:25,695 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-09 00:15:25,699 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2024-11-09 00:15:25,825 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:25,827 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 34 states and 43 transitions. [2024-11-09 00:15:25,828 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 43 transitions. [2024-11-09 00:15:25,829 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-09 00:15:25,829 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:25,830 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:15:25,830 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:15:25,833 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:15:25,835 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-09 00:15:26,042 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:26,043 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:15:26,095 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:26,097 INFO L255 TraceCheckSpWp]: Trace formula consists of 64 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-09 00:15:26,099 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:15:26,147 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-09 00:15:26,150 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 00:15:26,153 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-09 00:15:26,179 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:26,180 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 36 states and 45 transitions. [2024-11-09 00:15:26,180 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 45 transitions. [2024-11-09 00:15:26,182 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-09 00:15:26,183 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:26,183 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:15:26,184 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:15:26,187 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:15:26,189 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-09 00:15:26,399 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:26,400 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:15:26,444 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:15:26,446 INFO L255 TraceCheckSpWp]: Trace formula consists of 78 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-11-09 00:15:26,448 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:15:26,490 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 5 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 00:15:26,493 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 00:15:26,497 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2024-11-09 00:15:26,576 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:15:26,577 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 28 states and 32 transitions. [2024-11-09 00:15:26,577 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 32 transitions. [2024-11-09 00:15:26,578 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-09 00:15:26,578 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:15:26,579 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:15:26,579 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:15:26,582 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:15:26,584 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-09 00:15:26,804 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:15:26,805 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:15:26,931 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:15:27,014 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:15:27,014 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:15:27,035 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:15:27,066 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Forceful destruction successful, exit code 0 [2024-11-09 00:15:27,067 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-09 00:15:27,135 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 12:15:27 ImpRootNode [2024-11-09 00:15:27,136 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 00:15:27,137 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 00:15:27,137 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 00:15:27,137 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 00:15:27,138 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:15:24" (3/4) ... [2024-11-09 00:15:27,141 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 00:15:27,145 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 00:15:27,146 INFO L158 Benchmark]: Toolchain (without parser) took 5129.49ms. Allocated memory was 69.2MB in the beginning and 117.4MB in the end (delta: 48.2MB). Free memory was 41.7MB in the beginning and 70.5MB in the end (delta: -28.8MB). Peak memory consumption was 19.9MB. Max. memory is 16.1GB. [2024-11-09 00:15:27,147 INFO L158 Benchmark]: CDTParser took 0.40ms. Allocated memory is still 69.2MB. Free memory was 44.8MB in the beginning and 44.7MB in the end (delta: 101.1kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:15:27,148 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1925.76ms. Allocated memory was 69.2MB in the beginning and 96.5MB in the end (delta: 27.3MB). Free memory was 41.4MB in the beginning and 68.3MB in the end (delta: -26.9MB). Peak memory consumption was 34.1MB. Max. memory is 16.1GB. [2024-11-09 00:15:27,148 INFO L158 Benchmark]: Boogie Procedure Inliner took 67.00ms. Allocated memory is still 96.5MB. Free memory was 67.8MB in the beginning and 64.8MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:15:27,149 INFO L158 Benchmark]: Boogie Preprocessor took 44.07ms. Allocated memory is still 96.5MB. Free memory was 64.8MB in the beginning and 62.8MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:15:27,149 INFO L158 Benchmark]: RCFGBuilder took 594.14ms. Allocated memory is still 96.5MB. Free memory was 62.8MB in the beginning and 44.4MB in the end (delta: 18.4MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-11-09 00:15:27,153 INFO L158 Benchmark]: CodeCheck took 2482.39ms. Allocated memory was 96.5MB in the beginning and 117.4MB in the end (delta: 21.0MB). Free memory was 44.4MB in the beginning and 71.5MB in the end (delta: -27.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:15:27,153 INFO L158 Benchmark]: Witness Printer took 8.66ms. Allocated memory is still 117.4MB. Free memory was 71.5MB in the beginning and 70.5MB in the end (delta: 962.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:15:27,158 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.4s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 235 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 32 mSDsluCounter, 153 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 20 mSDsCounter, 24 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 94 IncrementalHoareTripleChecker+Invalid, 118 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 24 mSolverCounterUnsat, 133 mSDtfsCounter, 94 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 495 GetRequests, 487 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.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 80 NumberOfCodeBlocks, 80 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 58 ConstructedInterpolants, 0 QuantifiedInterpolants, 100 SizeOfPredicates, 0 NumberOfNonLiveVariables, 289 ConjunctsInSsa, 12 ConjunctsInUnsatCore, 5 InterpolantComputations, 4 PerfectInterpolantSequences, 7/8 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 1578, 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); [L1578] 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) [L1578] 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] [L1579] CALL CWE190_Integer_Overflow__int_fgets_add_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=2147483647, 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=2147483647, 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=2147483647, 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=2147483647, 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=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1570] data + 1 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.40ms. Allocated memory is still 69.2MB. Free memory was 44.8MB in the beginning and 44.7MB in the end (delta: 101.1kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1925.76ms. Allocated memory was 69.2MB in the beginning and 96.5MB in the end (delta: 27.3MB). Free memory was 41.4MB in the beginning and 68.3MB in the end (delta: -26.9MB). Peak memory consumption was 34.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 67.00ms. Allocated memory is still 96.5MB. Free memory was 67.8MB in the beginning and 64.8MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 44.07ms. Allocated memory is still 96.5MB. Free memory was 64.8MB in the beginning and 62.8MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 594.14ms. Allocated memory is still 96.5MB. Free memory was 62.8MB in the beginning and 44.4MB in the end (delta: 18.4MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 2482.39ms. Allocated memory was 96.5MB in the beginning and 117.4MB in the end (delta: 21.0MB). Free memory was 44.4MB in the beginning and 71.5MB in the end (delta: -27.1MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 8.66ms. Allocated memory is still 117.4MB. Free memory was 71.5MB in the beginning and 70.5MB in the end (delta: 962.7kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-09 00:15:27,200 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f1573082-4990-4f1f-a9a1-f6aebefae356/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