./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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 ae725380ddcca35accb2c221fe3c0e874f871efa043277739550378a5dc71595 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:51:07,390 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:51:07,478 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 23:51:07,484 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 23:51:07,486 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 23:51:07,531 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:51:07,535 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:51:07,536 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:51:07,537 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:51:07,537 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:51:07,538 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:51:07,538 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:51:07,539 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 23:51:07,539 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:51:07,540 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:51:07,540 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:51:07,541 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:51:07,541 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:51:07,541 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:51:07,542 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:51:07,542 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:51:07,543 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:51:07,544 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:51:07,544 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:51:07,544 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:51:07,545 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:51:07,545 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:51:07,546 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:51:07,546 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:51:07,547 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:51:07,547 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 23:51:07,547 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 23:51:07,548 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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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 -> ae725380ddcca35accb2c221fe3c0e874f871efa043277739550378a5dc71595 [2024-11-08 23:51:07,851 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:51:07,880 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:51:07,883 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:51:07,887 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:51:07,888 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:51:07,889 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i Unable to find full path for "g++" [2024-11-08 23:51:10,158 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 23:51:10,529 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:51:10,530 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i [2024-11-08 23:51:10,563 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/data/8c44ce3c8/f3a83258693f4d9dba3b0e9d776d7d18/FLAGf9de63608 [2024-11-08 23:51:10,751 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/data/8c44ce3c8/f3a83258693f4d9dba3b0e9d776d7d18 [2024-11-08 23:51:10,756 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:51:10,758 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:51:10,760 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:51:10,762 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:51:10,768 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:51:10,769 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:51:10" (1/1) ... [2024-11-08 23:51:10,771 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@71fda75a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:10, skipping insertion in model container [2024-11-08 23:51:10,771 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:51:10" (1/1) ... [2024-11-08 23:51:10,855 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:51:12,025 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:51:12,040 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:51:12,221 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:51:12,447 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:51:12,448 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12 WrapperNode [2024-11-08 23:51:12,448 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:51:12,449 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:51:12,450 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:51:12,450 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:51:12,459 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,498 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,539 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 85 [2024-11-08 23:51:12,540 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:51:12,541 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:51:12,541 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:51:12,541 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:51:12,552 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,553 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,556 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,560 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,568 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,575 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,580 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,581 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,588 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:51:12,589 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:51:12,592 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:51:12,593 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:51:12,594 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:12" (1/1) ... [2024-11-08 23:51:12,604 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:51:12,618 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:51:12,638 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 23:51:12,646 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 23:51:12,680 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:51:12,680 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:51:12,680 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:51:12,680 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:51:12,680 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:51:12,681 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-08 23:51:12,867 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:51:12,870 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:51:13,062 INFO L? ?]: Removed 29 outVars from TransFormulas that were not future-live. [2024-11-08 23:51:13,062 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:51:13,127 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:51:13,128 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:51:13,128 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:51:13 BoogieIcfgContainer [2024-11-08 23:51:13,129 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:51:13,130 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:51:13,130 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:51:13,142 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:51:13,143 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:51:13" (1/1) ... [2024-11-08 23:51:13,158 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:51:13,212 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:13,219 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 32 states and 39 transitions. [2024-11-08 23:51:13,220 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 39 transitions. [2024-11-08 23:51:13,224 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-08 23:51:13,224 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:13,225 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:51:13,406 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:13,685 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:51:13,825 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:13,830 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 37 states and 47 transitions. [2024-11-08 23:51:13,830 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 47 transitions. [2024-11-08 23:51:13,830 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-08 23:51:13,831 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:13,831 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:51:13,895 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:14,034 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:51:14,061 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:14,061 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 38 states and 48 transitions. [2024-11-08 23:51:14,061 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 48 transitions. [2024-11-08 23:51:14,062 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-08 23:51:14,062 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:14,062 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:51:14,114 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:14,209 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:51:14,222 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:14,223 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 40 states and 50 transitions. [2024-11-08 23:51:14,223 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 50 transitions. [2024-11-08 23:51:14,223 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 23:51:14,224 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:14,224 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:51:14,252 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:14,375 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 4 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:51:14,450 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:14,451 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 31 states and 36 transitions. [2024-11-08 23:51:14,451 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 36 transitions. [2024-11-08 23:51:14,452 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 23:51:14,452 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:14,452 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:51:14,481 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:51:14,482 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:51:14,497 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:51:14,590 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:51:14,591 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:51:14,610 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:51:14,636 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-11-08 23:51:14,682 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:51:14 ImpRootNode [2024-11-08 23:51:14,682 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:51:14,683 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:51:14,683 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:51:14,683 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:51:14,685 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:51:13" (3/4) ... [2024-11-08 23:51:14,688 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:51:14,689 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:51:14,691 INFO L158 Benchmark]: Toolchain (without parser) took 3932.13ms. Allocated memory was 142.6MB in the beginning and 190.8MB in the end (delta: 48.2MB). Free memory was 97.4MB in the beginning and 93.9MB in the end (delta: 3.5MB). Peak memory consumption was 52.8MB. Max. memory is 16.1GB. [2024-11-08 23:51:14,692 INFO L158 Benchmark]: CDTParser took 0.39ms. Allocated memory is still 142.6MB. Free memory is still 88.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:51:14,692 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1688.47ms. Allocated memory was 142.6MB in the beginning and 190.8MB in the end (delta: 48.2MB). Free memory was 97.4MB in the beginning and 130.1MB in the end (delta: -32.8MB). Peak memory consumption was 59.5MB. Max. memory is 16.1GB. [2024-11-08 23:51:14,693 INFO L158 Benchmark]: Boogie Procedure Inliner took 90.62ms. Allocated memory is still 190.8MB. Free memory was 130.1MB in the beginning and 127.0MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 23:51:14,694 INFO L158 Benchmark]: Boogie Preprocessor took 47.35ms. Allocated memory is still 190.8MB. Free memory was 127.0MB in the beginning and 125.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:51:14,694 INFO L158 Benchmark]: RCFGBuilder took 539.99ms. Allocated memory is still 190.8MB. Free memory was 125.0MB in the beginning and 109.3MB in the end (delta: 15.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 23:51:14,695 INFO L158 Benchmark]: CodeCheck took 1552.79ms. Allocated memory is still 190.8MB. Free memory was 109.3MB in the beginning and 93.9MB in the end (delta: 15.4MB). Peak memory consumption was 14.2MB. Max. memory is 16.1GB. [2024-11-08 23:51:14,695 INFO L158 Benchmark]: Witness Printer took 6.39ms. Allocated memory is still 190.8MB. Free memory is still 93.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:51:14,701 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, 32 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.5s, 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.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 38 mSDsluCounter, 76 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 24 mSDsCounter, 33 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 115 IncrementalHoareTripleChecker+Invalid, 148 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 33 mSolverCounterUnsat, 52 mSDtfsCounter, 115 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 368 GetRequests, 360 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 68 NumberOfCodeBlocks, 68 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: 1571]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of large string literal at line 1579, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1579] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE191_Integer_Underflow__int_fgets_multiply_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=-1073741825, 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=-1073741825, 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=-1073741825, 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=-1073741825, 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=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1569] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1571] data * 2 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.39ms. Allocated memory is still 142.6MB. Free memory is still 88.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1688.47ms. Allocated memory was 142.6MB in the beginning and 190.8MB in the end (delta: 48.2MB). Free memory was 97.4MB in the beginning and 130.1MB in the end (delta: -32.8MB). Peak memory consumption was 59.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 90.62ms. Allocated memory is still 190.8MB. Free memory was 130.1MB in the beginning and 127.0MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 47.35ms. Allocated memory is still 190.8MB. Free memory was 127.0MB in the beginning and 125.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 539.99ms. Allocated memory is still 190.8MB. Free memory was 125.0MB in the beginning and 109.3MB in the end (delta: 15.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 1552.79ms. Allocated memory is still 190.8MB. Free memory was 109.3MB in the beginning and 93.9MB in the end (delta: 15.4MB). Peak memory consumption was 14.2MB. Max. memory is 16.1GB. * Witness Printer took 6.39ms. Allocated memory is still 190.8MB. Free memory is still 93.9MB. There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-08 23:51:14,741 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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 ae725380ddcca35accb2c221fe3c0e874f871efa043277739550378a5dc71595 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:51:17,360 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:51:17,428 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 23:51:17,465 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:51:17,466 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:51:17,467 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:51:17,467 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:51:17,468 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:51:17,468 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:51:17,468 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:51:17,469 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:51:17,469 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:51:17,470 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:51:17,470 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:51:17,470 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 23:51:17,471 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 23:51:17,471 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:51:17,472 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:51:17,472 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 23:51:17,472 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:51:17,473 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:51:17,473 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:51:17,474 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:51:17,474 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:51:17,474 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:51:17,475 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:51:17,475 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 23:51:17,475 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:51:17,476 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:51:17,476 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:51:17,476 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:51:17,477 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:51:17,477 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 23:51:17,478 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:51:17,478 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 23:51:17,478 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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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 -> ae725380ddcca35accb2c221fe3c0e874f871efa043277739550378a5dc71595 [2024-11-08 23:51:17,847 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:51:17,873 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:51:17,876 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:51:17,879 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:51:17,880 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:51:17,882 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i Unable to find full path for "g++" [2024-11-08 23:51:20,070 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 23:51:20,459 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:51:20,459 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_17_bad.i [2024-11-08 23:51:20,486 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/data/88516a8a3/1f1708eba33b474bb7c4f0aa328d4de6/FLAG1b475eb49 [2024-11-08 23:51:20,673 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/data/88516a8a3/1f1708eba33b474bb7c4f0aa328d4de6 [2024-11-08 23:51:20,675 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:51:20,677 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:51:20,679 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:51:20,679 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:51:20,684 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:51:20,685 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:51:20" (1/1) ... [2024-11-08 23:51:20,687 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6605f22b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:20, skipping insertion in model container [2024-11-08 23:51:20,687 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:51:20" (1/1) ... [2024-11-08 23:51:20,822 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:51:22,289 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:51:22,302 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:51:22,449 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:51:22,649 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:51:22,650 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22 WrapperNode [2024-11-08 23:51:22,650 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:51:22,651 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:51:22,652 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:51:22,652 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:51:22,660 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,699 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,740 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 84 [2024-11-08 23:51:22,740 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:51:22,741 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:51:22,741 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:51:22,741 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:51:22,757 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,757 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,768 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,768 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,783 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,786 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,793 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,797 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,804 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:51:22,805 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:51:22,805 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:51:22,805 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:51:22,806 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:22" (1/1) ... [2024-11-08 23:51:22,819 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:51:22,831 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:51:22,853 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 23:51:22,856 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 23:51:22,890 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:51:22,890 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:51:22,890 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-08 23:51:22,891 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:51:22,892 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:51:22,893 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:51:23,049 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:51:23,051 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:51:23,278 INFO L? ?]: Removed 27 outVars from TransFormulas that were not future-live. [2024-11-08 23:51:23,278 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:51:23,359 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:51:23,359 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:51:23,360 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:51:23 BoogieIcfgContainer [2024-11-08 23:51:23,360 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:51:23,361 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:51:23,361 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:51:23,373 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:51:23,373 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:51:23" (1/1) ... [2024-11-08 23:51:23,381 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:51:23,430 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:23,437 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 32 states and 39 transitions. [2024-11-08 23:51:23,438 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 39 transitions. [2024-11-08 23:51:23,442 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-08 23:51:23,443 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:23,443 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:51:23,443 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:51:23,446 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:51:23,448 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 23:51:23,667 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:23,673 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:51:23,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:23,732 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-08 23:51:23,737 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:51:23,764 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:51:23,767 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2024-11-08 23:51:23,770 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-08 23:51:23,815 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:23,816 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 31 states and 38 transitions. [2024-11-08 23:51:23,816 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 38 transitions. [2024-11-08 23:51:23,819 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-08 23:51:23,820 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:23,820 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:51:23,820 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:51:23,823 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:51:23,825 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-08 23:51:24,026 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:24,026 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:51:24,075 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:24,078 INFO L255 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-08 23:51:24,080 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:51:24,169 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 23:51:24,173 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-08 23:51:24,283 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:24,284 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 37 states and 47 transitions. [2024-11-08 23:51:24,284 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 47 transitions. [2024-11-08 23:51:24,286 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-08 23:51:24,286 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:24,286 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:51:24,286 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:51:24,290 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:51:24,292 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-08 23:51:24,477 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:24,478 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:51:24,531 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:24,533 INFO L255 TraceCheckSpWp]: Trace formula consists of 64 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-08 23:51:24,535 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:51:24,600 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:51:24,604 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-08 23:51:24,629 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:24,630 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 39 states and 49 transitions. [2024-11-08 23:51:24,631 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 49 transitions. [2024-11-08 23:51:24,632 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 23:51:24,633 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:24,633 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:51:24,634 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:51:24,637 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:51:24,638 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-08 23:51:24,838 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:24,838 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:51:24,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:51:24,888 INFO L255 TraceCheckSpWp]: Trace formula consists of 78 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-11-08 23:51:24,890 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:51:24,930 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-08 23:51:24,935 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Forceful destruction successful, exit code 0 [2024-11-08 23:51:25,016 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:51:25,016 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 31 states and 36 transitions. [2024-11-08 23:51:25,017 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 36 transitions. [2024-11-08 23:51:25,018 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 23:51:25,018 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:51:25,018 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:51:25,019 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:51:25,021 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:51:25,022 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-08 23:51:25,202 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:51:25,203 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:51:25,275 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:51:25,403 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:51:25,403 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:51:25,427 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:51:25,453 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2024-11-08 23:51:25,453 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-11-08 23:51:25,502 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:51:25 ImpRootNode [2024-11-08 23:51:25,504 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:51:25,504 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:51:25,504 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:51:25,505 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:51:25,505 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:51:23" (3/4) ... [2024-11-08 23:51:25,510 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:51:25,512 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:51:25,513 INFO L158 Benchmark]: Toolchain (without parser) took 4835.72ms. Allocated memory was 65.0MB in the beginning and 104.9MB in the end (delta: 39.8MB). Free memory was 31.7MB in the beginning and 32.4MB in the end (delta: -711.6kB). Peak memory consumption was 41.2MB. Max. memory is 16.1GB. [2024-11-08 23:51:25,514 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 65.0MB. Free memory was 40.6MB in the beginning and 40.6MB in the end (delta: 81.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:51:25,515 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1971.94ms. Allocated memory was 65.0MB in the beginning and 86.0MB in the end (delta: 21.0MB). Free memory was 31.5MB in the beginning and 52.5MB in the end (delta: -21.0MB). Peak memory consumption was 19.8MB. Max. memory is 16.1GB. [2024-11-08 23:51:25,516 INFO L158 Benchmark]: Boogie Procedure Inliner took 88.99ms. Allocated memory is still 86.0MB. Free memory was 52.5MB in the beginning and 49.1MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 23:51:25,525 INFO L158 Benchmark]: Boogie Preprocessor took 63.21ms. Allocated memory is still 86.0MB. Free memory was 49.1MB in the beginning and 47.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:51:25,526 INFO L158 Benchmark]: RCFGBuilder took 555.36ms. Allocated memory is still 86.0MB. Free memory was 47.1MB in the beginning and 50.1MB in the end (delta: -3.0MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. [2024-11-08 23:51:25,526 INFO L158 Benchmark]: CodeCheck took 2142.89ms. Allocated memory was 86.0MB in the beginning and 104.9MB in the end (delta: 18.9MB). Free memory was 50.1MB in the beginning and 32.9MB in the end (delta: 17.2MB). Peak memory consumption was 34.9MB. Max. memory is 16.1GB. [2024-11-08 23:51:25,527 INFO L158 Benchmark]: Witness Printer took 7.64ms. Allocated memory is still 104.9MB. Free memory was 32.9MB in the beginning and 32.4MB in the end (delta: 466.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:51:25,535 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, 32 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 2.1s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 154 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 32 mSDsluCounter, 108 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 20 mSDsCounter, 24 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 92 IncrementalHoareTripleChecker+Invalid, 116 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 24 mSolverCounterUnsat, 88 mSDtfsCounter, 92 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 417 GetRequests, 409 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, 70 NumberOfCodeBlocks, 70 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 49 ConstructedInterpolants, 0 QuantifiedInterpolants, 91 SizeOfPredicates, 0 NumberOfNonLiveVariables, 251 ConjunctsInSsa, 11 ConjunctsInUnsatCore, 4 InterpolantComputations, 3 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: 1571]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of large string literal at line 1579, overapproximation of fgets at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1579] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1579] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1580] CALL CWE191_Integer_Underflow__int_fgets_multiply_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] [L1569] COND TRUE data < 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] [L1571] data * 2 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.24ms. Allocated memory is still 65.0MB. Free memory was 40.6MB in the beginning and 40.6MB in the end (delta: 81.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1971.94ms. Allocated memory was 65.0MB in the beginning and 86.0MB in the end (delta: 21.0MB). Free memory was 31.5MB in the beginning and 52.5MB in the end (delta: -21.0MB). Peak memory consumption was 19.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 88.99ms. Allocated memory is still 86.0MB. Free memory was 52.5MB in the beginning and 49.1MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 63.21ms. Allocated memory is still 86.0MB. Free memory was 49.1MB in the beginning and 47.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 555.36ms. Allocated memory is still 86.0MB. Free memory was 47.1MB in the beginning and 50.1MB in the end (delta: -3.0MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. * CodeCheck took 2142.89ms. Allocated memory was 86.0MB in the beginning and 104.9MB in the end (delta: 18.9MB). Free memory was 50.1MB in the beginning and 32.9MB in the end (delta: 17.2MB). Peak memory consumption was 34.9MB. Max. memory is 16.1GB. * Witness Printer took 7.64ms. Allocated memory is still 104.9MB. Free memory was 32.9MB in the beginning and 32.4MB in the end (delta: 466.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-08 23:51:25,622 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a878e3ec-4d39-43dd-b5b3-a26a178dedbd/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