./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fscanf_postinc_02_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_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/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_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fscanf_postinc_02_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/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_495df046-5b32-4a5f-9485-cf9c0b54ab48/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 ae0d197aa069fcfc8e2917e95998325f2a00940fded6fef6f6a003a0ab738d52 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:40:44,755 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:40:44,818 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-08 22:40:44,823 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-08 22:40:44,823 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-08 22:40:44,847 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:40:44,848 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:40:44,849 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:40:44,849 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:40:44,850 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:40:44,850 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:40:44,851 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:40:44,851 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-08 22:40:44,852 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:40:44,852 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:40:44,852 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:40:44,853 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:40:44,853 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:40:44,853 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:40:44,854 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:40:44,854 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:40:44,859 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:40:44,859 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:40:44,860 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:40:44,860 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:40:44,860 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:40:44,860 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:40:44,861 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:40:44,861 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:40:44,861 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:40:44,862 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-08 22:40:44,862 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-08 22:40:44,866 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_495df046-5b32-4a5f-9485-cf9c0b54ab48/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_495df046-5b32-4a5f-9485-cf9c0b54ab48/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 -> ae0d197aa069fcfc8e2917e95998325f2a00940fded6fef6f6a003a0ab738d52 [2024-11-08 22:40:45,140 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:40:45,173 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:40:45,176 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:40:45,178 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:40:45,178 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:40:45,180 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fscanf_postinc_02_bad.i Unable to find full path for "g++" [2024-11-08 22:40:47,190 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:40:47,533 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:40:47,534 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fscanf_postinc_02_bad.i [2024-11-08 22:40:47,558 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/data/32268796d/7615b3bd7fc64e918ceb70eca35d3883/FLAG9f890c38c [2024-11-08 22:40:47,777 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/data/32268796d/7615b3bd7fc64e918ceb70eca35d3883 [2024-11-08 22:40:47,780 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:40:47,782 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:40:47,784 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:40:47,784 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:40:47,790 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:40:47,791 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:40:47" (1/1) ... [2024-11-08 22:40:47,792 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@15fd3f6c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:47, skipping insertion in model container [2024-11-08 22:40:47,793 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:40:47" (1/1) ... [2024-11-08 22:40:47,855 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:40:48,899 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:40:48,911 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:40:48,992 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:40:49,135 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:40:49,135 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49 WrapperNode [2024-11-08 22:40:49,136 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:40:49,136 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:40:49,137 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:40:49,137 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:40:49,142 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,169 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,205 INFO L138 Inliner]: procedures = 497, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 47 [2024-11-08 22:40:49,206 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:40:49,207 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:40:49,207 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:40:49,207 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:40:49,217 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,217 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,220 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,224 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,228 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,233 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,239 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,240 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,242 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:40:49,246 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:40:49,246 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:40:49,247 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:40:49,247 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,260 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:40:49,286 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:40:49,303 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 22:40:49,311 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 22:40:49,341 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:40:49,341 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:40:49,341 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:40:49,341 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:40:49,341 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:40:49,506 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:40:49,509 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:40:49,650 INFO L? ?]: Removed 20 outVars from TransFormulas that were not future-live. [2024-11-08 22:40:49,651 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:40:49,723 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:40:49,723 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-08 22:40:49,723 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:40:49 BoogieIcfgContainer [2024-11-08 22:40:49,724 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:40:49,724 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:40:49,725 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:40:49,736 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:40:49,737 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:40:49" (1/1) ... [2024-11-08 22:40:49,744 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:40:49,786 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:40:49,792 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-08 22:40:49,793 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-08 22:40:49,797 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-08 22:40:49,797 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:40:49,798 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:40:49,917 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:40:50,072 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 22:40:50,192 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:40:50,193 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 13 transitions. [2024-11-08 22:40:50,193 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 13 transitions. [2024-11-08 22:40:50,193 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-08 22:40:50,194 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:40:50,194 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-08 22:40:50,246 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:40:50,250 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:40:50,272 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:40:50,342 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:40:50,343 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:40:50,365 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:40:50,385 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-08 22:40:50,410 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:40:50 ImpRootNode [2024-11-08 22:40:50,410 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:40:50,411 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:40:50,411 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:40:50,412 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:40:50,412 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:40:49" (3/4) ... [2024-11-08 22:40:50,415 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:40:50,417 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:40:50,417 INFO L158 Benchmark]: Toolchain (without parser) took 2635.58ms. Allocated memory is still 155.2MB. Free memory was 111.4MB in the beginning and 109.8MB in the end (delta: 1.6MB). Peak memory consumption was 3.9MB. Max. memory is 16.1GB. [2024-11-08 22:40:50,418 INFO L158 Benchmark]: CDTParser took 0.36ms. Allocated memory is still 125.8MB. Free memory is still 74.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:40:50,419 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1352.36ms. Allocated memory is still 155.2MB. Free memory was 110.9MB in the beginning and 92.2MB in the end (delta: 18.7MB). Peak memory consumption was 45.5MB. Max. memory is 16.1GB. [2024-11-08 22:40:50,419 INFO L158 Benchmark]: Boogie Procedure Inliner took 69.74ms. Allocated memory is still 155.2MB. Free memory was 91.4MB in the beginning and 89.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:40:50,420 INFO L158 Benchmark]: Boogie Preprocessor took 38.69ms. Allocated memory is still 155.2MB. Free memory was 89.3MB in the beginning and 88.0MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:40:50,421 INFO L158 Benchmark]: RCFGBuilder took 477.76ms. Allocated memory is still 155.2MB. Free memory was 87.2MB in the beginning and 73.8MB in the end (delta: 13.4MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-11-08 22:40:50,421 INFO L158 Benchmark]: CodeCheck took 686.21ms. Allocated memory is still 155.2MB. Free memory was 73.8MB in the beginning and 109.8MB in the end (delta: -36.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:40:50,422 INFO L158 Benchmark]: Witness Printer took 5.51ms. Allocated memory is still 155.2MB. Free memory is still 109.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:40:50,428 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, 14 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.6s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 13 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 4 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 11 IncrementalHoareTripleChecker+Invalid, 15 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 4 mSDtfsCounter, 11 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 45 GetRequests, 41 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 15 NumberOfCodeBlocks, 15 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 6 ConstructedInterpolants, 0 QuantifiedInterpolants, 14 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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: 1559]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of large string literal at line 1568. 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); [L1568] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={1:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1568] 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] [L1569] CALL CWE190_Integer_Overflow__int_fscanf_postinc_02_bad() [L1550] int data; [L1551] data = 0 [L1559] data++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.36ms. Allocated memory is still 125.8MB. Free memory is still 74.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1352.36ms. Allocated memory is still 155.2MB. Free memory was 110.9MB in the beginning and 92.2MB in the end (delta: 18.7MB). Peak memory consumption was 45.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 69.74ms. Allocated memory is still 155.2MB. Free memory was 91.4MB in the beginning and 89.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 38.69ms. Allocated memory is still 155.2MB. Free memory was 89.3MB in the beginning and 88.0MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 477.76ms. Allocated memory is still 155.2MB. Free memory was 87.2MB in the beginning and 73.8MB in the end (delta: 13.4MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * CodeCheck took 686.21ms. Allocated memory is still 155.2MB. Free memory was 73.8MB in the beginning and 109.8MB in the end (delta: -36.0MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.51ms. Allocated memory is still 155.2MB. Free memory is still 109.8MB. There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-08 22:40:50,457 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/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_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/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_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fscanf_postinc_02_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/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_495df046-5b32-4a5f-9485-cf9c0b54ab48/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 ae0d197aa069fcfc8e2917e95998325f2a00940fded6fef6f6a003a0ab738d52 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-08 22:40:52,935 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-08 22:40:53,035 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-08 22:40:53,084 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-08 22:40:53,085 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-08 22:40:53,086 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-08 22:40:53,086 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-08 22:40:53,087 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-08 22:40:53,088 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-08 22:40:53,088 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-08 22:40:53,088 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-08 22:40:53,089 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-08 22:40:53,090 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-08 22:40:53,092 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-08 22:40:53,095 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-08 22:40:53,096 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-08 22:40:53,096 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-08 22:40:53,096 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-08 22:40:53,097 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-08 22:40:53,097 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-08 22:40:53,098 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-08 22:40:53,098 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-08 22:40:53,101 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-08 22:40:53,101 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-08 22:40:53,102 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-08 22:40:53,102 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:40:53,102 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-08 22:40:53,103 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-08 22:40:53,103 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:40:53,104 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-08 22:40:53,104 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-08 22:40:53,104 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-08 22:40:53,105 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-08 22:40:53,105 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-08 22:40:53,105 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-08 22:40:53,106 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_495df046-5b32-4a5f-9485-cf9c0b54ab48/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_495df046-5b32-4a5f-9485-cf9c0b54ab48/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 -> ae0d197aa069fcfc8e2917e95998325f2a00940fded6fef6f6a003a0ab738d52 [2024-11-08 22:40:53,562 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-08 22:40:53,588 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-08 22:40:53,592 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-08 22:40:53,593 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-08 22:40:53,594 INFO L274 PluginConnector]: CDTParser initialized [2024-11-08 22:40:53,596 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fscanf_postinc_02_bad.i Unable to find full path for "g++" [2024-11-08 22:40:55,682 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-08 22:40:56,140 INFO L384 CDTParser]: Found 1 translation units. [2024-11-08 22:40:56,141 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fscanf_postinc_02_bad.i [2024-11-08 22:40:56,171 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/data/e109d2a1e/5b636119e0824713907b89b83f70a2af/FLAGfb27ecbc1 [2024-11-08 22:40:56,198 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/data/e109d2a1e/5b636119e0824713907b89b83f70a2af [2024-11-08 22:40:56,201 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-08 22:40:56,202 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-08 22:40:56,204 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-08 22:40:56,204 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-08 22:40:56,210 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-08 22:40:56,211 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:40:56" (1/1) ... [2024-11-08 22:40:56,212 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@552ba90b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:56, skipping insertion in model container [2024-11-08 22:40:56,213 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.11 10:40:56" (1/1) ... [2024-11-08 22:40:56,285 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-08 22:40:57,395 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:40:57,408 INFO L200 MainTranslator]: Completed pre-run [2024-11-08 22:40:57,496 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-08 22:40:57,632 INFO L204 MainTranslator]: Completed translation [2024-11-08 22:40:57,633 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57 WrapperNode [2024-11-08 22:40:57,633 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-08 22:40:57,634 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-08 22:40:57,634 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-08 22:40:57,635 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-08 22:40:57,643 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,676 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,710 INFO L138 Inliner]: procedures = 502, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 46 [2024-11-08 22:40:57,711 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-08 22:40:57,712 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-08 22:40:57,712 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-08 22:40:57,712 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-08 22:40:57,722 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,723 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,726 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,731 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,742 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,744 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,747 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,748 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,752 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-08 22:40:57,753 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-08 22:40:57,753 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-08 22:40:57,753 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-08 22:40:57,754 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.11 10:40:57" (1/1) ... [2024-11-08 22:40:57,760 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-08 22:40:57,784 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-08 22:40:57,807 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-08 22:40:57,812 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-08 22:40:57,844 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-08 22:40:57,845 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-08 22:40:57,845 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-08 22:40:57,845 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-08 22:40:57,845 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-08 22:40:58,018 INFO L238 CfgBuilder]: Building ICFG [2024-11-08 22:40:58,020 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-08 22:40:58,153 INFO L? ?]: Removed 19 outVars from TransFormulas that were not future-live. [2024-11-08 22:40:58,154 INFO L287 CfgBuilder]: Performing block encoding [2024-11-08 22:40:58,241 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-08 22:40:58,241 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-08 22:40:58,242 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:40:58 BoogieIcfgContainer [2024-11-08 22:40:58,242 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-08 22:40:58,243 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-08 22:40:58,244 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-08 22:40:58,255 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-08 22:40:58,256 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:40:58" (1/1) ... [2024-11-08 22:40:58,268 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-08 22:40:58,328 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:40:58,339 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-08 22:40:58,340 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-08 22:40:58,345 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-08 22:40:58,345 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:40:58,346 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:40:58,347 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:40:58,350 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:40:58,353 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-08 22:40:58,525 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:40:58,528 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-08 22:40:58,556 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-08 22:40:58,559 INFO L255 TraceCheckSpWp]: Trace formula consists of 30 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-08 22:40:58,564 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-08 22:40:58,591 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-08 22:40:58,599 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-08 22:40:58,630 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-08 22:40:58,631 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 13 transitions. [2024-11-08 22:40:58,632 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 13 transitions. [2024-11-08 22:40:58,632 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-08 22:40:58,632 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-08 22:40:58,632 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-08 22:40:58,632 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-08 22:40:58,636 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-08 22:40:58,637 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-08 22:40:58,816 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:40:58,816 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:40:58,862 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:40:58,923 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:40:58,923 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-08 22:40:58,944 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-08 22:40:58,971 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-08 22:40:58,972 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-08 22:40:59,007 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 08.11 10:40:59 ImpRootNode [2024-11-08 22:40:59,007 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-08 22:40:59,008 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-08 22:40:59,008 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-08 22:40:59,008 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-08 22:40:59,009 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.11 10:40:58" (3/4) ... [2024-11-08 22:40:59,012 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-08 22:40:59,013 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-08 22:40:59,015 INFO L158 Benchmark]: Toolchain (without parser) took 2811.74ms. Allocated memory was 75.5MB in the beginning and 100.7MB in the end (delta: 25.2MB). Free memory was 47.3MB in the beginning and 62.1MB in the end (delta: -14.8MB). Peak memory consumption was 12.1MB. Max. memory is 16.1GB. [2024-11-08 22:40:59,015 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 75.5MB. Free memory was 51.2MB in the beginning and 51.2MB in the end (delta: 94.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:40:59,017 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1429.51ms. Allocated memory was 75.5MB in the beginning and 100.7MB in the end (delta: 25.2MB). Free memory was 47.1MB in the beginning and 46.2MB in the end (delta: 870.2kB). Peak memory consumption was 26.7MB. Max. memory is 16.1GB. [2024-11-08 22:40:59,018 INFO L158 Benchmark]: Boogie Procedure Inliner took 77.11ms. Allocated memory is still 100.7MB. Free memory was 46.2MB in the beginning and 71.2MB in the end (delta: -24.9MB). Peak memory consumption was 7.4MB. Max. memory is 16.1GB. [2024-11-08 22:40:59,018 INFO L158 Benchmark]: Boogie Preprocessor took 40.33ms. Allocated memory is still 100.7MB. Free memory was 71.2MB in the beginning and 69.6MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:40:59,019 INFO L158 Benchmark]: RCFGBuilder took 489.26ms. Allocated memory is still 100.7MB. Free memory was 69.1MB in the beginning and 53.3MB in the end (delta: 15.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-08 22:40:59,020 INFO L158 Benchmark]: CodeCheck took 764.41ms. Allocated memory is still 100.7MB. Free memory was 53.3MB in the beginning and 62.8MB in the end (delta: -9.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-08 22:40:59,021 INFO L158 Benchmark]: Witness Printer took 5.32ms. Allocated memory is still 100.7MB. Free memory was 62.8MB in the beginning and 62.1MB in the end (delta: 624.0kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-08 22:40:59,027 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, 14 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.7s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 17 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 6 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3 IncrementalHoareTripleChecker+Invalid, 3 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 6 mSDtfsCounter, 3 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 46 GetRequests, 46 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, 15 NumberOfCodeBlocks, 15 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 6 ConstructedInterpolants, 0 QuantifiedInterpolants, 6 SizeOfPredicates, 0 NumberOfNonLiveVariables, 30 ConjunctsInSsa, 1 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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: 1559]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of large string literal at line 1568. 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); [L1568] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={1:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1568] 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] [L1569] CALL CWE190_Integer_Overflow__int_fscanf_postinc_02_bad() [L1550] int data; [L1551] data = 0 [L1559] data++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.35ms. Allocated memory is still 75.5MB. Free memory was 51.2MB in the beginning and 51.2MB in the end (delta: 94.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1429.51ms. Allocated memory was 75.5MB in the beginning and 100.7MB in the end (delta: 25.2MB). Free memory was 47.1MB in the beginning and 46.2MB in the end (delta: 870.2kB). Peak memory consumption was 26.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 77.11ms. Allocated memory is still 100.7MB. Free memory was 46.2MB in the beginning and 71.2MB in the end (delta: -24.9MB). Peak memory consumption was 7.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 40.33ms. Allocated memory is still 100.7MB. Free memory was 71.2MB in the beginning and 69.6MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 489.26ms. Allocated memory is still 100.7MB. Free memory was 69.1MB in the beginning and 53.3MB in the end (delta: 15.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 764.41ms. Allocated memory is still 100.7MB. Free memory was 53.3MB in the beginning and 62.8MB in the end (delta: -9.4MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.32ms. Allocated memory is still 100.7MB. Free memory was 62.8MB in the beginning and 62.1MB in the end (delta: 624.0kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-08 22:40:59,071 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_495df046-5b32-4a5f-9485-cf9c0b54ab48/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