./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_17_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm --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 0a8c14371ace8836790ae923a60e10c38311139c7ebd218dd2592fea3c4c0de9 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:14:10,253 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:14:10,373 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 21:14:10,379 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:14:10,379 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:14:10,407 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:14:10,408 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:14:10,408 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:14:10,409 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:14:10,409 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:14:10,409 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:14:10,409 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:14:10,409 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:14:10,410 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:14:10,410 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:14:10,410 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:14:10,410 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:14:10,410 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:14:10,411 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:14:10,411 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:14:10,411 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:14:10,411 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:14:10,411 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:14:10,411 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:14:10,411 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:14:10,412 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:14:10,412 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:14:10,412 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:14:10,412 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:14:10,412 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:14:10,412 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:14:10,413 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:14:10,413 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm 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 -> 0a8c14371ace8836790ae923a60e10c38311139c7ebd218dd2592fea3c4c0de9 [2024-11-13 21:14:10,845 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:14:10,861 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:14:10,868 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:14:10,870 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:14:10,871 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:14:10,872 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_17_bad.i Unable to find full path for "g++" [2024-11-13 21:14:13,294 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:14:13,952 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:14:13,953 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_17_bad.i [2024-11-13 21:14:13,983 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/data/2db76dd98/2064eb3d316b46f2bb089be6f1de2fbb/FLAGb590bd486 [2024-11-13 21:14:14,013 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/data/2db76dd98/2064eb3d316b46f2bb089be6f1de2fbb [2024-11-13 21:14:14,016 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:14:14,018 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:14:14,020 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:14:14,021 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:14:14,026 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:14:14,028 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:14:14" (1/1) ... [2024-11-13 21:14:14,029 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5cf7fcd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:14, skipping insertion in model container [2024-11-13 21:14:14,030 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:14:14" (1/1) ... [2024-11-13 21:14:14,093 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:14:15,476 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:14:15,488 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:14:15,594 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:14:15,765 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:14:15,767 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15 WrapperNode [2024-11-13 21:14:15,767 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:14:15,769 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:14:15,769 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:14:15,769 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:14:15,779 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,809 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,838 INFO L138 Inliner]: procedures = 498, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 85 [2024-11-13 21:14:15,839 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:14:15,843 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:14:15,843 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:14:15,843 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:14:15,852 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,852 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,855 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,856 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,862 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,867 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,868 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,870 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,873 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:14:15,874 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:14:15,874 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:14:15,874 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:14:15,875 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:15" (1/1) ... [2024-11-13 21:14:15,886 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:14:15,910 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:14:15,925 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:14:15,928 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:14:15,956 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:14:15,956 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:14:15,956 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:14:15,957 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:14:15,957 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:14:15,957 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 21:14:16,230 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:14:16,232 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:14:16,426 INFO L? ?]: Removed 27 outVars from TransFormulas that were not future-live. [2024-11-13 21:14:16,426 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:14:16,508 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:14:16,508 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 21:14:16,509 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:14:16 BoogieIcfgContainer [2024-11-13 21:14:16,509 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:14:16,510 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:14:16,510 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:14:16,526 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:14:16,526 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:14:16" (1/1) ... [2024-11-13 21:14:16,541 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:14:16,595 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:16,610 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 28 states and 33 transitions. [2024-11-13 21:14:16,612 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 33 transitions. [2024-11-13 21:14:16,618 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:14:16,618 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:16,620 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:14:16,779 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:17,110 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-13 21:14:17,206 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:17,207 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 32 states and 40 transitions. [2024-11-13 21:14:17,207 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 40 transitions. [2024-11-13 21:14:17,208 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 21:14:17,208 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:17,208 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:14:17,247 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:17,367 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-13 21:14:17,406 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:17,410 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 33 states and 41 transitions. [2024-11-13 21:14:17,410 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 41 transitions. [2024-11-13 21:14:17,411 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 21:14:17,411 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:17,411 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:14:17,446 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:17,538 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 21:14:17,562 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:17,563 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 35 states and 43 transitions. [2024-11-13 21:14:17,564 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 43 transitions. [2024-11-13 21:14:17,565 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 21:14:17,565 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:17,565 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:14:17,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:17,812 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 3 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:14:17,909 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:17,911 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 27 states and 31 transitions. [2024-11-13 21:14:17,911 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 31 transitions. [2024-11-13 21:14:17,912 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 21:14:17,912 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:17,913 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:14:17,946 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:18,028 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-11-13 21:14:18,069 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:18,071 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 26 states and 30 transitions. [2024-11-13 21:14:18,071 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 30 transitions. [2024-11-13 21:14:18,071 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-13 21:14:18,072 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:18,072 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:14:18,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:14:18,110 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:14:18,130 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:14:18,245 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:14:18,245 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:14:18,267 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:14:18,299 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-13 21:14:18,347 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:14:18 ImpRootNode [2024-11-13 21:14:18,348 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:14:18,349 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:14:18,349 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:14:18,349 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:14:18,351 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:14:16" (3/4) ... [2024-11-13 21:14:18,354 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:14:18,355 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:14:18,360 INFO L158 Benchmark]: Toolchain (without parser) took 4338.43ms. Allocated memory is still 142.6MB. Free memory was 115.8MB in the beginning and 83.7MB in the end (delta: 32.1MB). Peak memory consumption was 33.7MB. Max. memory is 16.1GB. [2024-11-13 21:14:18,360 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 167.8MB. Free memory is still 105.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:14:18,361 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1747.95ms. Allocated memory is still 142.6MB. Free memory was 115.8MB in the beginning and 55.1MB in the end (delta: 60.8MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2024-11-13 21:14:18,361 INFO L158 Benchmark]: Boogie Procedure Inliner took 70.35ms. Allocated memory is still 142.6MB. Free memory was 55.1MB in the beginning and 52.7MB in the end (delta: 2.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:14:18,362 INFO L158 Benchmark]: Boogie Preprocessor took 30.38ms. Allocated memory is still 142.6MB. Free memory was 52.7MB in the beginning and 51.3MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:14:18,362 INFO L158 Benchmark]: RCFGBuilder took 635.09ms. Allocated memory is still 142.6MB. Free memory was 51.3MB in the beginning and 104.6MB in the end (delta: -53.2MB). Peak memory consumption was 13.9MB. Max. memory is 16.1GB. [2024-11-13 21:14:18,367 INFO L158 Benchmark]: CodeCheck took 1838.22ms. Allocated memory is still 142.6MB. Free memory was 104.6MB in the beginning and 83.7MB in the end (delta: 20.9MB). Peak memory consumption was 19.8MB. Max. memory is 16.1GB. [2024-11-13 21:14:18,367 INFO L158 Benchmark]: Witness Printer took 7.10ms. Allocated memory is still 142.6MB. Free memory was 83.7MB in the beginning and 83.7MB in the end (delta: 13.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:14:18,370 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, 28 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 1.7s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 136 SdHoareTripleChecker+Valid, 0.5s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 40 mSDsluCounter, 103 SdHoareTripleChecker+Invalid, 0.4s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 32 mSDsCounter, 41 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 130 IncrementalHoareTripleChecker+Invalid, 171 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 41 mSolverCounterUnsat, 71 mSDtfsCounter, 130 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 431 GetRequests, 421 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 11 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.8s InterpolantComputationTime, 75 NumberOfCodeBlocks, 75 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 55 ConstructedInterpolants, 0 QuantifiedInterpolants, 99 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 4 PerfectInterpolantSequences, 6/7 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: 1571]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of large string literal at line 1579, overapproximation of fgets at line 1557. 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); [L1579] 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) [L1579] 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] [L1580] CALL CWE190_Integer_Overflow__int_fgets_multiply_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1556] 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, i=0] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1553] i++ VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1567] COND TRUE j < 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1569] COND TRUE data > 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=1073741824, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, j=0] [L1571] 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, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.35ms. Allocated memory is still 167.8MB. Free memory is still 105.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1747.95ms. Allocated memory is still 142.6MB. Free memory was 115.8MB in the beginning and 55.1MB in the end (delta: 60.8MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 70.35ms. Allocated memory is still 142.6MB. Free memory was 55.1MB in the beginning and 52.7MB in the end (delta: 2.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 30.38ms. Allocated memory is still 142.6MB. Free memory was 52.7MB in the beginning and 51.3MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 635.09ms. Allocated memory is still 142.6MB. Free memory was 51.3MB in the beginning and 104.6MB in the end (delta: -53.2MB). Peak memory consumption was 13.9MB. Max. memory is 16.1GB. * CodeCheck took 1838.22ms. Allocated memory is still 142.6MB. Free memory was 104.6MB in the beginning and 83.7MB in the end (delta: 20.9MB). Peak memory consumption was 19.8MB. Max. memory is 16.1GB. * Witness Printer took 7.10ms. Allocated memory is still 142.6MB. Free memory was 83.7MB in the beginning and 83.7MB in the end (delta: 13.7kB). 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-13 21:14:18,418 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/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/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_17_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm --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 0a8c14371ace8836790ae923a60e10c38311139c7ebd218dd2592fea3c4c0de9 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:14:21,686 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:14:21,878 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 21:14:21,933 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:14:21,935 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:14:21,935 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:14:21,935 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:14:21,936 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:14:21,936 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:14:21,936 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:14:21,936 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:14:21,936 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:14:21,936 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:14:21,936 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:14:21,937 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 21:14:21,937 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 21:14:21,937 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:14:21,937 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 21:14:21,937 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 21:14:21,937 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 21:14:21,939 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:14:21,939 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:14:21,940 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:14:21,940 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:14:21,940 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:14:21,940 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:14:21,940 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 21:14:21,940 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:14:21,940 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:14:21,940 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:14:21,941 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:14:21,941 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:14:21,941 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 21:14:21,941 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 21:14:21,941 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 21:14:21,941 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm 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 -> 0a8c14371ace8836790ae923a60e10c38311139c7ebd218dd2592fea3c4c0de9 [2024-11-13 21:14:22,371 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:14:22,381 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:14:22,384 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:14:22,386 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:14:22,386 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:14:22,389 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_17_bad.i Unable to find full path for "g++" [2024-11-13 21:14:24,757 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:14:25,243 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:14:25,247 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_17_bad.i [2024-11-13 21:14:25,297 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/data/a49a0558a/70e9c7eab63145e0a248f6eef7f92664/FLAG336c3489c [2024-11-13 21:14:25,323 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/data/a49a0558a/70e9c7eab63145e0a248f6eef7f92664 [2024-11-13 21:14:25,326 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:14:25,327 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:14:25,329 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:14:25,329 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:14:25,333 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:14:25,334 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:14:25" (1/1) ... [2024-11-13 21:14:25,336 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2754bf99 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:25, skipping insertion in model container [2024-11-13 21:14:25,336 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:14:25" (1/1) ... [2024-11-13 21:14:25,409 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:14:26,595 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:14:26,614 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:14:26,749 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:14:26,965 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:14:26,966 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26 WrapperNode [2024-11-13 21:14:26,966 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:14:26,967 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:14:26,967 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:14:26,967 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:14:26,975 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,003 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,047 INFO L138 Inliner]: procedures = 503, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 84 [2024-11-13 21:14:27,048 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:14:27,049 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:14:27,049 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:14:27,049 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:14:27,060 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,061 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,066 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,071 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,087 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,091 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,095 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,096 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,101 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:14:27,102 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:14:27,102 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:14:27,102 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:14:27,104 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:14:26" (1/1) ... [2024-11-13 21:14:27,112 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:14:27,128 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:14:27,140 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:14:27,145 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:14:27,174 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 21:14:27,174 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 21:14:27,175 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-13 21:14:27,175 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:14:27,175 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:14:27,175 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:14:27,374 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:14:27,376 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:14:27,666 INFO L? ?]: Removed 25 outVars from TransFormulas that were not future-live. [2024-11-13 21:14:27,666 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:14:27,757 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:14:27,761 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-13 21:14:27,761 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:14:27 BoogieIcfgContainer [2024-11-13 21:14:27,762 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:14:27,763 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:14:27,763 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:14:27,776 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:14:27,777 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:14:27" (1/1) ... [2024-11-13 21:14:27,786 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:14:27,849 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:27,863 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 28 states and 33 transitions. [2024-11-13 21:14:27,865 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 33 transitions. [2024-11-13 21:14:27,871 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:14:27,872 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:27,873 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:14:27,873 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:14:27,876 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:14:27,880 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 21:14:28,141 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:28,145 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:14:28,217 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:28,221 INFO L255 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 21:14:28,226 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:14:28,257 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-13 21:14:28,260 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 21:14:28,262 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 21:14:28,299 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:28,300 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 27 states and 32 transitions. [2024-11-13 21:14:28,300 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 32 transitions. [2024-11-13 21:14:28,301 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:14:28,301 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:28,302 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:14:28,302 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:14:28,305 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:14:28,308 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 21:14:28,499 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:28,500 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:14:28,534 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:28,536 INFO L255 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 21:14:28,537 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:14:28,563 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-13 21:14:28,566 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 21:14:28,612 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:28,612 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 26 states and 31 transitions. [2024-11-13 21:14:28,612 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 31 transitions. [2024-11-13 21:14:28,613 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 21:14:28,613 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:28,613 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:14:28,613 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:14:28,620 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:14:28,623 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2024-11-13 21:14:28,853 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:28,853 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:14:28,916 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:28,918 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 21:14:28,920 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:14:28,996 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-13 21:14:28,999 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 21:14:29,000 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (4)] Ended with exit code 0 [2024-11-13 21:14:29,117 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:29,118 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 31 states and 39 transitions. [2024-11-13 21:14:29,119 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 39 transitions. [2024-11-13 21:14:29,119 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 21:14:29,120 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:29,120 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:14:29,120 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:14:29,123 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:14:29,126 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2024-11-13 21:14:29,326 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:29,326 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:14:29,383 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:29,385 INFO L255 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-13 21:14:29,388 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:14:29,432 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 21:14:29,436 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 21:14:29,437 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (5)] Ended with exit code 0 [2024-11-13 21:14:29,464 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:29,464 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 33 states and 41 transitions. [2024-11-13 21:14:29,464 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 41 transitions. [2024-11-13 21:14:29,465 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-13 21:14:29,465 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:29,465 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:14:29,465 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:14:29,468 INFO L229 MonitoredProcess]: Starting monitored process 6 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:14:29,471 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (6)] Waiting until timeout for monitored process [2024-11-13 21:14:29,702 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:29,703 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 21:14:29,760 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:14:29,762 INFO L255 TraceCheckSpWp]: Trace formula consists of 76 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-11-13 21:14:29,764 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 21:14:29,830 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 4 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:14:29,834 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (6)] Forceful destruction successful, exit code 0 [2024-11-13 21:14:29,935 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:14:29,935 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 26 states and 30 transitions. [2024-11-13 21:14:29,936 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 30 transitions. [2024-11-13 21:14:29,936 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-13 21:14:29,936 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:14:29,937 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 21:14:29,937 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 21:14:29,940 INFO L229 MonitoredProcess]: Starting monitored process 7 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 21:14:29,943 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (7)] Waiting until timeout for monitored process [2024-11-13 21:14:30,178 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:14:30,178 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:14:30,264 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:14:30,385 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:14:30,385 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:14:30,423 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:14:30,470 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (7)] Ended with exit code 0 [2024-11-13 21:14:30,471 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 6 iterations. [2024-11-13 21:14:30,523 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:14:30 ImpRootNode [2024-11-13 21:14:30,523 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:14:30,524 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:14:30,524 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:14:30,525 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:14:30,526 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:14:27" (3/4) ... [2024-11-13 21:14:30,529 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 21:14:30,530 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:14:30,531 INFO L158 Benchmark]: Toolchain (without parser) took 5203.88ms. Allocated memory is still 117.4MB. Free memory was 88.8MB in the beginning and 52.1MB in the end (delta: 36.7MB). Peak memory consumption was 37.5MB. Max. memory is 16.1GB. [2024-11-13 21:14:30,531 INFO L158 Benchmark]: CDTParser took 0.56ms. Allocated memory is still 83.9MB. Free memory is still 64.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:14:30,532 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1637.84ms. Allocated memory is still 117.4MB. Free memory was 88.8MB in the beginning and 76.5MB in the end (delta: 12.3MB). Peak memory consumption was 66.6MB. Max. memory is 16.1GB. [2024-11-13 21:14:30,532 INFO L158 Benchmark]: Boogie Procedure Inliner took 80.76ms. Allocated memory is still 117.4MB. Free memory was 75.7MB in the beginning and 73.4MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:14:30,537 INFO L158 Benchmark]: Boogie Preprocessor took 52.45ms. Allocated memory is still 117.4MB. Free memory was 73.4MB in the beginning and 71.9MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:14:30,537 INFO L158 Benchmark]: RCFGBuilder took 659.92ms. Allocated memory is still 117.4MB. Free memory was 71.9MB in the beginning and 53.8MB in the end (delta: 18.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 21:14:30,538 INFO L158 Benchmark]: CodeCheck took 2760.71ms. Allocated memory is still 117.4MB. Free memory was 53.8MB in the beginning and 52.1MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:14:30,538 INFO L158 Benchmark]: Witness Printer took 5.96ms. Allocated memory is still 117.4MB. Free memory was 52.1MB in the beginning and 52.1MB in the end (delta: 7.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:14:30,542 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, 28 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 2.7s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 190 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 26 mSDsluCounter, 126 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 20 mSDsCounter, 29 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 104 IncrementalHoareTripleChecker+Invalid, 133 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 29 mSolverCounterUnsat, 106 mSDtfsCounter, 104 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 447 GetRequests, 437 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 72 NumberOfCodeBlocks, 72 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 52 ConstructedInterpolants, 0 QuantifiedInterpolants, 90 SizeOfPredicates, 0 NumberOfNonLiveVariables, 284 ConjunctsInSsa, 13 ConjunctsInUnsatCore, 5 InterpolantComputations, 4 PerfectInterpolantSequences, 6/7 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: 1571]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559, overapproximation of large string literal at line 1579, overapproximation of fgets at line 1557. 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); [L1579] 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) [L1579] 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] [L1580] CALL CWE190_Integer_Overflow__int_fgets_multiply_17_bad() [L1550] int i,j; [L1551] int data; [L1552] data = 0 [L1553] i = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, i=0] [L1553] COND TRUE i < 1 [L1556] 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, i=0] [L1557] COND TRUE fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] data = atoi(inputBuffer) [L1553] i++ 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, i=1] [L1553] COND FALSE !(i < 1) [L1567] j = 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, j=0] [L1567] COND TRUE j < 1 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, j=0] [L1569] 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, j=0] [L1571] 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, j=0] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.56ms. Allocated memory is still 83.9MB. Free memory is still 64.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1637.84ms. Allocated memory is still 117.4MB. Free memory was 88.8MB in the beginning and 76.5MB in the end (delta: 12.3MB). Peak memory consumption was 66.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 80.76ms. Allocated memory is still 117.4MB. Free memory was 75.7MB in the beginning and 73.4MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 52.45ms. Allocated memory is still 117.4MB. Free memory was 73.4MB in the beginning and 71.9MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 659.92ms. Allocated memory is still 117.4MB. Free memory was 71.9MB in the beginning and 53.8MB in the end (delta: 18.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * CodeCheck took 2760.71ms. Allocated memory is still 117.4MB. Free memory was 53.8MB in the beginning and 52.1MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.96ms. Allocated memory is still 117.4MB. Free memory was 52.1MB in the beginning and 52.1MB in the end (delta: 7.1kB). 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-13 21:14:30,581 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d18888d5-7baa-4d8e-8922-19de3722ac38/bin/ukojak-verify-EEHR8qb7sm/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