./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_11_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 0e0057cc 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_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_11_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi --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 8bf7a6a41434023d5fc39841ce049ae649f51ab7e37e83c0c7aaceb626bb7505 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 23:12:33,759 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 23:12:33,869 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-24 23:12:33,882 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 23:12:33,883 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-24 23:12:33,923 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 23:12:33,924 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 23:12:33,925 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 23:12:33,926 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 23:12:33,927 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 23:12:33,928 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 23:12:33,928 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 23:12:33,929 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 23:12:33,930 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 23:12:33,930 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 23:12:33,931 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 23:12:33,932 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 23:12:33,932 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 23:12:33,933 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 23:12:33,934 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 23:12:33,935 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 23:12:33,936 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 23:12:33,936 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 23:12:33,937 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 23:12:33,937 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 23:12:33,938 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:12:33,939 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 23:12:33,939 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 23:12:33,940 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 23:12:33,940 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-24 23:12:33,941 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 23:12:33,941 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 23:12:33,942 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_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/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_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi 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 -> 8bf7a6a41434023d5fc39841ce049ae649f51ab7e37e83c0c7aaceb626bb7505 [2023-11-24 23:12:34,273 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 23:12:34,301 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 23:12:34,303 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 23:12:34,305 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 23:12:34,305 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 23:12:34,307 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_11_bad.i [2023-11-24 23:12:37,430 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 23:12:37,956 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 23:12:37,957 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_11_bad.i [2023-11-24 23:12:37,993 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/data/11308bf3a/1bc92559e3ea4aeb90307b60639e970c/FLAG036c79abf [2023-11-24 23:12:38,015 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/data/11308bf3a/1bc92559e3ea4aeb90307b60639e970c [2023-11-24 23:12:38,021 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 23:12:38,022 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 23:12:38,026 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 23:12:38,027 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 23:12:38,032 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 23:12:38,032 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:12:38" (1/1) ... [2023-11-24 23:12:38,034 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@771929fe and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:38, skipping insertion in model container [2023-11-24 23:12:38,035 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:12:38" (1/1) ... [2023-11-24 23:12:38,118 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 23:12:39,168 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:12:39,181 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 23:12:39,284 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:12:39,481 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:39,482 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:39,482 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:39,482 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:39,482 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:39,491 INFO L206 MainTranslator]: Completed translation [2023-11-24 23:12:39,497 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39 WrapperNode [2023-11-24 23:12:39,497 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 23:12:39,499 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 23:12:39,499 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 23:12:39,499 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 23:12:39,507 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,580 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,623 INFO L138 Inliner]: procedures = 499, calls = 65, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 68 [2023-11-24 23:12:39,626 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 23:12:39,627 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 23:12:39,627 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 23:12:39,627 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 23:12:39,637 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,637 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,656 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,656 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,678 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,680 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,682 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,684 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,687 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 23:12:39,688 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 23:12:39,694 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 23:12:39,694 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 23:12:39,695 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:39" (1/1) ... [2023-11-24 23:12:39,701 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:12:39,718 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 23:12:39,732 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 23:12:39,760 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 23:12:39,781 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 23:12:39,782 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 23:12:39,783 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 23:12:39,783 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrue [2023-11-24 23:12:39,784 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrue [2023-11-24 23:12:39,784 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 23:12:39,784 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-24 23:12:39,784 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 23:12:39,785 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 23:12:39,785 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 23:12:39,785 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 23:12:39,785 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 23:12:39,786 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-24 23:12:39,940 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 23:12:39,942 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 23:12:40,102 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 23:12:40,148 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 23:12:40,149 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 23:12:40,150 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:12:40 BoogieIcfgContainer [2023-11-24 23:12:40,151 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 23:12:40,152 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 23:12:40,152 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 23:12:40,163 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 23:12:40,163 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:12:40" (1/1) ... [2023-11-24 23:12:40,173 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:12:40,225 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:12:40,233 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 26 states and 32 transitions. [2023-11-24 23:12:40,234 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 32 transitions. [2023-11-24 23:12:40,239 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2023-11-24 23:12:40,239 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:12:40,240 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:12:40,377 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:12:40,649 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-11-24 23:12:40,750 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:12:40,752 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 26 states and 31 transitions. [2023-11-24 23:12:40,753 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 31 transitions. [2023-11-24 23:12:40,754 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2023-11-24 23:12:40,754 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:12:40,757 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:12:40,830 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:12:40,918 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-24 23:12:40,959 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:12:40,961 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 25 states and 30 transitions. [2023-11-24 23:12:40,961 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 30 transitions. [2023-11-24 23:12:40,963 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2023-11-24 23:12:40,963 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:12:40,963 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 23:12:41,022 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:12:41,022 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:12:41,061 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:12:41,176 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:12:41,177 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:12:41,206 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:12:41,251 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2023-11-24 23:12:41,300 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet104 [2023-11-24 23:12:41,303 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret98 could not be translated [2023-11-24 23:12:41,305 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret102 could not be translated [2023-11-24 23:12:41,310 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 11:12:41 ImpRootNode [2023-11-24 23:12:41,310 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 23:12:41,311 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 23:12:41,311 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 23:12:41,311 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 23:12:41,312 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:12:40" (3/4) ... [2023-11-24 23:12:41,314 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 23:12:41,315 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 23:12:41,316 INFO L158 Benchmark]: Toolchain (without parser) took 3293.81ms. Allocated memory is still 157.3MB. Free memory was 126.1MB in the beginning and 122.1MB in the end (delta: 4.0MB). Peak memory consumption was 3.7MB. Max. memory is 16.1GB. [2023-11-24 23:12:41,317 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 130.0MB. Free memory is still 101.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:12:41,318 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1471.30ms. Allocated memory is still 157.3MB. Free memory was 126.1MB in the beginning and 119.9MB in the end (delta: 6.2MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. [2023-11-24 23:12:41,318 INFO L158 Benchmark]: Boogie Procedure Inliner took 127.31ms. Allocated memory is still 157.3MB. Free memory was 119.9MB in the beginning and 116.9MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:12:41,319 INFO L158 Benchmark]: Boogie Preprocessor took 61.06ms. Allocated memory is still 157.3MB. Free memory was 116.9MB in the beginning and 114.7MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:12:41,320 INFO L158 Benchmark]: RCFGBuilder took 462.49ms. Allocated memory is still 157.3MB. Free memory was 114.7MB in the beginning and 99.0MB in the end (delta: 15.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-24 23:12:41,320 INFO L158 Benchmark]: CodeCheck took 1158.89ms. Allocated memory is still 157.3MB. Free memory was 99.0MB in the beginning and 122.1MB in the end (delta: -23.2MB). Peak memory consumption was 46.0MB. Max. memory is 16.1GB. [2023-11-24 23:12:41,321 INFO L158 Benchmark]: Witness Printer took 4.48ms. Allocated memory is still 157.3MB. Free memory is still 122.1MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:12:41,324 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 3 procedures, 26 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.1s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 85 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 4 mSDsluCounter, 47 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 10 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 30 IncrementalHoareTripleChecker+Invalid, 40 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 10 mSolverCounterUnsat, 47 mSDtfsCounter, 30 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 234 GetRequests, 228 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 56 NumberOfCodeBlocks, 56 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 34 ConstructedInterpolants, 0 QuantifiedInterpolants, 42 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 1 PerfectInterpolantSequences, 3/4 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: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1578. 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); [L1578] CALL 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, line={4:0}] [L1414] COND TRUE line != ((void *)0) [L1578] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=19, argc=19, argv={18:31}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1579] CALL CWE190_Integer_Overflow__int_fgets_multiply_11_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1552] RET globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrue() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } 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] [L1566] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1566] RET globalReturnsTrue() 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] [L1566] COND TRUE globalReturnsTrue() [L1568] 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] [L1570] data * 2 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] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.35ms. Allocated memory is still 130.0MB. Free memory is still 101.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1471.30ms. Allocated memory is still 157.3MB. Free memory was 126.1MB in the beginning and 119.9MB in the end (delta: 6.2MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 127.31ms. Allocated memory is still 157.3MB. Free memory was 119.9MB in the beginning and 116.9MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 61.06ms. Allocated memory is still 157.3MB. Free memory was 116.9MB in the beginning and 114.7MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 462.49ms. Allocated memory is still 157.3MB. Free memory was 114.7MB in the beginning and 99.0MB in the end (delta: 15.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1158.89ms. Allocated memory is still 157.3MB. Free memory was 99.0MB in the beginning and 122.1MB in the end (delta: -23.2MB). Peak memory consumption was 46.0MB. Max. memory is 16.1GB. * Witness Printer took 4.48ms. Allocated memory is still 157.3MB. Free memory is still 122.1MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: unknown boogie variable #t~nondet104 - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret98 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret102 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-24 23:12:41,351 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_11_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi --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 8bf7a6a41434023d5fc39841ce049ae649f51ab7e37e83c0c7aaceb626bb7505 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 23:12:44,052 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 23:12:44,165 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-24 23:12:44,225 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 23:12:44,226 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 23:12:44,227 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-24 23:12:44,228 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 23:12:44,228 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 23:12:44,229 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 23:12:44,234 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-24 23:12:44,235 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 23:12:44,235 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-24 23:12:44,236 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 23:12:44,238 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-24 23:12:44,238 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 23:12:44,239 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-24 23:12:44,239 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-24 23:12:44,239 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-24 23:12:44,240 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 23:12:44,240 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-24 23:12:44,241 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 23:12:44,242 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 23:12:44,242 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 23:12:44,243 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 23:12:44,243 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 23:12:44,243 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-24 23:12:44,244 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 23:12:44,244 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:12:44,245 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 23:12:44,245 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 23:12:44,247 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-24 23:12:44,247 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-24 23:12:44,247 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-24 23:12:44,248 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-24 23:12:44,248 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-24 23:12:44,248 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 23:12:44,248 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/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_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi 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 -> 8bf7a6a41434023d5fc39841ce049ae649f51ab7e37e83c0c7aaceb626bb7505 [2023-11-24 23:12:44,706 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 23:12:44,728 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 23:12:44,730 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 23:12:44,732 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 23:12:44,733 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 23:12:44,734 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_11_bad.i [2023-11-24 23:12:47,975 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 23:12:48,486 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 23:12:48,486 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_multiply_11_bad.i [2023-11-24 23:12:48,512 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/data/888bc3943/53949bcf79634caca3aae0edaab54ffb/FLAG724a30d39 [2023-11-24 23:12:48,528 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/data/888bc3943/53949bcf79634caca3aae0edaab54ffb [2023-11-24 23:12:48,531 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 23:12:48,533 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 23:12:48,534 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 23:12:48,534 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 23:12:48,540 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 23:12:48,540 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:12:48" (1/1) ... [2023-11-24 23:12:48,542 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@24d324d2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:48, skipping insertion in model container [2023-11-24 23:12:48,542 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 11:12:48" (1/1) ... [2023-11-24 23:12:48,632 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 23:12:49,962 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:12:49,979 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 23:12:50,133 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 23:12:50,323 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:50,323 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:50,324 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:50,324 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:50,324 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 23:12:50,332 INFO L206 MainTranslator]: Completed translation [2023-11-24 23:12:50,333 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50 WrapperNode [2023-11-24 23:12:50,333 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 23:12:50,335 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 23:12:50,335 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 23:12:50,335 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 23:12:50,344 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,392 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,435 INFO L138 Inliner]: procedures = 504, calls = 65, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 65 [2023-11-24 23:12:50,436 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 23:12:50,437 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 23:12:50,438 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 23:12:50,438 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 23:12:50,448 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,449 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,465 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,468 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,477 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,490 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,493 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,496 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,500 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 23:12:50,501 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 23:12:50,502 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 23:12:50,502 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 23:12:50,503 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 11:12:50" (1/1) ... [2023-11-24 23:12:50,531 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 23:12:50,548 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 23:12:50,560 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 23:12:50,583 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 23:12:50,603 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-24 23:12:50,603 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-24 23:12:50,604 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-24 23:12:50,604 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrue [2023-11-24 23:12:50,604 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrue [2023-11-24 23:12:50,604 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 23:12:50,604 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-24 23:12:50,604 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 23:12:50,605 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 23:12:50,605 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 23:12:50,605 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 23:12:50,605 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 23:12:50,605 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-24 23:12:50,784 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 23:12:50,787 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 23:12:50,957 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 23:12:51,044 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 23:12:51,044 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 23:12:51,046 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:12:51 BoogieIcfgContainer [2023-11-24 23:12:51,046 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 23:12:51,047 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-24 23:12:51,047 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-24 23:12:51,060 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-24 23:12:51,061 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:12:51" (1/1) ... [2023-11-24 23:12:51,072 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 23:12:51,144 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:12:51,154 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 24 states and 30 transitions. [2023-11-24 23:12:51,154 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 30 transitions. [2023-11-24 23:12:51,164 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-11-24 23:12:51,164 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:12:51,165 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 23:12:51,166 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 23:12:51,172 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 23:12:51,202 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-24 23:12:51,364 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:12:51,367 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 23:12:51,397 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:12:51,399 INFO L262 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-24 23:12:51,407 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:12:51,449 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-24 23:12:51,461 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-24 23:12:51,520 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:12:51,521 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 23 states and 29 transitions. [2023-11-24 23:12:51,521 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 29 transitions. [2023-11-24 23:12:51,522 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-24 23:12:51,522 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:12:51,523 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 23:12:51,523 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 23:12:51,527 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 23:12:51,567 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-24 23:12:51,665 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:12:51,665 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-24 23:12:51,698 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 23:12:51,700 INFO L262 TraceCheckSpWp]: Trace formula consists of 56 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-24 23:12:51,703 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 23:12:51,751 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 23:12:51,753 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 23:12:51,755 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-24 23:12:51,826 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-24 23:12:51,827 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 23 states and 28 transitions. [2023-11-24 23:12:51,850 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 28 transitions. [2023-11-24 23:12:51,851 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2023-11-24 23:12:51,852 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-24 23:12:51,852 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-24 23:12:51,852 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 [2023-11-24 23:12:51,853 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-24 23:12:51,866 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-24 23:12:52,068 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:12:52,068 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:12:52,166 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:12:52,263 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:12:52,264 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 23:12:52,314 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 23:12:52,338 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-24 23:12:52,346 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2023-11-24 23:12:52,347 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2023-11-24 23:12:52,395 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: unknown boogie variable #t~nondet102 [2023-11-24 23:12:52,398 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret96 could not be translated [2023-11-24 23:12:52,399 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret100 could not be translated [2023-11-24 23:12:52,404 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 24.11 11:12:52 ImpRootNode [2023-11-24 23:12:52,405 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-24 23:12:52,406 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 23:12:52,406 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 23:12:52,406 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 23:12:52,407 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 11:12:51" (3/4) ... [2023-11-24 23:12:52,409 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-24 23:12:52,410 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 23:12:52,411 INFO L158 Benchmark]: Toolchain (without parser) took 3878.41ms. Allocated memory is still 109.1MB. Free memory was 80.8MB in the beginning and 64.8MB in the end (delta: 16.0MB). Peak memory consumption was 17.3MB. Max. memory is 16.1GB. [2023-11-24 23:12:52,412 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 65.0MB. Free memory is still 40.6MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:12:52,412 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1799.86ms. Allocated memory is still 109.1MB. Free memory was 80.5MB in the beginning and 43.4MB in the end (delta: 37.1MB). Peak memory consumption was 38.9MB. Max. memory is 16.1GB. [2023-11-24 23:12:52,413 INFO L158 Benchmark]: Boogie Procedure Inliner took 101.46ms. Allocated memory is still 109.1MB. Free memory was 43.4MB in the beginning and 40.7MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:12:52,414 INFO L158 Benchmark]: Boogie Preprocessor took 63.77ms. Allocated memory is still 109.1MB. Free memory was 40.7MB in the beginning and 38.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 23:12:52,415 INFO L158 Benchmark]: RCFGBuilder took 545.04ms. Allocated memory is still 109.1MB. Free memory was 38.6MB in the beginning and 65.5MB in the end (delta: -26.9MB). Peak memory consumption was 7.8MB. Max. memory is 16.1GB. [2023-11-24 23:12:52,415 INFO L158 Benchmark]: CodeCheck took 1357.73ms. Allocated memory is still 109.1MB. Free memory was 64.8MB in the beginning and 65.6MB in the end (delta: -754.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:12:52,416 INFO L158 Benchmark]: Witness Printer took 4.72ms. Allocated memory is still 109.1MB. Free memory was 65.6MB in the beginning and 64.8MB in the end (delta: 734.7kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 23:12:52,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 3 procedures, 24 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.3s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 75 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 41 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 21 IncrementalHoareTripleChecker+Invalid, 29 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 41 mSDtfsCounter, 21 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 222 GetRequests, 216 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 49 NumberOfCodeBlocks, 49 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 29 ConstructedInterpolants, 0 QuantifiedInterpolants, 35 SizeOfPredicates, 0 NumberOfNonLiveVariables, 111 ConjunctsInSsa, 5 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 4/4 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: 1570]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558, overapproximation of large string literal at line 1578. 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); [L1578] CALL 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, line={4:0}] [L1414] COND TRUE line != ((void *)0) [L1578] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=0, argc=0, argv={0:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1579] CALL CWE190_Integer_Overflow__int_fgets_multiply_11_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1552] RET globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrue() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } 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] [L1566] CALL globalReturnsTrue() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1512] return 1; [L1566] RET globalReturnsTrue() 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] [L1566] COND TRUE globalReturnsTrue() [L1568] 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] [L1570] data * 2 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] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.33ms. Allocated memory is still 65.0MB. Free memory is still 40.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1799.86ms. Allocated memory is still 109.1MB. Free memory was 80.5MB in the beginning and 43.4MB in the end (delta: 37.1MB). Peak memory consumption was 38.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 101.46ms. Allocated memory is still 109.1MB. Free memory was 43.4MB in the beginning and 40.7MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 63.77ms. Allocated memory is still 109.1MB. Free memory was 40.7MB in the beginning and 38.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 545.04ms. Allocated memory is still 109.1MB. Free memory was 38.6MB in the beginning and 65.5MB in the end (delta: -26.9MB). Peak memory consumption was 7.8MB. Max. memory is 16.1GB. * CodeCheck took 1357.73ms. Allocated memory is still 109.1MB. Free memory was 64.8MB in the beginning and 65.6MB in the end (delta: -754.9kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.72ms. Allocated memory is still 109.1MB. Free memory was 65.6MB in the beginning and 64.8MB in the end (delta: 734.7kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: unknown boogie variable #t~nondet102 - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret96 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret100 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-24 23:12:52,456 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_504d056a-5bfa-4a2a-b9bc-859083910356/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample