./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_51_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_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_51_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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 df05be8d75dbd70ac30927f6a934133d02541668661e133068725c0eec89c4d4 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 19:27:41,131 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 19:27:41,270 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 19:27:41,275 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 19:27:41,277 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 19:27:41,315 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 19:27:41,316 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 19:27:41,317 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 19:27:41,318 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 19:27:41,320 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 19:27:41,320 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 19:27:41,321 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 19:27:41,321 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 19:27:41,322 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 19:27:41,322 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 19:27:41,322 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 19:27:41,326 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 19:27:41,326 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 19:27:41,326 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 19:27:41,327 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 19:27:41,327 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 19:27:41,328 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 19:27:41,331 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 19:27:41,332 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 19:27:41,332 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 19:27:41,332 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 19:27:41,333 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 19:27:41,333 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 19:27:41,333 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 19:27:41,333 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 19:27:41,334 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 19:27:41,334 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 19:27:41,335 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_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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 -> df05be8d75dbd70ac30927f6a934133d02541668661e133068725c0eec89c4d4 [2024-11-08 19:27:41,686 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 19:27:41,734 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 19:27:41,737 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 19:27:41,738 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 19:27:41,739 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 19:27:41,740 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_51_bad.i Unable to find full path for "g++" [2024-11-08 19:27:43,990 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 19:27:44,379 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 19:27:44,380 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_51_bad.i [2024-11-08 19:27:44,405 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/data/5ca5bd690/1f876e3dc9074d20bd67ebd78d441e78/FLAG123762b69 [2024-11-08 19:27:44,569 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/data/5ca5bd690/1f876e3dc9074d20bd67ebd78d441e78 [2024-11-08 19:27:44,572 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 19:27:44,574 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 19:27:44,575 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 19:27:44,576 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 19:27:44,582 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 19:27:44,583 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 07:27:44" (1/1) ... [2024-11-08 19:27:44,585 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@324301a4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:44, skipping insertion in model container [2024-11-08 19:27:44,585 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 07:27:44" (1/1) ... [2024-11-08 19:27:44,664 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 19:27:46,134 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 19:27:46,151 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 19:27:46,256 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 19:27:46,464 INFO L204 MainTranslator]: Completed translation [2024-11-08 19:27:46,465 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46 WrapperNode [2024-11-08 19:27:46,465 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 19:27:46,466 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 19:27:46,466 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 19:27:46,467 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 19:27:46,474 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,498 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,524 INFO L138 Inliner]: procedures = 499, calls = 28, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 67 [2024-11-08 19:27:46,525 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 19:27:46,526 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 19:27:46,526 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 19:27:46,526 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 19:27:46,537 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,537 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,540 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,541 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,547 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,553 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,558 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,560 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,563 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 19:27:46,564 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 19:27:46,564 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 19:27:46,564 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 19:27:46,565 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:46" (1/1) ... [2024-11-08 19:27:46,572 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 19:27:46,588 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 19:27:46,604 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 19:27:46,612 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 19:27:46,646 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 19:27:46,646 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 19:27:46,646 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 19:27:46,647 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 19:27:46,647 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 19:27:46,647 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-08 19:27:46,873 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 19:27:46,875 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 19:27:47,026 INFO L? ?]: Removed 23 outVars from TransFormulas that were not future-live. [2024-11-08 19:27:47,026 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 19:27:47,079 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 19:27:47,080 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 19:27:47,080 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:27:47 BoogieIcfgContainer [2024-11-08 19:27:47,080 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 19:27:47,081 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 19:27:47,081 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 19:27:47,093 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 19:27:47,093 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:27:47" (1/1) ... [2024-11-08 19:27:47,103 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 19:27:47,147 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 19:27:47,156 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 18 states and 21 transitions. [2024-11-08 19:27:47,157 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 21 transitions. [2024-11-08 19:27:47,162 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-08 19:27:47,162 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 19:27:47,163 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 19:27:47,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:27:47,387 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 19:27:47,438 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:27:47,594 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:27:47,594 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 19:27:47,623 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:27:47,649 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 19:27:47,695 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 07:27:47 ImpRootNode [2024-11-08 19:27:47,695 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 19:27:47,698 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 19:27:47,698 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 19:27:47,698 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 19:27:47,699 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:27:47" (3/4) ... [2024-11-08 19:27:47,703 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 19:27:47,705 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 19:27:47,706 INFO L158 Benchmark]: Toolchain (without parser) took 3132.45ms. Allocated memory was 142.6MB in the beginning and 172.0MB in the end (delta: 29.4MB). Free memory was 109.4MB in the beginning and 134.1MB in the end (delta: -24.7MB). Peak memory consumption was 4.7MB. Max. memory is 16.1GB. [2024-11-08 19:27:47,708 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 113.2MB. Free memory is still 86.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:27:47,709 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1890.02ms. Allocated memory is still 142.6MB. Free memory was 108.8MB in the beginning and 86.0MB in the end (delta: 22.7MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. [2024-11-08 19:27:47,712 INFO L158 Benchmark]: Boogie Procedure Inliner took 58.89ms. Allocated memory is still 142.6MB. Free memory was 86.0MB in the beginning and 83.5MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 19:27:47,713 INFO L158 Benchmark]: Boogie Preprocessor took 37.35ms. Allocated memory is still 142.6MB. Free memory was 83.5MB in the beginning and 81.8MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 19:27:47,714 INFO L158 Benchmark]: RCFGBuilder took 516.62ms. Allocated memory is still 142.6MB. Free memory was 81.8MB in the beginning and 66.7MB in the end (delta: 15.1MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 19:27:47,716 INFO L158 Benchmark]: CodeCheck took 614.35ms. Allocated memory was 142.6MB in the beginning and 172.0MB in the end (delta: 29.4MB). Free memory was 66.7MB in the beginning and 134.1MB in the end (delta: -67.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:27:47,717 INFO L158 Benchmark]: Witness Printer took 7.37ms. Allocated memory is still 172.0MB. Free memory is still 134.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:27:47,723 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 18 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 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.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 9 NumberOfCodeBlocks, 9 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 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: 1578]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1557, overapproximation of large string literal at line 1569, overapproximation of fgets at line 1555. 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); [L1569] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1569] 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] [L1570] CALL CWE191_Integer_Underflow__int_fgets_multiply_51_bad() [L1551] int data; [L1552] data = 0 [L1554] 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] [L1555] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1557] data = atoi(inputBuffer) [L1564] CALL CWE191_Integer_Underflow__int_fgets_multiply_51b_badSink(data) [L1576] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-1073741825, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1578] data * 2 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.35ms. Allocated memory is still 113.2MB. Free memory is still 86.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1890.02ms. Allocated memory is still 142.6MB. Free memory was 108.8MB in the beginning and 86.0MB in the end (delta: 22.7MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 58.89ms. Allocated memory is still 142.6MB. Free memory was 86.0MB in the beginning and 83.5MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 37.35ms. Allocated memory is still 142.6MB. Free memory was 83.5MB in the beginning and 81.8MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 516.62ms. Allocated memory is still 142.6MB. Free memory was 81.8MB in the beginning and 66.7MB in the end (delta: 15.1MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 614.35ms. Allocated memory was 142.6MB in the beginning and 172.0MB in the end (delta: 29.4MB). Free memory was 66.7MB in the beginning and 134.1MB in the end (delta: -67.4MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 7.37ms. Allocated memory is still 172.0MB. Free memory is still 134.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 19:27:47,768 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_51_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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 df05be8d75dbd70ac30927f6a934133d02541668661e133068725c0eec89c4d4 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 19:27:50,563 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 19:27:50,679 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 19:27:50,730 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 19:27:50,731 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 19:27:50,732 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 19:27:50,733 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 19:27:50,734 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 19:27:50,735 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 19:27:50,737 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 19:27:50,738 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 19:27:50,739 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 19:27:50,739 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 19:27:50,740 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 19:27:50,740 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 19:27:50,741 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 19:27:50,741 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 19:27:50,741 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 19:27:50,745 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 19:27:50,746 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 19:27:50,746 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 19:27:50,751 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 19:27:50,751 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 19:27:50,752 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 19:27:50,752 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 19:27:50,752 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 19:27:50,753 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 19:27:50,753 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 19:27:50,753 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 19:27:50,754 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 19:27:50,755 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 19:27:50,756 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 19:27:50,757 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 19:27:50,757 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 19:27:50,758 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 19:27:50,759 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_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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 -> df05be8d75dbd70ac30927f6a934133d02541668661e133068725c0eec89c4d4 [2024-11-08 19:27:51,284 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 19:27:51,327 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 19:27:51,331 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 19:27:51,332 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 19:27:51,333 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 19:27:51,335 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_51_bad.i Unable to find full path for "g++" [2024-11-08 19:27:53,641 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 19:27:54,109 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 19:27:54,112 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_multiply_51_bad.i [2024-11-08 19:27:54,152 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/data/01886adef/132757c083084d8d97043e69c3bd6200/FLAGdb3be7701 [2024-11-08 19:27:54,176 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/data/01886adef/132757c083084d8d97043e69c3bd6200 [2024-11-08 19:27:54,179 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 19:27:54,183 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 19:27:54,185 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 19:27:54,186 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 19:27:54,194 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 19:27:54,197 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 07:27:54" (1/1) ... [2024-11-08 19:27:54,198 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3fb73e76 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:54, skipping insertion in model container [2024-11-08 19:27:54,199 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 07:27:54" (1/1) ... [2024-11-08 19:27:54,290 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 19:27:55,413 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 19:27:55,428 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 19:27:55,523 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 19:27:55,687 INFO L204 MainTranslator]: Completed translation [2024-11-08 19:27:55,687 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55 WrapperNode [2024-11-08 19:27:55,687 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 19:27:55,689 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 19:27:55,689 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 19:27:55,689 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 19:27:55,701 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,732 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,757 INFO L138 Inliner]: procedures = 504, calls = 28, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 66 [2024-11-08 19:27:55,758 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 19:27:55,759 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 19:27:55,759 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 19:27:55,759 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 19:27:55,769 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,770 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,773 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,774 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,782 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,784 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,787 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,788 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,792 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 19:27:55,793 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 19:27:55,793 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 19:27:55,793 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 19:27:55,794 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 07:27:55" (1/1) ... [2024-11-08 19:27:55,800 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 19:27:55,815 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 19:27:55,835 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 19:27:55,871 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 19:27:55,900 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 19:27:55,901 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 19:27:55,901 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-08 19:27:55,901 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 19:27:55,901 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 19:27:55,901 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 19:27:56,099 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 19:27:56,102 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 19:27:56,289 INFO L? ?]: Removed 23 outVars from TransFormulas that were not future-live. [2024-11-08 19:27:56,289 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 19:27:56,351 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 19:27:56,352 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-08 19:27:56,352 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:27:56 BoogieIcfgContainer [2024-11-08 19:27:56,352 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 19:27:56,353 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 19:27:56,353 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 19:27:56,365 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 19:27:56,365 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:27:56" (1/1) ... [2024-11-08 19:27:56,376 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 19:27:56,441 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 19:27:56,449 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 18 states and 21 transitions. [2024-11-08 19:27:56,449 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 21 transitions. [2024-11-08 19:27:56,454 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-08 19:27:56,454 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 19:27:56,456 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 19:27:56,457 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 19:27:56,460 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 19:27:56,462 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 19:27:56,662 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:27:56,663 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 19:27:56,731 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:27:56,839 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:27:56,840 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 19:27:56,866 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 19:27:56,901 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-08 19:27:56,903 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-08 19:27:56,944 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 07:27:56 ImpRootNode [2024-11-08 19:27:56,945 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 19:27:56,947 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 19:27:56,947 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 19:27:56,948 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 19:27:56,949 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 07:27:56" (3/4) ... [2024-11-08 19:27:56,952 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 19:27:56,953 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 19:27:56,954 INFO L158 Benchmark]: Toolchain (without parser) took 2772.81ms. Allocated memory was 90.2MB in the beginning and 115.3MB in the end (delta: 25.2MB). Free memory was 62.8MB in the beginning and 77.2MB in the end (delta: -14.4MB). Peak memory consumption was 12.7MB. Max. memory is 16.1GB. [2024-11-08 19:27:56,955 INFO L158 Benchmark]: CDTParser took 0.26ms. Allocated memory is still 71.3MB. Free memory was 48.3MB in the beginning and 48.2MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:27:56,956 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1502.95ms. Allocated memory is still 90.2MB. Free memory was 62.6MB in the beginning and 43.5MB in the end (delta: 19.1MB). Peak memory consumption was 36.9MB. Max. memory is 16.1GB. [2024-11-08 19:27:56,957 INFO L158 Benchmark]: Boogie Procedure Inliner took 69.24ms. Allocated memory is still 90.2MB. Free memory was 43.5MB in the beginning and 40.1MB in the end (delta: 3.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 19:27:56,958 INFO L158 Benchmark]: Boogie Preprocessor took 33.41ms. Allocated memory is still 90.2MB. Free memory was 40.1MB in the beginning and 38.0MB in the end (delta: 2.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-08 19:27:56,959 INFO L158 Benchmark]: RCFGBuilder took 559.97ms. Allocated memory is still 90.2MB. Free memory was 38.0MB in the beginning and 46.1MB in the end (delta: -8.1MB). Peak memory consumption was 7.7MB. Max. memory is 16.1GB. [2024-11-08 19:27:56,961 INFO L158 Benchmark]: CodeCheck took 591.49ms. Allocated memory was 90.2MB in the beginning and 115.3MB in the end (delta: 25.2MB). Free memory was 46.1MB in the beginning and 77.2MB in the end (delta: -31.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:27:56,961 INFO L158 Benchmark]: Witness Printer took 6.46ms. Allocated memory is still 115.3MB. Free memory is still 77.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 19:27:56,967 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 18 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 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.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 9 NumberOfCodeBlocks, 9 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 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: 1578]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1557, overapproximation of large string literal at line 1569, overapproximation of fgets at line 1555. 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); [L1569] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={3:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1569] 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] [L1570] CALL CWE191_Integer_Underflow__int_fgets_multiply_51_bad() [L1551] int data; [L1552] data = 0 [L1554] 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] [L1555] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1557] data = atoi(inputBuffer) [L1564] CALL CWE191_Integer_Underflow__int_fgets_multiply_51b_badSink(data) [L1576] COND TRUE data < 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1578] data * 2 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.26ms. Allocated memory is still 71.3MB. Free memory was 48.3MB in the beginning and 48.2MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1502.95ms. Allocated memory is still 90.2MB. Free memory was 62.6MB in the beginning and 43.5MB in the end (delta: 19.1MB). Peak memory consumption was 36.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 69.24ms. Allocated memory is still 90.2MB. Free memory was 43.5MB in the beginning and 40.1MB in the end (delta: 3.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 33.41ms. Allocated memory is still 90.2MB. Free memory was 40.1MB in the beginning and 38.0MB in the end (delta: 2.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 559.97ms. Allocated memory is still 90.2MB. Free memory was 38.0MB in the beginning and 46.1MB in the end (delta: -8.1MB). Peak memory consumption was 7.7MB. Max. memory is 16.1GB. * CodeCheck took 591.49ms. Allocated memory was 90.2MB in the beginning and 115.3MB in the end (delta: 25.2MB). Free memory was 46.1MB in the beginning and 77.2MB in the end (delta: -31.1MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.46ms. Allocated memory is still 115.3MB. Free memory is still 77.2MB. 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 19:27:57,011 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_27fabe4a-fbe2-40ae-ae60-a602c76ee99c/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