./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/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_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/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_b83593ea-d6ed-4f91-ad20-da245564af41/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 e73bf75f10180290498e6c1b39666c57ea963b55df36220002e3474ff808070b --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:23:35,730 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:23:35,813 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 22:23:35,820 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 22:23:35,820 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 22:23:35,856 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:23:35,857 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:23:35,857 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:23:35,858 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:23:35,859 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:23:35,860 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:23:35,860 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:23:35,860 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 22:23:35,861 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:23:35,861 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:23:35,863 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:23:35,864 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:23:35,864 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:23:35,864 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:23:35,865 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:23:35,865 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:23:35,869 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:23:35,869 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:23:35,869 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:23:35,870 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:23:35,870 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:23:35,870 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:23:35,870 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:23:35,871 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:23:35,871 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:23:35,871 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 22:23:35,871 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 22:23:35,882 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_b83593ea-d6ed-4f91-ad20-da245564af41/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_b83593ea-d6ed-4f91-ad20-da245564af41/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 -> e73bf75f10180290498e6c1b39666c57ea963b55df36220002e3474ff808070b [2024-11-08 22:23:36,186 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:23:36,212 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:23:36,215 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:23:36,218 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:23:36,218 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:23:36,220 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i Unable to find full path for "g++" [2024-11-08 22:23:38,298 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:23:38,715 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:23:38,716 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i [2024-11-08 22:23:38,748 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/data/3bc99ae8d/0961446602794a77aaff424ce3d1eeab/FLAG5b739450b [2024-11-08 22:23:38,767 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/data/3bc99ae8d/0961446602794a77aaff424ce3d1eeab [2024-11-08 22:23:38,769 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:23:38,773 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:23:38,775 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:23:38,775 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:23:38,780 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:23:38,781 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:23:38" (1/1) ... [2024-11-08 22:23:38,784 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@38a4bdef and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:38, skipping insertion in model container [2024-11-08 22:23:38,784 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:23:38" (1/1) ... [2024-11-08 22:23:38,856 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:23:39,927 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:23:39,939 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:23:40,054 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:23:40,254 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:23:40,255 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40 WrapperNode [2024-11-08 22:23:40,255 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:23:40,257 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:23:40,257 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:23:40,257 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:23:40,266 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,294 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,319 INFO L138 Inliner]: procedures = 498, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 88 [2024-11-08 22:23:40,319 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:23:40,320 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:23:40,320 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:23:40,320 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:23:40,330 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,331 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,338 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,338 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,348 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,353 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,355 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,356 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,359 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:23:40,360 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:23:40,360 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:23:40,361 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:23:40,362 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,368 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:23:40,381 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:23:40,399 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 22:23:40,402 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 22:23:40,430 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-08 22:23:40,430 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-08 22:23:40,430 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-08 22:23:40,430 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-08 22:23:40,430 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:23:40,430 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:23:40,431 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:23:40,431 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:23:40,431 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:23:40,431 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-08 22:23:40,590 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:23:40,593 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:23:40,787 INFO L? ?]: Removed 22 outVars from TransFormulas that were not future-live. [2024-11-08 22:23:40,787 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:23:40,833 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:23:40,834 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 22:23:40,834 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:23:40 BoogieIcfgContainer [2024-11-08 22:23:40,834 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:23:40,835 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:23:40,836 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:23:40,846 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:23:40,847 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:23:40" (1/1) ... [2024-11-08 22:23:40,855 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:23:40,897 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:23:40,903 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 38 states and 46 transitions. [2024-11-08 22:23:40,904 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 46 transitions. [2024-11-08 22:23:40,908 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 22:23:40,908 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:23:40,909 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:23:41,031 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:41,206 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 22:23:41,256 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:23:41,257 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 42 states and 53 transitions. [2024-11-08 22:23:41,257 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 53 transitions. [2024-11-08 22:23:41,260 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 22:23:41,260 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:23:41,261 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:23:41,313 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:41,456 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 22:23:41,574 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:23:41,575 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 47 states and 61 transitions. [2024-11-08 22:23:41,575 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 61 transitions. [2024-11-08 22:23:41,576 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 22:23:41,576 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:23:41,577 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:23:41,598 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:41,731 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 22:23:41,796 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:23:41,797 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 63 states to 49 states and 63 transitions. [2024-11-08 22:23:41,797 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 63 transitions. [2024-11-08 22:23:41,798 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-08 22:23:41,798 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:23:41,798 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:23:41,831 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:41,902 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 22:23:41,946 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:23:41,946 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 66 states to 52 states and 66 transitions. [2024-11-08 22:23:41,947 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 66 transitions. [2024-11-08 22:23:41,947 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-08 22:23:41,947 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:23:41,948 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:23:42,003 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:23:42,005 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:23:42,036 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:23:42,138 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:23:42,138 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:23:42,160 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:23:42,184 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-11-08 22:23:42,224 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:23:42 ImpRootNode [2024-11-08 22:23:42,224 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:23:42,225 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:23:42,225 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:23:42,227 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:23:42,227 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:23:40" (3/4) ... [2024-11-08 22:23:42,230 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:23:42,231 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:23:42,233 INFO L158 Benchmark]: Toolchain (without parser) took 3459.28ms. Allocated memory was 136.3MB in the beginning and 176.2MB in the end (delta: 39.8MB). Free memory was 100.1MB in the beginning and 107.6MB in the end (delta: -7.5MB). Peak memory consumption was 32.5MB. Max. memory is 16.1GB. [2024-11-08 22:23:42,234 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 136.3MB. Free memory is still 106.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:23:42,234 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1480.94ms. Allocated memory was 136.3MB in the beginning and 176.2MB in the end (delta: 39.8MB). Free memory was 99.6MB in the beginning and 128.6MB in the end (delta: -29.0MB). Peak memory consumption was 68.0MB. Max. memory is 16.1GB. [2024-11-08 22:23:42,235 INFO L158 Benchmark]: Boogie Procedure Inliner took 62.66ms. Allocated memory is still 176.2MB. Free memory was 128.6MB in the beginning and 125.6MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 22:23:42,236 INFO L158 Benchmark]: Boogie Preprocessor took 39.54ms. Allocated memory is still 176.2MB. Free memory was 125.6MB in the beginning and 124.5MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:23:42,237 INFO L158 Benchmark]: RCFGBuilder took 474.42ms. Allocated memory is still 176.2MB. Free memory was 124.5MB in the beginning and 106.7MB in the end (delta: 17.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-08 22:23:42,237 INFO L158 Benchmark]: CodeCheck took 1389.07ms. Allocated memory is still 176.2MB. Free memory was 106.7MB in the beginning and 107.6MB in the end (delta: -864.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:23:42,237 INFO L158 Benchmark]: Witness Printer took 6.27ms. Allocated memory is still 176.2MB. Free memory is still 107.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:23:42,243 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 4 procedures, 38 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.3s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 184 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 54 mSDsluCounter, 178 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 62 mSDsCounter, 25 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 103 IncrementalHoareTripleChecker+Invalid, 128 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 25 mSolverCounterUnsat, 116 mSDtfsCounter, 103 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 480 GetRequests, 468 SyntacticMatches, 6 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 4 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 86 NumberOfCodeBlocks, 86 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 64 ConstructedInterpolants, 0 QuantifiedInterpolants, 144 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 8/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: 1573]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1595, overapproximation of fgets at line 1556. 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); [L1595] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={4:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1595] 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] [L1596] CALL CWE191_Integer_Underflow__int_fgets_predec_12_bad() [L1550] int data; [L1551] data = 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] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() 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] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1555] 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] [L1556] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] data = atoi(inputBuffer) [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() 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] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] --data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.33ms. Allocated memory is still 136.3MB. Free memory is still 106.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1480.94ms. Allocated memory was 136.3MB in the beginning and 176.2MB in the end (delta: 39.8MB). Free memory was 99.6MB in the beginning and 128.6MB in the end (delta: -29.0MB). Peak memory consumption was 68.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 62.66ms. Allocated memory is still 176.2MB. Free memory was 128.6MB in the beginning and 125.6MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 39.54ms. Allocated memory is still 176.2MB. Free memory was 125.6MB in the beginning and 124.5MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 474.42ms. Allocated memory is still 176.2MB. Free memory was 124.5MB in the beginning and 106.7MB in the end (delta: 17.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1389.07ms. Allocated memory is still 176.2MB. Free memory was 106.7MB in the beginning and 107.6MB in the end (delta: -864.3kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.27ms. Allocated memory is still 176.2MB. Free memory is still 107.6MB. 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 22:23:42,287 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/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_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/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_b83593ea-d6ed-4f91-ad20-da245564af41/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 e73bf75f10180290498e6c1b39666c57ea963b55df36220002e3474ff808070b --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:23:44,790 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:23:44,873 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 22:23:44,913 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:23:44,914 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:23:44,915 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:23:44,916 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:23:44,917 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:23:44,917 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:23:44,918 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:23:44,918 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:23:44,919 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:23:44,919 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:23:44,920 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:23:44,920 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 22:23:44,921 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 22:23:44,921 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:23:44,922 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:23:44,922 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 22:23:44,923 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:23:44,923 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:23:44,924 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:23:44,927 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:23:44,928 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:23:44,928 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:23:44,928 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:23:44,929 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 22:23:44,929 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:23:44,929 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:23:44,930 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:23:44,930 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:23:44,931 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:23:44,931 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 22:23:44,931 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:23:44,932 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 22:23:44,932 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_b83593ea-d6ed-4f91-ad20-da245564af41/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_b83593ea-d6ed-4f91-ad20-da245564af41/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 -> e73bf75f10180290498e6c1b39666c57ea963b55df36220002e3474ff808070b [2024-11-08 22:23:45,344 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:23:45,381 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:23:45,384 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:23:45,388 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:23:45,389 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:23:45,392 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i Unable to find full path for "g++" [2024-11-08 22:23:47,521 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:23:47,896 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:23:47,897 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_predec_12_bad.i [2024-11-08 22:23:47,921 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/data/0f3bf3894/ddae716a14884fb29d4bc97f39aef92e/FLAGa4f248ccb [2024-11-08 22:23:48,096 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/data/0f3bf3894/ddae716a14884fb29d4bc97f39aef92e [2024-11-08 22:23:48,099 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:23:48,100 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:23:48,101 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:23:48,102 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:23:48,107 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:23:48,108 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:23:48" (1/1) ... [2024-11-08 22:23:48,109 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1e36872f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:48, skipping insertion in model container [2024-11-08 22:23:48,109 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:23:48" (1/1) ... [2024-11-08 22:23:48,179 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:23:49,432 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:23:49,446 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:23:49,534 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:23:49,764 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:23:49,765 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49 WrapperNode [2024-11-08 22:23:49,765 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:23:49,766 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:23:49,767 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:23:49,767 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:23:49,775 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,815 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,850 INFO L138 Inliner]: procedures = 503, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 85 [2024-11-08 22:23:49,851 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:23:49,851 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:23:49,852 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:23:49,852 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:23:49,862 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,862 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,865 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,866 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,884 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,886 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,893 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,894 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,898 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:23:49,899 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:23:49,899 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:23:49,899 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:23:49,900 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:23:49" (1/1) ... [2024-11-08 22:23:49,906 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:23:49,917 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:23:49,931 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 22:23:49,935 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 22:23:49,964 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-08 22:23:49,964 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-08 22:23:49,965 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-08 22:23:49,965 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-08 22:23:49,965 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:23:49,965 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:23:49,965 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-08 22:23:49,965 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:23:49,965 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:23:49,965 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:23:50,156 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:23:50,159 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:23:50,416 INFO L? ?]: Removed 20 outVars from TransFormulas that were not future-live. [2024-11-08 22:23:50,417 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:23:50,474 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:23:50,474 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 22:23:50,474 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:23:50 BoogieIcfgContainer [2024-11-08 22:23:50,475 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:23:50,477 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:23:50,477 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:23:50,488 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:23:50,488 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:23:50" (1/1) ... [2024-11-08 22:23:50,495 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:23:50,541 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:23:50,549 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 36 states and 44 transitions. [2024-11-08 22:23:50,550 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 44 transitions. [2024-11-08 22:23:50,554 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-08 22:23:50,554 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:23:50,555 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:23:50,555 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:23:50,558 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:23:50,561 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 22:23:50,754 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:50,757 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 22:23:50,791 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:50,793 INFO L255 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-08 22:23:50,798 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 22:23:50,853 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 22:23:50,857 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-08 22:23:50,911 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:23:50,912 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 39 states and 50 transitions. [2024-11-08 22:23:50,912 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 50 transitions. [2024-11-08 22:23:50,913 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-08 22:23:50,913 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:23:50,913 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:23:50,913 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:23:50,914 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:23:50,916 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-08 22:23:51,037 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:51,037 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 22:23:51,074 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:51,075 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-08 22:23:51,076 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 22:23:51,083 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 22:23:51,087 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-08 22:23:51,108 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:23:51,125 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 38 states and 49 transitions. [2024-11-08 22:23:51,125 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 49 transitions. [2024-11-08 22:23:51,126 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-08 22:23:51,126 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:23:51,126 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:23:51,127 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:23:51,130 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:23:51,133 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-08 22:23:51,297 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:51,298 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 22:23:51,329 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:23:51,330 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-08 22:23:51,333 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 22:23:51,356 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 22:23:51,362 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-08 22:23:51,393 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:23:51,394 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 40 states and 51 transitions. [2024-11-08 22:23:51,394 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 51 transitions. [2024-11-08 22:23:51,394 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 22:23:51,395 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:23:51,395 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:23:51,395 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:23:51,397 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:23:51,399 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-08 22:23:51,576 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:23:51,576 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:23:51,657 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:23:51,726 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:23:51,726 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:23:51,744 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:23:51,771 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-08 22:23:51,772 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2024-11-08 22:23:51,816 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:23:51 ImpRootNode [2024-11-08 22:23:51,816 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:23:51,816 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:23:51,816 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:23:51,817 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:23:51,817 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:23:50" (3/4) ... [2024-11-08 22:23:51,820 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:23:51,821 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:23:51,823 INFO L158 Benchmark]: Toolchain (without parser) took 3722.20ms. Allocated memory was 73.4MB in the beginning and 96.5MB in the end (delta: 23.1MB). Free memory was 46.3MB in the beginning and 37.9MB in the end (delta: 8.4MB). Peak memory consumption was 32.0MB. Max. memory is 16.1GB. [2024-11-08 22:23:51,825 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 73.4MB. Free memory was 49.3MB in the beginning and 49.2MB in the end (delta: 100.7kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:23:51,826 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1664.27ms. Allocated memory was 73.4MB in the beginning and 96.5MB in the end (delta: 23.1MB). Free memory was 46.1MB in the beginning and 60.6MB in the end (delta: -14.5MB). Peak memory consumption was 32.0MB. Max. memory is 16.1GB. [2024-11-08 22:23:51,827 INFO L158 Benchmark]: Boogie Procedure Inliner took 84.54ms. Allocated memory is still 96.5MB. Free memory was 60.6MB in the beginning and 57.3MB in the end (delta: 3.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:23:51,830 INFO L158 Benchmark]: Boogie Preprocessor took 46.64ms. Allocated memory is still 96.5MB. Free memory was 57.3MB in the beginning and 55.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:23:51,830 INFO L158 Benchmark]: RCFGBuilder took 575.99ms. Allocated memory is still 96.5MB. Free memory was 55.2MB in the beginning and 61.3MB in the end (delta: -6.1MB). Peak memory consumption was 18.1MB. Max. memory is 16.1GB. [2024-11-08 22:23:51,831 INFO L158 Benchmark]: CodeCheck took 1339.10ms. Allocated memory is still 96.5MB. Free memory was 61.3MB in the beginning and 38.6MB in the end (delta: 22.7MB). Peak memory consumption was 21.8MB. Max. memory is 16.1GB. [2024-11-08 22:23:51,831 INFO L158 Benchmark]: Witness Printer took 5.15ms. Allocated memory is still 96.5MB. Free memory was 38.6MB in the beginning and 37.9MB in the end (delta: 641.7kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:23:51,837 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 4 procedures, 36 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.3s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 113 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 10 mSDsluCounter, 85 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 14 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 35 IncrementalHoareTripleChecker+Invalid, 43 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 71 mSDtfsCounter, 35 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 334 GetRequests, 332 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 60 NumberOfCodeBlocks, 60 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 41 ConstructedInterpolants, 0 QuantifiedInterpolants, 69 SizeOfPredicates, 0 NumberOfNonLiveVariables, 158 ConjunctsInSsa, 5 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 6/6 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: 1573]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1595, overapproximation of fgets at line 1556. 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); [L1595] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={4:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1595] 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] [L1596] CALL CWE191_Integer_Underflow__int_fgets_predec_12_bad() [L1550] int data; [L1551] data = 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] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() 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] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1555] 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] [L1556] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] data = atoi(inputBuffer) [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() 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] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] --data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.32ms. Allocated memory is still 73.4MB. Free memory was 49.3MB in the beginning and 49.2MB in the end (delta: 100.7kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1664.27ms. Allocated memory was 73.4MB in the beginning and 96.5MB in the end (delta: 23.1MB). Free memory was 46.1MB in the beginning and 60.6MB in the end (delta: -14.5MB). Peak memory consumption was 32.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 84.54ms. Allocated memory is still 96.5MB. Free memory was 60.6MB in the beginning and 57.3MB in the end (delta: 3.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 46.64ms. Allocated memory is still 96.5MB. Free memory was 57.3MB in the beginning and 55.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 575.99ms. Allocated memory is still 96.5MB. Free memory was 55.2MB in the beginning and 61.3MB in the end (delta: -6.1MB). Peak memory consumption was 18.1MB. Max. memory is 16.1GB. * CodeCheck took 1339.10ms. Allocated memory is still 96.5MB. Free memory was 61.3MB in the beginning and 38.6MB in the end (delta: 22.7MB). Peak memory consumption was 21.8MB. Max. memory is 16.1GB. * Witness Printer took 5.15ms. Allocated memory is still 96.5MB. Free memory was 38.6MB in the beginning and 37.9MB in the end (delta: 641.7kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-08 22:23:51,880 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b83593ea-d6ed-4f91-ad20-da245564af41/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