./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_12_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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 f9ab0f28220d4c56d024e1d051466cfff21d1d545d8edb81faa19718425e9629 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:51:55,712 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:51:55,825 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 23:51:55,832 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 23:51:55,834 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 23:51:55,879 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:51:55,880 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:51:55,880 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:51:55,881 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:51:55,881 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:51:55,882 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:51:55,882 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:51:55,883 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 23:51:55,887 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:51:55,888 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:51:55,888 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:51:55,888 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:51:55,889 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:51:55,889 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:51:55,889 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:51:55,890 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:51:55,891 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:51:55,892 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:51:55,892 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:51:55,892 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:51:55,893 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:51:55,893 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:51:55,893 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:51:55,894 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:51:55,894 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:51:55,894 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 23:51:55,894 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 23:51:55,895 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_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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 -> f9ab0f28220d4c56d024e1d051466cfff21d1d545d8edb81faa19718425e9629 [2024-11-08 23:51:56,193 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:51:56,224 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:51:56,228 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:51:56,230 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:51:56,231 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:51:56,232 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_12_bad.i Unable to find full path for "g++" [2024-11-08 23:51:58,145 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 23:51:58,525 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:51:58,526 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_12_bad.i [2024-11-08 23:51:58,548 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/data/e92a48da4/373ab3274f2d43dbb657a7d7508c1d5e/FLAG18ac258d3 [2024-11-08 23:51:58,756 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/data/e92a48da4/373ab3274f2d43dbb657a7d7508c1d5e [2024-11-08 23:51:58,758 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:51:58,760 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:51:58,761 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:51:58,761 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:51:58,765 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:51:58,766 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:51:58" (1/1) ... [2024-11-08 23:51:58,767 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1de3baf0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:51:58, skipping insertion in model container [2024-11-08 23:51:58,767 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:51:58" (1/1) ... [2024-11-08 23:51:58,835 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:51:59,807 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:51:59,819 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:51:59,934 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:52:00,095 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:52:00,095 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00 WrapperNode [2024-11-08 23:52:00,096 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:52:00,097 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:52:00,097 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:52:00,097 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:52:00,136 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,179 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,240 INFO L138 Inliner]: procedures = 498, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 82 [2024-11-08 23:52:00,242 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:52:00,245 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:52:00,245 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:52:00,246 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:52:00,253 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,254 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,256 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,256 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,261 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,263 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,265 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,266 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,269 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:52:00,269 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:52:00,269 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:52:00,270 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:52:00,270 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,278 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:52:00,296 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:52:00,317 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 23:52:00,321 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 23:52:00,352 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-08 23:52:00,352 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-08 23:52:00,352 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-08 23:52:00,353 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-08 23:52:00,353 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:52:00,353 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:52:00,353 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:52:00,353 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:52:00,354 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:52:00,354 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-08 23:52:00,557 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:52:00,560 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:52:00,745 INFO L? ?]: Removed 22 outVars from TransFormulas that were not future-live. [2024-11-08 23:52:00,745 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:52:00,786 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:52:00,787 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:52:00,787 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:52:00 BoogieIcfgContainer [2024-11-08 23:52:00,787 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:52:00,788 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:52:00,788 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:52:00,798 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:52:00,799 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:52:00" (1/1) ... [2024-11-08 23:52:00,810 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:52:00,853 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:00,859 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 38 states and 46 transitions. [2024-11-08 23:52:00,859 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 46 transitions. [2024-11-08 23:52:00,864 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 23:52:00,864 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:00,865 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:52:00,989 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:01,184 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:52:01,230 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:01,231 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 42 states and 53 transitions. [2024-11-08 23:52:01,231 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 53 transitions. [2024-11-08 23:52:01,232 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 23:52:01,232 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:01,233 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:52:01,259 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:01,394 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:52:01,416 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:01,416 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 43 states and 54 transitions. [2024-11-08 23:52:01,417 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 54 transitions. [2024-11-08 23:52:01,417 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 23:52:01,417 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:01,418 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:52:01,437 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:01,519 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:52:01,546 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:01,547 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 56 states to 45 states and 56 transitions. [2024-11-08 23:52:01,547 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 56 transitions. [2024-11-08 23:52:01,548 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-08 23:52:01,548 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:01,549 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:52:01,576 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:01,652 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:52:01,680 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:01,681 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 46 states and 57 transitions. [2024-11-08 23:52:01,681 INFO L276 IsEmpty]: Start isEmpty. Operand 46 states and 57 transitions. [2024-11-08 23:52:01,682 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-08 23:52:01,682 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:01,682 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:52:01,745 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:01,806 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:52:01,889 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:01,890 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 51 states and 65 transitions. [2024-11-08 23:52:01,891 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 65 transitions. [2024-11-08 23:52:01,892 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2024-11-08 23:52:01,893 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:01,893 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 23:52:01,929 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:52:01,930 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:52:01,953 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:52:02,049 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:52:02,049 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:52:02,071 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:52:02,097 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-08 23:52:02,138 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:52:02 ImpRootNode [2024-11-08 23:52:02,138 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:52:02,139 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:52:02,139 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:52:02,139 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:52:02,140 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:52:00" (3/4) ... [2024-11-08 23:52:02,142 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:52:02,144 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:52:02,145 INFO L158 Benchmark]: Toolchain (without parser) took 3384.70ms. Allocated memory is still 180.4MB. Free memory was 151.1MB in the beginning and 119.5MB in the end (delta: 31.6MB). Peak memory consumption was 30.4MB. Max. memory is 16.1GB. [2024-11-08 23:52:02,146 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 119.5MB. Free memory was 93.3MB in the beginning and 93.2MB in the end (delta: 151.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:52:02,147 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1334.96ms. Allocated memory is still 180.4MB. Free memory was 151.1MB in the beginning and 84.8MB in the end (delta: 66.3MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. [2024-11-08 23:52:02,148 INFO L158 Benchmark]: Boogie Procedure Inliner took 145.89ms. Allocated memory is still 180.4MB. Free memory was 84.8MB in the beginning and 145.6MB in the end (delta: -60.7MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2024-11-08 23:52:02,149 INFO L158 Benchmark]: Boogie Preprocessor took 23.61ms. Allocated memory is still 180.4MB. Free memory was 145.6MB in the beginning and 143.7MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:52:02,150 INFO L158 Benchmark]: RCFGBuilder took 518.08ms. Allocated memory is still 180.4MB. Free memory was 143.7MB in the beginning and 126.9MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-08 23:52:02,150 INFO L158 Benchmark]: CodeCheck took 1350.40ms. Allocated memory is still 180.4MB. Free memory was 126.9MB in the beginning and 119.5MB in the end (delta: 7.4MB). Peak memory consumption was 8.5MB. Max. memory is 16.1GB. [2024-11-08 23:52:02,151 INFO L158 Benchmark]: Witness Printer took 4.81ms. Allocated memory is still 180.4MB. Free memory is still 119.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:52:02,155 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: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 227 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 51 mSDsluCounter, 187 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 53 mSDsCounter, 26 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 107 IncrementalHoareTripleChecker+Invalid, 133 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 26 mSolverCounterUnsat, 134 mSDtfsCounter, 107 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 585 GetRequests, 579 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 105 NumberOfCodeBlocks, 105 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 81 ConstructedInterpolants, 0 QuantifiedInterpolants, 141 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 PerfectInterpolantSequences, 10/10 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 1593, 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); [L1593] 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) [L1593] 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] [L1594] CALL CWE190_Integer_Overflow__int_fgets_add_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=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] data + 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.19ms. Allocated memory is still 119.5MB. Free memory was 93.3MB in the beginning and 93.2MB in the end (delta: 151.0kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1334.96ms. Allocated memory is still 180.4MB. Free memory was 151.1MB in the beginning and 84.8MB in the end (delta: 66.3MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 145.89ms. Allocated memory is still 180.4MB. Free memory was 84.8MB in the beginning and 145.6MB in the end (delta: -60.7MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Boogie Preprocessor took 23.61ms. Allocated memory is still 180.4MB. Free memory was 145.6MB in the beginning and 143.7MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 518.08ms. Allocated memory is still 180.4MB. Free memory was 143.7MB in the beginning and 126.9MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1350.40ms. Allocated memory is still 180.4MB. Free memory was 126.9MB in the beginning and 119.5MB in the end (delta: 7.4MB). Peak memory consumption was 8.5MB. Max. memory is 16.1GB. * Witness Printer took 4.81ms. Allocated memory is still 180.4MB. Free memory is still 119.5MB. There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-08 23:52:02,200 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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 f9ab0f28220d4c56d024e1d051466cfff21d1d545d8edb81faa19718425e9629 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 23:52:04,688 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 23:52:04,779 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 23:52:04,806 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 23:52:04,807 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 23:52:04,807 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 23:52:04,808 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 23:52:04,809 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 23:52:04,809 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 23:52:04,809 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 23:52:04,810 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 23:52:04,810 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 23:52:04,811 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 23:52:04,811 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 23:52:04,811 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 23:52:04,811 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 23:52:04,812 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 23:52:04,812 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 23:52:04,813 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 23:52:04,813 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 23:52:04,813 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 23:52:04,814 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 23:52:04,814 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 23:52:04,815 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 23:52:04,815 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 23:52:04,815 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:52:04,816 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 23:52:04,816 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 23:52:04,816 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:52:04,817 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 23:52:04,817 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 23:52:04,817 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 23:52:04,818 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 23:52:04,818 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 23:52:04,818 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 23:52:04,818 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_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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 -> f9ab0f28220d4c56d024e1d051466cfff21d1d545d8edb81faa19718425e9629 [2024-11-08 23:52:05,206 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 23:52:05,228 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 23:52:05,231 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 23:52:05,232 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 23:52:05,233 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 23:52:05,235 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_12_bad.i Unable to find full path for "g++" [2024-11-08 23:52:07,190 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 23:52:07,638 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 23:52:07,640 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_add_12_bad.i [2024-11-08 23:52:07,673 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/data/67da47748/a384a5386e9348caaadf3007f8351940/FLAG887fdacca [2024-11-08 23:52:07,694 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/data/67da47748/a384a5386e9348caaadf3007f8351940 [2024-11-08 23:52:07,696 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 23:52:07,698 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 23:52:07,699 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 23:52:07,700 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 23:52:07,706 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 23:52:07,707 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:52:07" (1/1) ... [2024-11-08 23:52:07,709 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6918bccd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:07, skipping insertion in model container [2024-11-08 23:52:07,710 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 11:52:07" (1/1) ... [2024-11-08 23:52:07,790 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 23:52:08,873 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:52:08,890 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 23:52:09,025 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 23:52:09,168 INFO L204 MainTranslator]: Completed translation [2024-11-08 23:52:09,169 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09 WrapperNode [2024-11-08 23:52:09,169 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 23:52:09,170 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 23:52:09,170 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 23:52:09,170 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 23:52:09,178 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,208 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,232 INFO L138 Inliner]: procedures = 503, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 79 [2024-11-08 23:52:09,232 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 23:52:09,233 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 23:52:09,234 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 23:52:09,234 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 23:52:09,243 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,244 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,248 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,248 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,257 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,259 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,262 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,263 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,267 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 23:52:09,268 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 23:52:09,268 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 23:52:09,268 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 23:52:09,269 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,275 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 23:52:09,288 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 23:52:09,308 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 23:52:09,332 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 23:52:09,361 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-08 23:52:09,361 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-08 23:52:09,361 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-08 23:52:09,361 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-08 23:52:09,362 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 23:52:09,363 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 23:52:09,363 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-08 23:52:09,363 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 23:52:09,364 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 23:52:09,364 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 23:52:09,529 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 23:52:09,531 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 23:52:09,744 INFO L? ?]: Removed 20 outVars from TransFormulas that were not future-live. [2024-11-08 23:52:09,744 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 23:52:09,785 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 23:52:09,785 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 23:52:09,785 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:52:09 BoogieIcfgContainer [2024-11-08 23:52:09,786 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 23:52:09,786 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 23:52:09,786 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 23:52:09,797 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 23:52:09,797 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:52:09" (1/1) ... [2024-11-08 23:52:09,806 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 23:52:09,852 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:09,858 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 36 states and 44 transitions. [2024-11-08 23:52:09,859 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 44 transitions. [2024-11-08 23:52:09,862 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-08 23:52:09,862 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:09,862 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:52:09,863 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:52:09,872 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:52:09,873 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 23:52:10,004 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:10,007 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:52:10,034 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:10,036 INFO L255 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-08 23:52:10,041 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:52:10,064 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:52:10,069 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2024-11-08 23:52:10,073 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-08 23:52:10,102 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:10,103 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 35 states and 43 transitions. [2024-11-08 23:52:10,104 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 43 transitions. [2024-11-08 23:52:10,105 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-08 23:52:10,105 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:10,105 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:52:10,106 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:52:10,108 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:52:10,110 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-08 23:52:10,277 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:10,279 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:52:10,309 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:10,310 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-08 23:52:10,313 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:52:10,355 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:52:10,360 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2024-11-08 23:52:10,428 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:10,429 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 39 states and 50 transitions. [2024-11-08 23:52:10,429 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 50 transitions. [2024-11-08 23:52:10,429 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-08 23:52:10,430 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:10,430 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:52:10,431 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:52:10,433 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:52:10,435 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-08 23:52:10,533 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:10,533 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:52:10,556 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:10,557 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-08 23:52:10,558 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:52:10,561 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:52:10,565 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-08 23:52:10,577 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:10,578 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 38 states and 49 transitions. [2024-11-08 23:52:10,578 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 49 transitions. [2024-11-08 23:52:10,579 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-08 23:52:10,579 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:10,579 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:52:10,579 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:52:10,583 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:52:10,585 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-08 23:52:10,724 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:10,724 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 23:52:10,747 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 23:52:10,748 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-08 23:52:10,749 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 23:52:10,766 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-08 23:52:10,770 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-08 23:52:10,806 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 23:52:10,807 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 41 states and 52 transitions. [2024-11-08 23:52:10,807 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 52 transitions. [2024-11-08 23:52:10,808 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-08 23:52:10,809 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 23:52:10,809 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 23:52:10,810 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 23:52:10,812 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 23:52:10,814 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-08 23:52:11,003 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:52:11,004 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:52:11,104 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:52:11,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:52:11,193 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 23:52:11,217 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 23:52:11,242 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (6)] Ended with exit code 0 [2024-11-08 23:52:11,243 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 5 iterations. [2024-11-08 23:52:11,283 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 11:52:11 ImpRootNode [2024-11-08 23:52:11,283 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 23:52:11,283 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 23:52:11,284 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 23:52:11,284 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 23:52:11,284 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 11:52:09" (3/4) ... [2024-11-08 23:52:11,287 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 23:52:11,289 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 23:52:11,291 INFO L158 Benchmark]: Toolchain (without parser) took 3592.50ms. Allocated memory was 86.0MB in the beginning and 119.5MB in the end (delta: 33.6MB). Free memory was 58.6MB in the beginning and 54.5MB in the end (delta: 4.1MB). Peak memory consumption was 38.1MB. Max. memory is 16.1GB. [2024-11-08 23:52:11,291 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 86.0MB. Free memory was 61.8MB in the beginning and 61.7MB in the end (delta: 34.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:52:11,292 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1470.27ms. Allocated memory was 86.0MB in the beginning and 119.5MB in the end (delta: 33.6MB). Free memory was 58.4MB in the beginning and 66.3MB in the end (delta: -7.9MB). Peak memory consumption was 26.9MB. Max. memory is 16.1GB. [2024-11-08 23:52:11,293 INFO L158 Benchmark]: Boogie Procedure Inliner took 62.65ms. Allocated memory is still 119.5MB. Free memory was 66.3MB in the beginning and 63.1MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 23:52:11,295 INFO L158 Benchmark]: Boogie Preprocessor took 33.90ms. Allocated memory is still 119.5MB. Free memory was 63.1MB in the beginning and 61.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 23:52:11,296 INFO L158 Benchmark]: RCFGBuilder took 517.87ms. Allocated memory is still 119.5MB. Free memory was 61.1MB in the beginning and 74.3MB in the end (delta: -13.2MB). Peak memory consumption was 5.5MB. Max. memory is 16.1GB. [2024-11-08 23:52:11,297 INFO L158 Benchmark]: CodeCheck took 1496.74ms. Allocated memory is still 119.5MB. Free memory was 73.6MB in the beginning and 55.1MB in the end (delta: 18.5MB). Peak memory consumption was 18.3MB. Max. memory is 16.1GB. [2024-11-08 23:52:11,297 INFO L158 Benchmark]: Witness Printer took 6.24ms. Allocated memory is still 119.5MB. Free memory was 55.1MB in the beginning and 54.5MB in the end (delta: 615.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 23:52:11,302 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: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 186 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 18 mSDsluCounter, 120 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 14 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 54 IncrementalHoareTripleChecker+Invalid, 62 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 106 mSDtfsCounter, 54 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 452 GetRequests, 450 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, 77 NumberOfCodeBlocks, 77 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 56 ConstructedInterpolants, 0 QuantifiedInterpolants, 74 SizeOfPredicates, 0 NumberOfNonLiveVariables, 212 ConjunctsInSsa, 6 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 1593, 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); [L1593] 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) [L1593] 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] [L1594] CALL CWE190_Integer_Overflow__int_fgets_add_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=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] data + 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.30ms. Allocated memory is still 86.0MB. Free memory was 61.8MB in the beginning and 61.7MB in the end (delta: 34.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1470.27ms. Allocated memory was 86.0MB in the beginning and 119.5MB in the end (delta: 33.6MB). Free memory was 58.4MB in the beginning and 66.3MB in the end (delta: -7.9MB). Peak memory consumption was 26.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 62.65ms. Allocated memory is still 119.5MB. Free memory was 66.3MB in the beginning and 63.1MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 33.90ms. Allocated memory is still 119.5MB. Free memory was 63.1MB in the beginning and 61.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 517.87ms. Allocated memory is still 119.5MB. Free memory was 61.1MB in the beginning and 74.3MB in the end (delta: -13.2MB). Peak memory consumption was 5.5MB. Max. memory is 16.1GB. * CodeCheck took 1496.74ms. Allocated memory is still 119.5MB. Free memory was 73.6MB in the beginning and 55.1MB in the end (delta: 18.5MB). Peak memory consumption was 18.3MB. Max. memory is 16.1GB. * Witness Printer took 6.24ms. Allocated memory is still 119.5MB. Free memory was 55.1MB in the beginning and 54.5MB in the end (delta: 615.8kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-08 23:52:11,341 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_ea4948ea-4ef1-4989-a0ff-e7bf6cb227a1/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