./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_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_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:15:19,546 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:15:19,645 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 22:15:19,653 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 22:15:19,657 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 22:15:19,696 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:15:19,699 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:15:19,700 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:15:19,701 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:15:19,703 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:15:19,705 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:15:19,706 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:15:19,706 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 22:15:19,707 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:15:19,707 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:15:19,707 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:15:19,707 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:15:19,708 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:15:19,708 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:15:19,713 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:15:19,713 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:15:19,714 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:15:19,714 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:15:19,714 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:15:19,715 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:15:19,715 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:15:19,715 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:15:19,716 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:15:19,716 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:15:19,716 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:15:19,716 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 22:15:19,717 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 22:15:19,717 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_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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 -> 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b [2024-11-08 22:15:19,998 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:15:20,019 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:15:20,022 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:15:20,024 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:15:20,024 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:15:20,026 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i Unable to find full path for "g++" [2024-11-08 22:15:22,099 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:15:22,491 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:15:22,500 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2024-11-08 22:15:22,535 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/data/dd5f0d4ab/d3fe55d1d14c4b079153b8def91a1f02/FLAG947f5a29d [2024-11-08 22:15:22,558 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/data/dd5f0d4ab/d3fe55d1d14c4b079153b8def91a1f02 [2024-11-08 22:15:22,561 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:15:22,563 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:15:22,566 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:15:22,566 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:15:22,572 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:15:22,573 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:15:22" (1/1) ... [2024-11-08 22:15:22,577 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1894b0b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:22, skipping insertion in model container [2024-11-08 22:15:22,577 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:15:22" (1/1) ... [2024-11-08 22:15:22,653 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:15:23,748 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:15:23,758 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:15:23,859 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:15:24,081 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:15:24,082 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24 WrapperNode [2024-11-08 22:15:24,082 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:15:24,083 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:15:24,083 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:15:24,084 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:15:24,092 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:15:24" (1/1) ... [2024-11-08 22:15:24,133 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:15:24" (1/1) ... [2024-11-08 22:15:24,168 INFO L138 Inliner]: procedures = 498, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 88 [2024-11-08 22:15:24,168 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:15:24,169 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:15:24,169 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:15:24,170 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:15:24,179 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,180 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,182 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,183 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,191 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,195 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,196 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,198 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,200 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:15:24,201 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:15:24,201 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:15:24,201 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:15:24,202 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,208 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:15:24,229 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:15:24,257 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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:15:24,261 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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:15:24,292 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-08 22:15:24,293 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-08 22:15:24,293 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-08 22:15:24,293 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-08 22:15:24,293 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:15:24,293 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:15:24,294 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:15:24,294 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:15:24,295 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:15:24,295 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-08 22:15:24,442 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:15:24,448 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:15:24,603 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-11-08 22:15:24,604 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:15:24,640 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:15:24,640 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 22:15:24,641 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:15:24 BoogieIcfgContainer [2024-11-08 22:15:24,641 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:15:24,642 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:15:24,642 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:15:24,652 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:15:24,653 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:15:24" (1/1) ... [2024-11-08 22:15:24,660 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:15:24,705 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:15:24,711 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 38 states and 46 transitions. [2024-11-08 22:15:24,712 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 46 transitions. [2024-11-08 22:15:24,716 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 22:15:24,716 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:15:24,717 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:15:24,850 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:25,057 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:15:25,138 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:15:25,139 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 42 states and 53 transitions. [2024-11-08 22:15:25,139 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 53 transitions. [2024-11-08 22:15:25,140 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 22:15:25,140 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:15:25,141 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:15:25,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:25,314 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:15:25,497 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:15:25,498 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 47 states and 61 transitions. [2024-11-08 22:15:25,498 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 61 transitions. [2024-11-08 22:15:25,499 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 22:15:25,499 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:15:25,499 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:15:25,543 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:25,764 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:15:25,835 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:15:25,835 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 63 states to 49 states and 63 transitions. [2024-11-08 22:15:25,836 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 63 transitions. [2024-11-08 22:15:25,836 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-08 22:15:25,836 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:15:25,837 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:15:25,867 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:25,976 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:15:26,082 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:15:26,083 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 66 states to 52 states and 66 transitions. [2024-11-08 22:15:26,083 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 66 transitions. [2024-11-08 22:15:26,083 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-08 22:15:26,083 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:15:26,084 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:15:26,128 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:15:26,128 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:15:26,157 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:15:26,245 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:15:26,245 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:15:26,265 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:15:26,302 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-11-08 22:15:26,344 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:15:26 ImpRootNode [2024-11-08 22:15:26,344 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:15:26,345 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:15:26,345 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:15:26,345 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:15:26,346 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:15:24" (3/4) ... [2024-11-08 22:15:26,349 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:15:26,350 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:15:26,352 INFO L158 Benchmark]: Toolchain (without parser) took 3788.10ms. Allocated memory is still 180.4MB. Free memory was 143.2MB in the beginning and 107.1MB in the end (delta: 36.0MB). Peak memory consumption was 36.4MB. Max. memory is 16.1GB. [2024-11-08 22:15:26,353 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 125.8MB. Free memory is still 72.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:15:26,353 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1516.45ms. Allocated memory is still 180.4MB. Free memory was 143.2MB in the beginning and 140.5MB in the end (delta: 2.7MB). Peak memory consumption was 78.5MB. Max. memory is 16.1GB. [2024-11-08 22:15:26,354 INFO L158 Benchmark]: Boogie Procedure Inliner took 85.86ms. Allocated memory is still 180.4MB. Free memory was 140.5MB in the beginning and 137.4MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:15:26,355 INFO L158 Benchmark]: Boogie Preprocessor took 31.13ms. Allocated memory is still 180.4MB. Free memory was 137.4MB in the beginning and 136.3MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:15:26,356 INFO L158 Benchmark]: RCFGBuilder took 440.26ms. Allocated memory is still 180.4MB. Free memory was 136.3MB in the beginning and 118.5MB in the end (delta: 17.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-08 22:15:26,357 INFO L158 Benchmark]: CodeCheck took 1702.08ms. Allocated memory is still 180.4MB. Free memory was 118.5MB in the beginning and 108.2MB in the end (delta: 10.3MB). Peak memory consumption was 8.2MB. Max. memory is 16.1GB. [2024-11-08 22:15:26,357 INFO L158 Benchmark]: Witness Printer took 5.75ms. Allocated memory is still 180.4MB. Free memory was 108.2MB in the beginning and 107.1MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:15:26,362 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.6s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 164 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 34 mSDsluCounter, 150 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 42 mSDsCounter, 45 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 131 IncrementalHoareTripleChecker+Invalid, 176 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 45 mSolverCounterUnsat, 108 mSDtfsCounter, 131 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 484 GetRequests, 460 SyntacticMatches, 6 SemanticMatches, 18 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 69 ImplicationChecksByTransitivity, 0.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.7s 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_postdec_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 125.8MB. Free memory is still 72.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1516.45ms. Allocated memory is still 180.4MB. Free memory was 143.2MB in the beginning and 140.5MB in the end (delta: 2.7MB). Peak memory consumption was 78.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 85.86ms. Allocated memory is still 180.4MB. Free memory was 140.5MB in the beginning and 137.4MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 31.13ms. Allocated memory is still 180.4MB. Free memory was 137.4MB in the beginning and 136.3MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 440.26ms. Allocated memory is still 180.4MB. Free memory was 136.3MB in the beginning and 118.5MB in the end (delta: 17.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1702.08ms. Allocated memory is still 180.4MB. Free memory was 118.5MB in the beginning and 108.2MB in the end (delta: 10.3MB). Peak memory consumption was 8.2MB. Max. memory is 16.1GB. * Witness Printer took 5.75ms. Allocated memory is still 180.4MB. Free memory was 108.2MB in the beginning and 107.1MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-08 22:15:26,404 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:15:28,841 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:15:28,937 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 22:15:28,964 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:15:28,965 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:15:28,966 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:15:28,966 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:15:28,967 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:15:28,967 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:15:28,968 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:15:28,968 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:15:28,968 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:15:28,969 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:15:28,969 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:15:28,970 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 22:15:28,970 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 22:15:28,970 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:15:28,971 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:15:28,971 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 22:15:28,971 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:15:28,972 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:15:28,972 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:15:28,973 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:15:28,973 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:15:28,973 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:15:28,974 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:15:28,974 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 22:15:28,974 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:15:28,975 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:15:28,975 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:15:28,975 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:15:28,976 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:15:28,976 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 22:15:28,976 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:15:28,976 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 22:15:28,977 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_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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 -> 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b [2024-11-08 22:15:29,376 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:15:29,406 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:15:29,410 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:15:29,414 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:15:29,417 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:15:29,419 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i Unable to find full path for "g++" [2024-11-08 22:15:31,478 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:15:31,959 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:15:31,960 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2024-11-08 22:15:31,992 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/data/a09f44e36/bc1099ca9c3e4f94a3de55bedad256b3/FLAG741d94934 [2024-11-08 22:15:32,013 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/data/a09f44e36/bc1099ca9c3e4f94a3de55bedad256b3 [2024-11-08 22:15:32,017 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:15:32,018 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:15:32,020 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:15:32,020 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:15:32,026 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:15:32,027 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:15:32" (1/1) ... [2024-11-08 22:15:32,029 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5a1d8dc8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:32, skipping insertion in model container [2024-11-08 22:15:32,031 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:15:32" (1/1) ... [2024-11-08 22:15:32,108 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:15:33,204 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:15:33,222 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:15:33,334 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:15:33,535 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:15:33,536 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33 WrapperNode [2024-11-08 22:15:33,537 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:15:33,538 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:15:33,538 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:15:33,539 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:15:33,547 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:15:33" (1/1) ... [2024-11-08 22:15:33,578 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:15:33" (1/1) ... [2024-11-08 22:15:33,602 INFO L138 Inliner]: procedures = 503, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 85 [2024-11-08 22:15:33,603 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:15:33,603 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:15:33,604 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:15:33,604 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:15:33,617 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33" (1/1) ... [2024-11-08 22:15:33,617 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33" (1/1) ... [2024-11-08 22:15:33,625 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33" (1/1) ... [2024-11-08 22:15:33,625 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33" (1/1) ... [2024-11-08 22:15:33,636 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33" (1/1) ... [2024-11-08 22:15:33,645 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33" (1/1) ... [2024-11-08 22:15:33,647 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33" (1/1) ... [2024-11-08 22:15:33,653 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33" (1/1) ... [2024-11-08 22:15:33,656 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:15:33,659 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:15:33,660 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:15:33,660 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:15:33,661 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:15:33" (1/1) ... [2024-11-08 22:15:33,670 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:15:33,683 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:15:33,702 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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:15:33,705 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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:15:33,731 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-08 22:15:33,732 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-08 22:15:33,732 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-08 22:15:33,732 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-08 22:15:33,732 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:15:33,735 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:15:33,736 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-08 22:15:33,736 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:15:33,736 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:15:33,736 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:15:33,909 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:15:33,913 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:15:34,175 INFO L? ?]: Removed 22 outVars from TransFormulas that were not future-live. [2024-11-08 22:15:34,179 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:15:34,242 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:15:34,243 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 22:15:34,244 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:15:34 BoogieIcfgContainer [2024-11-08 22:15:34,244 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:15:34,246 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:15:34,247 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:15:34,257 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:15:34,257 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:15:34" (1/1) ... [2024-11-08 22:15:34,269 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:15:34,331 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:15:34,341 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 36 states and 44 transitions. [2024-11-08 22:15:34,341 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 44 transitions. [2024-11-08 22:15:34,346 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-08 22:15:34,346 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:15:34,347 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:15:34,347 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:15:34,350 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:15:34,356 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 22:15:34,550 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:34,553 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 22:15:34,596 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:34,599 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-08 22:15:34,606 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 22:15:34,691 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:15:34,699 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-08 22:15:34,789 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:15:34,792 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 39 states and 50 transitions. [2024-11-08 22:15:34,793 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 50 transitions. [2024-11-08 22:15:34,794 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-08 22:15:34,794 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:15:34,795 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:15:34,795 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:15:34,798 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:15:34,800 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-08 22:15:34,938 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:34,938 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 22:15:34,966 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:34,968 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-08 22:15:34,970 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 22:15:34,975 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:15:34,978 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2024-11-08 22:15:34,993 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:15:34,995 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 38 states and 49 transitions. [2024-11-08 22:15:34,996 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 49 transitions. [2024-11-08 22:15:34,996 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-08 22:15:34,996 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:15:34,997 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:15:34,997 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:15:35,011 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:15:35,012 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-08 22:15:35,167 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:35,167 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 22:15:35,202 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:15:35,204 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-08 22:15:35,206 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 22:15:35,244 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:15:35,246 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2024-11-08 22:15:35,247 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-08 22:15:35,297 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:15:35,298 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 40 states and 51 transitions. [2024-11-08 22:15:35,298 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 51 transitions. [2024-11-08 22:15:35,298 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 22:15:35,299 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:15:35,299 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:15:35,299 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:15:35,303 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:15:35,305 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-08 22:15:35,487 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:15:35,488 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:15:35,585 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:15:35,657 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:15:35,658 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:15:35,679 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:15:35,704 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-08 22:15:35,705 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2024-11-08 22:15:35,752 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:15:35 ImpRootNode [2024-11-08 22:15:35,752 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:15:35,752 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:15:35,753 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:15:35,753 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:15:35,753 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:15:34" (3/4) ... [2024-11-08 22:15:35,759 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:15:35,760 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:15:35,761 INFO L158 Benchmark]: Toolchain (without parser) took 3742.47ms. Allocated memory was 81.8MB in the beginning and 104.9MB in the end (delta: 23.1MB). Free memory was 59.5MB in the beginning and 42.1MB in the end (delta: 17.4MB). Peak memory consumption was 40.4MB. Max. memory is 16.1GB. [2024-11-08 22:15:35,761 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 81.8MB. Free memory was 57.8MB in the beginning and 57.6MB in the end (delta: 149.2kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:15:35,762 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1517.48ms. Allocated memory was 81.8MB in the beginning and 104.9MB in the end (delta: 23.1MB). Free memory was 59.3MB in the beginning and 53.6MB in the end (delta: 5.6MB). Peak memory consumption was 30.0MB. Max. memory is 16.1GB. [2024-11-08 22:15:35,763 INFO L158 Benchmark]: Boogie Procedure Inliner took 64.95ms. Allocated memory is still 104.9MB. Free memory was 53.6MB in the beginning and 50.5MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 22:15:35,764 INFO L158 Benchmark]: Boogie Preprocessor took 54.68ms. Allocated memory is still 104.9MB. Free memory was 50.5MB in the beginning and 48.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:15:35,764 INFO L158 Benchmark]: RCFGBuilder took 585.37ms. Allocated memory is still 104.9MB. Free memory was 48.4MB in the beginning and 61.6MB in the end (delta: -13.1MB). Peak memory consumption was 7.1MB. Max. memory is 16.1GB. [2024-11-08 22:15:35,765 INFO L158 Benchmark]: CodeCheck took 1506.27ms. Allocated memory is still 104.9MB. Free memory was 61.6MB in the beginning and 42.7MB in the end (delta: 18.9MB). Peak memory consumption was 18.0MB. Max. memory is 16.1GB. [2024-11-08 22:15:35,765 INFO L158 Benchmark]: Witness Printer took 7.44ms. Allocated memory is still 104.9MB. Free memory is still 42.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:15:35,773 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.4s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 105 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 2 mSDsluCounter, 73 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 8 mSDsCounter, 16 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 47 IncrementalHoareTripleChecker+Invalid, 63 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 16 mSolverCounterUnsat, 65 mSDtfsCounter, 47 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 334 GetRequests, 328 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s 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, 161 ConjunctsInSsa, 7 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_postdec_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.24ms. Allocated memory is still 81.8MB. Free memory was 57.8MB in the beginning and 57.6MB in the end (delta: 149.2kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1517.48ms. Allocated memory was 81.8MB in the beginning and 104.9MB in the end (delta: 23.1MB). Free memory was 59.3MB in the beginning and 53.6MB in the end (delta: 5.6MB). Peak memory consumption was 30.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 64.95ms. Allocated memory is still 104.9MB. Free memory was 53.6MB in the beginning and 50.5MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 54.68ms. Allocated memory is still 104.9MB. Free memory was 50.5MB in the beginning and 48.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 585.37ms. Allocated memory is still 104.9MB. Free memory was 48.4MB in the beginning and 61.6MB in the end (delta: -13.1MB). Peak memory consumption was 7.1MB. Max. memory is 16.1GB. * CodeCheck took 1506.27ms. Allocated memory is still 104.9MB. Free memory was 61.6MB in the beginning and 42.7MB in the end (delta: 18.9MB). Peak memory consumption was 18.0MB. Max. memory is 16.1GB. * Witness Printer took 7.44ms. Allocated memory is still 104.9MB. Free memory is still 42.1MB. 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:15:35,815 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fb451d41-47f1-4dc0-9e95-b7032c1bdad3/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