./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_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_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/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_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/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_065a83b5-731f-4738-b1ea-acdd459512a3/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 fac754b3a0bcdcb03991b3c373097e5c624db5de2c17e9fa2d2883764f9dbe5b --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 01:00:58,174 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 01:00:58,250 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-09 01:00:58,256 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-09 01:00:58,260 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-09 01:00:58,296 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 01:00:58,297 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 01:00:58,300 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 01:00:58,300 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 01:00:58,301 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 01:00:58,301 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 01:00:58,302 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 01:00:58,302 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-09 01:00:58,303 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 01:00:58,304 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 01:00:58,304 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 01:00:58,305 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 01:00:58,305 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 01:00:58,305 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 01:00:58,306 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 01:00:58,309 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 01:00:58,310 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 01:00:58,310 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 01:00:58,310 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 01:00:58,311 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 01:00:58,311 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 01:00:58,311 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:00:58,311 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 01:00:58,312 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 01:00:58,312 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 01:00:58,312 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-09 01:00:58,312 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-09 01:00:58,313 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_065a83b5-731f-4738-b1ea-acdd459512a3/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_065a83b5-731f-4738-b1ea-acdd459512a3/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 -> fac754b3a0bcdcb03991b3c373097e5c624db5de2c17e9fa2d2883764f9dbe5b [2024-11-09 01:00:58,564 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 01:00:58,586 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 01:00:58,589 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 01:00:58,591 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 01:00:58,592 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 01:00:58,593 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_17_bad.i Unable to find full path for "g++" [2024-11-09 01:01:00,536 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 01:01:00,871 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 01:01:00,876 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_17_bad.i [2024-11-09 01:01:00,912 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/data/377cd9b28/9109e0587cf14f47978c860c3bdabff7/FLAG4c9166d0f [2024-11-09 01:01:00,928 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/data/377cd9b28/9109e0587cf14f47978c860c3bdabff7 [2024-11-09 01:01:00,931 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 01:01:00,935 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 01:01:00,936 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 01:01:00,936 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 01:01:00,943 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 01:01:00,944 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:01:00" (1/1) ... [2024-11-09 01:01:00,945 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4044be0e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:00, skipping insertion in model container [2024-11-09 01:01:00,948 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:01:00" (1/1) ... [2024-11-09 01:01:01,024 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 01:01:02,023 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:01:02,033 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 01:01:02,129 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:01:02,313 INFO L204 MainTranslator]: Completed translation [2024-11-09 01:01:02,313 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02 WrapperNode [2024-11-09 01:01:02,313 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 01:01:02,315 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 01:01:02,315 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 01:01:02,315 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 01:01:02,323 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,360 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,394 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 84 [2024-11-09 01:01:02,395 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 01:01:02,400 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 01:01:02,400 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 01:01:02,400 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 01:01:02,408 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,409 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,412 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,412 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,417 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,421 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,423 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,424 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,427 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 01:01:02,428 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 01:01:02,428 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 01:01:02,428 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 01:01:02,429 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,441 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:01:02,461 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 01:01:02,479 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 01:01:02,486 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 01:01:02,517 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 01:01:02,517 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 01:01:02,517 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 01:01:02,518 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 01:01:02,518 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 01:01:02,518 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-09 01:01:02,730 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 01:01:02,735 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 01:01:02,891 INFO L? ?]: Removed 29 outVars from TransFormulas that were not future-live. [2024-11-09 01:01:02,891 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 01:01:02,935 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 01:01:02,935 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 01:01:02,935 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:01:02 BoogieIcfgContainer [2024-11-09 01:01:02,936 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 01:01:02,937 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 01:01:02,937 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 01:01:02,948 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 01:01:02,948 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:01:02" (1/1) ... [2024-11-09 01:01:02,958 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 01:01:03,013 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:03,019 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-09 01:01:03,020 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-09 01:01:03,025 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 01:01:03,025 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:03,026 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:01:03,185 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:03,425 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 01:01:03,505 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:03,506 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 35 states and 44 transitions. [2024-11-09 01:01:03,506 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 44 transitions. [2024-11-09 01:01:03,507 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 01:01:03,507 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:03,507 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:01:03,539 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:03,643 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 01:01:03,673 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:03,674 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 36 states and 45 transitions. [2024-11-09 01:01:03,674 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 45 transitions. [2024-11-09 01:01:03,674 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-09 01:01:03,674 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:03,675 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:01:03,740 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:03,835 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 01:01:03,847 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:03,847 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 38 states and 47 transitions. [2024-11-09 01:01:03,848 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 47 transitions. [2024-11-09 01:01:03,848 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 01:01:03,848 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:03,849 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:01:03,917 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:04,071 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 01:01:04,153 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:04,154 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 29 states and 33 transitions. [2024-11-09 01:01:04,155 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 33 transitions. [2024-11-09 01:01:04,155 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 01:01:04,155 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:04,155 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 01:01:04,189 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:01:04,189 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:01:04,205 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:01:04,293 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:01:04,293 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:01:04,312 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:01:04,334 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-11-09 01:01:04,378 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 01:01:04 ImpRootNode [2024-11-09 01:01:04,378 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 01:01:04,378 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 01:01:04,379 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 01:01:04,379 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 01:01:04,379 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:01:02" (3/4) ... [2024-11-09 01:01:04,382 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 01:01:04,383 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 01:01:04,385 INFO L158 Benchmark]: Toolchain (without parser) took 3451.71ms. Allocated memory was 161.5MB in the beginning and 203.4MB in the end (delta: 41.9MB). Free memory was 113.8MB in the beginning and 136.7MB in the end (delta: -22.9MB). Peak memory consumption was 20.7MB. Max. memory is 16.1GB. [2024-11-09 01:01:04,385 INFO L158 Benchmark]: CDTParser took 0.29ms. Allocated memory is still 161.5MB. Free memory is still 130.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:01:04,386 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1377.88ms. Allocated memory was 161.5MB in the beginning and 203.4MB in the end (delta: 41.9MB). Free memory was 113.8MB in the beginning and 160.9MB in the end (delta: -47.2MB). Peak memory consumption was 71.6MB. Max. memory is 16.1GB. [2024-11-09 01:01:04,387 INFO L158 Benchmark]: Boogie Procedure Inliner took 84.62ms. Allocated memory is still 203.4MB. Free memory was 160.9MB in the beginning and 158.1MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 01:01:04,388 INFO L158 Benchmark]: Boogie Preprocessor took 27.05ms. Allocated memory is still 203.4MB. Free memory was 158.1MB in the beginning and 157.1MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 01:01:04,388 INFO L158 Benchmark]: RCFGBuilder took 508.18ms. Allocated memory is still 203.4MB. Free memory was 157.1MB in the beginning and 140.3MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-09 01:01:04,389 INFO L158 Benchmark]: CodeCheck took 1441.25ms. Allocated memory is still 203.4MB. Free memory was 140.3MB in the beginning and 136.7MB in the end (delta: 3.6MB). Peak memory consumption was 3.6MB. Max. memory is 16.1GB. [2024-11-09 01:01:04,389 INFO L158 Benchmark]: Witness Printer took 4.76ms. Allocated memory is still 203.4MB. Free memory is still 136.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:01:04,395 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.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 38 mSDsluCounter, 76 SdHoareTripleChecker+Invalid, 0.2s 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 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 CWE191_Integer_Underflow__int_fgets_sub_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 - 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.29ms. Allocated memory is still 161.5MB. Free memory is still 130.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1377.88ms. Allocated memory was 161.5MB in the beginning and 203.4MB in the end (delta: 41.9MB). Free memory was 113.8MB in the beginning and 160.9MB in the end (delta: -47.2MB). Peak memory consumption was 71.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 84.62ms. Allocated memory is still 203.4MB. Free memory was 160.9MB in the beginning and 158.1MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 27.05ms. Allocated memory is still 203.4MB. Free memory was 158.1MB in the beginning and 157.1MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 508.18ms. Allocated memory is still 203.4MB. Free memory was 157.1MB in the beginning and 140.3MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1441.25ms. Allocated memory is still 203.4MB. Free memory was 140.3MB in the beginning and 136.7MB in the end (delta: 3.6MB). Peak memory consumption was 3.6MB. Max. memory is 16.1GB. * Witness Printer took 4.76ms. Allocated memory is still 203.4MB. Free memory is still 136.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-09 01:01:04,436 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/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_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/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_065a83b5-731f-4738-b1ea-acdd459512a3/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 fac754b3a0bcdcb03991b3c373097e5c624db5de2c17e9fa2d2883764f9dbe5b --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 01:01:06,822 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 01:01:06,922 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-09 01:01:06,963 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 01:01:06,963 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 01:01:06,964 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 01:01:06,967 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 01:01:06,967 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 01:01:06,968 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 01:01:06,968 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 01:01:06,968 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 01:01:06,969 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 01:01:06,969 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 01:01:06,970 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 01:01:06,970 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-09 01:01:06,971 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-09 01:01:06,973 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 01:01:06,976 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 01:01:06,976 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-09 01:01:06,976 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 01:01:06,977 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 01:01:06,979 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 01:01:06,979 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 01:01:06,979 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 01:01:06,980 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 01:01:06,980 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 01:01:06,980 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-09 01:01:06,980 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 01:01:06,981 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:01:06,981 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 01:01:06,981 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 01:01:06,982 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 01:01:06,982 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-09 01:01:06,982 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 01:01:06,983 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-09 01:01:06,983 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_065a83b5-731f-4738-b1ea-acdd459512a3/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_065a83b5-731f-4738-b1ea-acdd459512a3/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 -> fac754b3a0bcdcb03991b3c373097e5c624db5de2c17e9fa2d2883764f9dbe5b [2024-11-09 01:01:07,389 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 01:01:07,414 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 01:01:07,417 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 01:01:07,418 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 01:01:07,419 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 01:01:07,421 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_17_bad.i Unable to find full path for "g++" [2024-11-09 01:01:09,539 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 01:01:09,915 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 01:01:09,917 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_17_bad.i [2024-11-09 01:01:09,946 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/data/e59b0782d/1e13c662a31d4a1c9fe8b194b450b65f/FLAG2ac12e481 [2024-11-09 01:01:09,965 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/data/e59b0782d/1e13c662a31d4a1c9fe8b194b450b65f [2024-11-09 01:01:09,968 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 01:01:09,970 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 01:01:09,971 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 01:01:09,973 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 01:01:09,978 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 01:01:09,979 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:01:09" (1/1) ... [2024-11-09 01:01:09,981 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1133c2c3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:09, skipping insertion in model container [2024-11-09 01:01:09,981 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 01:01:09" (1/1) ... [2024-11-09 01:01:10,055 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 01:01:11,102 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:01:11,122 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 01:01:11,228 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 01:01:11,346 INFO L204 MainTranslator]: Completed translation [2024-11-09 01:01:11,347 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11 WrapperNode [2024-11-09 01:01:11,347 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 01:01:11,348 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 01:01:11,348 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 01:01:11,348 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 01:01:11,355 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,384 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,419 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 83 [2024-11-09 01:01:11,420 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 01:01:11,423 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 01:01:11,424 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 01:01:11,424 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 01:01:11,448 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,448 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,455 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,456 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,466 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,473 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,478 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,480 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,483 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 01:01:11,484 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 01:01:11,484 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 01:01:11,484 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 01:01:11,485 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,491 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 01:01:11,504 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 01:01:11,518 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 01:01:11,521 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 01:01:11,544 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 01:01:11,544 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 01:01:11,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-09 01:01:11,544 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 01:01:11,545 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 01:01:11,545 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 01:01:11,688 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 01:01:11,691 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 01:01:11,841 INFO L? ?]: Removed 26 outVars from TransFormulas that were not future-live. [2024-11-09 01:01:11,841 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 01:01:11,902 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 01:01:11,902 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 01:01:11,902 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:01:11 BoogieIcfgContainer [2024-11-09 01:01:11,902 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 01:01:11,903 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 01:01:11,905 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 01:01:11,915 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 01:01:11,915 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:01:11" (1/1) ... [2024-11-09 01:01:11,925 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 01:01:11,988 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:11,995 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 30 states and 36 transitions. [2024-11-09 01:01:11,996 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 36 transitions. [2024-11-09 01:01:12,000 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 01:01:12,000 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:12,001 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:01:12,001 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:01:12,004 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:01:12,005 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-09 01:01:12,206 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:12,209 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:01:12,267 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:12,269 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-09 01:01:12,273 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:01:12,295 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 01:01:12,298 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-09 01:01:12,324 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:12,325 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 29 states and 35 transitions. [2024-11-09 01:01:12,325 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 35 transitions. [2024-11-09 01:01:12,326 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-09 01:01:12,326 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:12,326 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:01:12,327 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:01:12,329 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:01:12,330 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-09 01:01:12,460 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:12,461 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:01:12,480 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:12,481 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-09 01:01:12,483 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:01:12,507 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 01:01:12,509 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 01:01:12,511 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-09 01:01:12,548 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:12,549 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 34 states and 46 transitions. [2024-11-09 01:01:12,549 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 46 transitions. [2024-11-09 01:01:12,550 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 01:01:12,550 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:12,550 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:01:12,550 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:01:12,553 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:01:12,554 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-09 01:01:12,672 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:12,673 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:01:12,701 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:12,703 INFO L255 TraceCheckSpWp]: Trace formula consists of 39 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-09 01:01:12,704 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:01:12,719 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 01:01:12,722 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-09 01:01:12,758 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:12,759 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 34 states and 44 transitions. [2024-11-09 01:01:12,760 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 44 transitions. [2024-11-09 01:01:12,760 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-09 01:01:12,760 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:12,761 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:01:12,761 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:01:12,764 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:01:12,765 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-09 01:01:12,917 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:12,918 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:01:12,965 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:12,967 INFO L255 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-09 01:01:12,968 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:01:13,033 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 01:01:13,035 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 01:01:13,037 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-09 01:01:13,243 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:13,244 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 55 states to 40 states and 55 transitions. [2024-11-09 01:01:13,244 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 55 transitions. [2024-11-09 01:01:13,245 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-09 01:01:13,245 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:13,245 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:01:13,246 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:01:13,248 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:01:13,249 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-09 01:01:13,415 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:13,415 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 01:01:13,457 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 01:01:13,459 INFO L255 TraceCheckSpWp]: Trace formula consists of 64 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-09 01:01:13,460 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 01:01:13,490 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 01:01:13,496 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2024-11-09 01:01:13,520 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 01:01:13,522 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 42 states and 57 transitions. [2024-11-09 01:01:13,522 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 57 transitions. [2024-11-09 01:01:13,523 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-09 01:01:13,524 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 01:01:13,524 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 01:01:13,524 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 01:01:13,527 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 01:01:13,528 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-09 01:01:13,688 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:01:13,688 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:01:13,756 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:01:13,824 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:01:13,824 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 01:01:13,845 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 01:01:13,864 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Exception during sending of exit command (exit): Broken pipe [2024-11-09 01:01:13,872 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (7)] Ended with exit code 0 [2024-11-09 01:01:13,872 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-09 01:01:13,922 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 01:01:13 ImpRootNode [2024-11-09 01:01:13,923 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 01:01:13,923 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 01:01:13,924 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 01:01:13,924 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 01:01:13,924 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 01:01:11" (3/4) ... [2024-11-09 01:01:13,930 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 01:01:13,931 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 01:01:13,932 INFO L158 Benchmark]: Toolchain (without parser) took 3961.36ms. Allocated memory was 67.1MB in the beginning and 104.9MB in the end (delta: 37.7MB). Free memory was 35.2MB in the beginning and 49.7MB in the end (delta: -14.5MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. [2024-11-09 01:01:13,933 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 67.1MB. Free memory was 42.9MB in the beginning and 42.8MB in the end (delta: 81.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:01:13,934 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1375.78ms. Allocated memory was 67.1MB in the beginning and 83.9MB in the end (delta: 16.8MB). Free memory was 35.0MB in the beginning and 37.0MB in the end (delta: -1.9MB). Peak memory consumption was 19.1MB. Max. memory is 16.1GB. [2024-11-09 01:01:13,935 INFO L158 Benchmark]: Boogie Procedure Inliner took 71.94ms. Allocated memory is still 83.9MB. Free memory was 36.6MB in the beginning and 33.8MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 01:01:13,935 INFO L158 Benchmark]: Boogie Preprocessor took 60.31ms. Allocated memory is still 83.9MB. Free memory was 33.8MB in the beginning and 54.9MB in the end (delta: -21.1MB). Peak memory consumption was 3.9MB. Max. memory is 16.1GB. [2024-11-09 01:01:13,936 INFO L158 Benchmark]: RCFGBuilder took 418.36ms. Allocated memory is still 83.9MB. Free memory was 54.9MB in the beginning and 36.0MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-11-09 01:01:13,936 INFO L158 Benchmark]: CodeCheck took 2019.81ms. Allocated memory was 83.9MB in the beginning and 104.9MB in the end (delta: 21.0MB). Free memory was 36.0MB in the beginning and 49.7MB in the end (delta: -13.7MB). Peak memory consumption was 8.5MB. Max. memory is 16.1GB. [2024-11-09 01:01:13,937 INFO L158 Benchmark]: Witness Printer took 7.44ms. Allocated memory is still 104.9MB. Free memory is still 49.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 01:01:13,944 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.9s, 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.3s 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 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 CWE191_Integer_Underflow__int_fgets_sub_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 - 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.32ms. Allocated memory is still 67.1MB. Free memory was 42.9MB in the beginning and 42.8MB in the end (delta: 81.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1375.78ms. Allocated memory was 67.1MB in the beginning and 83.9MB in the end (delta: 16.8MB). Free memory was 35.0MB in the beginning and 37.0MB in the end (delta: -1.9MB). Peak memory consumption was 19.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 71.94ms. Allocated memory is still 83.9MB. Free memory was 36.6MB in the beginning and 33.8MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 60.31ms. Allocated memory is still 83.9MB. Free memory was 33.8MB in the beginning and 54.9MB in the end (delta: -21.1MB). Peak memory consumption was 3.9MB. Max. memory is 16.1GB. * RCFGBuilder took 418.36ms. Allocated memory is still 83.9MB. Free memory was 54.9MB in the beginning and 36.0MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 2019.81ms. Allocated memory was 83.9MB in the beginning and 104.9MB in the end (delta: 21.0MB). Free memory was 36.0MB in the beginning and 49.7MB in the end (delta: -13.7MB). Peak memory consumption was 8.5MB. Max. memory is 16.1GB. * Witness Printer took 7.44ms. Allocated memory is still 104.9MB. Free memory is still 49.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-09 01:01:13,987 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_065a83b5-731f-4738-b1ea-acdd459512a3/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