./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_54_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 30e01a73 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_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/config/TaipanReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_54_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/config/svcomp-Overflow-64bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire --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 Taipan --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash d64d2712d492162e95e1fa19a934e4cdeb5c33b78ef226bf74551bdc315f4229 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 21:21:42,139 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 21:21:42,264 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/config/svcomp-Overflow-64bit-Taipan_Default.epf [2023-11-23 21:21:42,273 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-23 21:21:42,273 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-23 21:21:42,321 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 21:21:42,322 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-23 21:21:42,323 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-23 21:21:42,324 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-23 21:21:42,329 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-23 21:21:42,329 INFO L153 SettingsManager]: * User list type=DISABLED [2023-11-23 21:21:42,330 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2023-11-23 21:21:42,331 INFO L153 SettingsManager]: * Explicit value domain=true [2023-11-23 21:21:42,333 INFO L153 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2023-11-23 21:21:42,333 INFO L153 SettingsManager]: * Octagon Domain=false [2023-11-23 21:21:42,333 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2023-11-23 21:21:42,334 INFO L153 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2023-11-23 21:21:42,334 INFO L153 SettingsManager]: * Use the RCFG-of-the-future interface=true [2023-11-23 21:21:42,335 INFO L153 SettingsManager]: * Interval Domain=false [2023-11-23 21:21:42,335 INFO L151 SettingsManager]: Preferences of Sifa differ from their defaults: [2023-11-23 21:21:42,336 INFO L153 SettingsManager]: * Call Summarizer=TopInputCallSummarizer [2023-11-23 21:21:42,336 INFO L153 SettingsManager]: * Simplification Technique=POLY_PAC [2023-11-23 21:21:42,338 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 21:21:42,338 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-23 21:21:42,338 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-23 21:21:42,339 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 21:21:42,339 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-23 21:21:42,340 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 21:21:42,340 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-23 21:21:42,341 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-23 21:21:42,342 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 21:21:42,342 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-23 21:21:42,342 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 21:21:42,343 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 21:21:42,343 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-23 21:21:42,343 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-23 21:21:42,344 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:21:42,345 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 21:21:42,345 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 21:21:42,345 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-23 21:21:42,345 INFO L153 SettingsManager]: * Trace refinement strategy=SIFA_TAIPAN [2023-11-23 21:21:42,346 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-23 21:21:42,346 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-23 21:21:42,346 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-23 21:21:42,347 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2023-11-23 21:21:42,347 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-23 21:21:42,347 INFO L153 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES 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_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/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_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire 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 -> Taipan 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 -> d64d2712d492162e95e1fa19a934e4cdeb5c33b78ef226bf74551bdc315f4229 [2023-11-23 21:21:42,618 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 21:21:42,651 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 21:21:42,654 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 21:21:42,655 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 21:21:42,657 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 21:21:42,658 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_54_bad.i [2023-11-23 21:21:45,760 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 21:21:46,222 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 21:21:46,223 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_54_bad.i [2023-11-23 21:21:46,262 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/data/cd209062c/83e4512978f740ec8c1732f9e258897e/FLAG696030f68 [2023-11-23 21:21:46,283 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/data/cd209062c/83e4512978f740ec8c1732f9e258897e [2023-11-23 21:21:46,292 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 21:21:46,294 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 21:21:46,298 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 21:21:46,298 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 21:21:46,305 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 21:21:46,306 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:21:46" (1/1) ... [2023-11-23 21:21:46,307 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1206597 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:46, skipping insertion in model container [2023-11-23 21:21:46,308 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:21:46" (1/1) ... [2023-11-23 21:21:46,410 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 21:21:46,844 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 21:21:47,583 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:21:47,599 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 21:21:47,623 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 21:21:47,689 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:21:47,904 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:47,905 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:47,905 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:47,905 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:47,906 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:47,906 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:47,914 INFO L206 MainTranslator]: Completed translation [2023-11-23 21:21:47,915 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47 WrapperNode [2023-11-23 21:21:47,916 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 21:21:47,917 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 21:21:47,917 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 21:21:47,917 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 21:21:47,926 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:47,971 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,021 INFO L138 Inliner]: procedures = 504, calls = 68, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 59 [2023-11-23 21:21:48,022 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 21:21:48,023 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 21:21:48,023 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 21:21:48,023 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 21:21:48,033 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,033 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,053 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,053 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,059 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,073 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,075 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,077 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,088 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 21:21:48,089 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 21:21:48,089 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 21:21:48,089 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 21:21:48,090 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (1/1) ... [2023-11-23 21:21:48,096 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:21:48,112 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/z3 [2023-11-23 21:21:48,124 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-23 21:21:48,144 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-23 21:21:48,161 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-23 21:21:48,161 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-23 21:21:48,162 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-23 21:21:48,162 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 21:21:48,162 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-23 21:21:48,162 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-23 21:21:48,162 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 21:21:48,162 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 21:21:48,162 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-23 21:21:48,162 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-23 21:21:48,163 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-23 21:21:48,329 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 21:21:48,331 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 21:21:48,449 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 21:21:48,512 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 21:21:48,512 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-23 21:21:48,514 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:21:48 BoogieIcfgContainer [2023-11-23 21:21:48,514 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 21:21:48,522 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-23 21:21:48,522 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-23 21:21:48,526 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-23 21:21:48,526 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 09:21:46" (1/3) ... [2023-11-23 21:21:48,527 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3826b715 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:21:48, skipping insertion in model container [2023-11-23 21:21:48,527 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:47" (2/3) ... [2023-11-23 21:21:48,527 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3826b715 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:21:48, skipping insertion in model container [2023-11-23 21:21:48,528 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:21:48" (3/3) ... [2023-11-23 21:21:48,529 INFO L112 eAbstractionObserver]: Analyzing ICFG CWE191_Integer_Underflow__int_fgets_sub_54_bad.i [2023-11-23 21:21:48,546 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-23 21:21:48,546 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2023-11-23 21:21:48,594 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-23 21:21:48,603 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@708806ae, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-23 21:21:48,604 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-11-23 21:21:48,609 INFO L276 IsEmpty]: Start isEmpty. Operand has 15 states, 8 states have (on average 1.375) internal successors, (11), 11 states have internal predecessors, (11), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2023-11-23 21:21:48,617 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-23 21:21:48,618 INFO L187 NwaCegarLoop]: Found error trace [2023-11-23 21:21:48,619 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-23 21:21:48,619 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW] === [2023-11-23 21:21:48,624 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:21:48,624 INFO L85 PathProgramCache]: Analyzing trace with hash 1526179500, now seen corresponding path program 1 times [2023-11-23 21:21:48,632 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2023-11-23 21:21:48,633 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [677370760] [2023-11-23 21:21:48,633 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:21:48,634 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-23 21:21:48,861 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:21:48,862 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 21:21:48,917 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:21:48,943 INFO L130 FreeRefinementEngine]: Strategy SIFA_TAIPAN found a feasible trace [2023-11-23 21:21:48,945 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-23 21:21:48,946 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (1 of 2 remaining) [2023-11-23 21:21:48,948 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (0 of 2 remaining) [2023-11-23 21:21:48,949 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-23 21:21:48,954 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-23 21:21:48,958 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-23 21:21:48,981 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 09:21:48 BoogieIcfgContainer [2023-11-23 21:21:48,981 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-23 21:21:48,982 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 21:21:48,982 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 21:21:48,982 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 21:21:48,983 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:21:48" (3/4) ... [2023-11-23 21:21:48,985 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-23 21:21:48,986 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 21:21:48,987 INFO L158 Benchmark]: Toolchain (without parser) took 2692.90ms. Allocated memory was 123.7MB in the beginning and 163.6MB in the end (delta: 39.8MB). Free memory was 75.6MB in the beginning and 120.0MB in the end (delta: -44.4MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:21:48,988 INFO L158 Benchmark]: CDTParser took 0.29ms. Allocated memory is still 123.7MB. Free memory is still 69.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:21:48,989 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1617.95ms. Allocated memory was 123.7MB in the beginning and 163.6MB in the end (delta: 39.8MB). Free memory was 75.6MB in the beginning and 99.5MB in the end (delta: -24.0MB). Peak memory consumption was 50.6MB. Max. memory is 16.1GB. [2023-11-23 21:21:48,989 INFO L158 Benchmark]: Boogie Procedure Inliner took 105.27ms. Allocated memory is still 163.6MB. Free memory was 99.5MB in the beginning and 96.7MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 21:21:48,990 INFO L158 Benchmark]: Boogie Preprocessor took 65.30ms. Allocated memory is still 163.6MB. Free memory was 96.7MB in the beginning and 94.5MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 21:21:48,991 INFO L158 Benchmark]: RCFGBuilder took 425.73ms. Allocated memory is still 163.6MB. Free memory was 94.5MB in the beginning and 79.4MB in the end (delta: 15.1MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-23 21:21:48,991 INFO L158 Benchmark]: TraceAbstraction took 459.16ms. Allocated memory is still 163.6MB. Free memory was 78.6MB in the beginning and 121.1MB in the end (delta: -42.5MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:21:48,992 INFO L158 Benchmark]: Witness Printer took 4.36ms. Allocated memory is still 163.6MB. Free memory was 121.1MB in the beginning and 120.0MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:21:48,996 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.29ms. Allocated memory is still 123.7MB. Free memory is still 69.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1617.95ms. Allocated memory was 123.7MB in the beginning and 163.6MB in the end (delta: 39.8MB). Free memory was 75.6MB in the beginning and 99.5MB in the end (delta: -24.0MB). Peak memory consumption was 50.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 105.27ms. Allocated memory is still 163.6MB. Free memory was 99.5MB in the beginning and 96.7MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 65.30ms. Allocated memory is still 163.6MB. Free memory was 96.7MB in the beginning and 94.5MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 425.73ms. Allocated memory is still 163.6MB. Free memory was 94.5MB in the beginning and 79.4MB in the end (delta: 15.1MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * TraceAbstraction took 459.16ms. Allocated memory is still 163.6MB. Free memory was 78.6MB in the beginning and 121.1MB in the end (delta: -42.5MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.36ms. Allocated memory is still 163.6MB. Free memory was 121.1MB in the beginning and 120.0MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 1592]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1569] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={4:0}] [L1414] COND TRUE line != ((void *)0) [L1569] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=1073741826, argc=1073741826, argv={1073741829:1073741828}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] CALL CWE191_Integer_Underflow__int_fgets_sub_54_bad() [L1551] int data; [L1552] data = 0 [L1554] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1555] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1557] EXPR data = atoi(inputBuffer) [L1554] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1553-L1563] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } [L1564] CALL CWE191_Integer_Underflow__int_fgets_sub_54b_badSink(data) [L1577] CALL CWE191_Integer_Underflow__int_fgets_sub_54c_badSink(data) [L1582] CALL CWE191_Integer_Underflow__int_fgets_sub_54d_badSink(data) [L1587] CALL CWE191_Integer_Underflow__int_fgets_sub_54e_badSink(data) [L1592] data - 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(data)=-2147483648, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] - UnprovableResult [Line: 1592]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data CFG has 2 procedures, 15 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.4s, OverallIterations: 1, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=15occurred in iteration=0, InterpolantAutomatonStates: 0, traceCheckStatistics: No data available, 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: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 8 NumberOfCodeBlocks, 8 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-23 21:21:49,056 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (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_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/config/TaipanReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_54_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/config/svcomp-Overflow-64bit-Taipan_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire --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 Taipan --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash d64d2712d492162e95e1fa19a934e4cdeb5c33b78ef226bf74551bdc315f4229 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-30e01a7 [2023-11-23 21:21:51,771 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-23 21:21:51,861 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/config/svcomp-Overflow-64bit-Taipan_Bitvector.epf [2023-11-23 21:21:51,867 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-23 21:21:51,868 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-23 21:21:51,910 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-23 21:21:51,912 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-23 21:21:51,912 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-23 21:21:51,913 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-23 21:21:51,914 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-23 21:21:51,915 INFO L153 SettingsManager]: * User list type=DISABLED [2023-11-23 21:21:51,916 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2023-11-23 21:21:51,916 INFO L153 SettingsManager]: * Explicit value domain=true [2023-11-23 21:21:51,919 INFO L153 SettingsManager]: * Octagon Domain=false [2023-11-23 21:21:51,920 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2023-11-23 21:21:51,921 INFO L153 SettingsManager]: * Interval Domain=false [2023-11-23 21:21:51,922 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-23 21:21:51,927 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-23 21:21:51,927 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-23 21:21:51,928 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-23 21:21:51,928 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-23 21:21:51,929 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-23 21:21:51,929 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-23 21:21:51,930 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-23 21:21:51,930 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-23 21:21:51,930 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-23 21:21:51,931 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-23 21:21:51,931 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-23 21:21:51,932 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-23 21:21:51,932 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-23 21:21:51,935 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-23 21:21:51,935 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-23 21:21:51,936 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-23 21:21:51,936 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:21:51,937 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-23 21:21:51,937 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-23 21:21:51,937 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-23 21:21:51,937 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-23 21:21:51,938 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-23 21:21:51,939 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-23 21:21:51,939 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-23 21:21:51,939 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2023-11-23 21:21:51,940 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-23 21:21:51,940 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_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/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_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire 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 -> Taipan 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 -> d64d2712d492162e95e1fa19a934e4cdeb5c33b78ef226bf74551bdc315f4229 [2023-11-23 21:21:52,390 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-23 21:21:52,416 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-23 21:21:52,420 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-23 21:21:52,421 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-23 21:21:52,422 INFO L274 PluginConnector]: CDTParser initialized [2023-11-23 21:21:52,424 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_54_bad.i [2023-11-23 21:21:55,779 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-23 21:21:56,249 INFO L384 CDTParser]: Found 1 translation units. [2023-11-23 21:21:56,250 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_54_bad.i [2023-11-23 21:21:56,285 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/data/f4c198102/ae88f9ca35d5419ca1595b1a77bcddbf/FLAG02e9db4c7 [2023-11-23 21:21:56,304 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/data/f4c198102/ae88f9ca35d5419ca1595b1a77bcddbf [2023-11-23 21:21:56,307 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-23 21:21:56,309 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-23 21:21:56,311 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-23 21:21:56,311 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-23 21:21:56,320 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-23 21:21:56,321 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:21:56" (1/1) ... [2023-11-23 21:21:56,323 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4c4bcd8a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:56, skipping insertion in model container [2023-11-23 21:21:56,323 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 09:21:56" (1/1) ... [2023-11-23 21:21:56,427 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-23 21:21:57,088 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 21:21:57,760 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:21:57,792 INFO L202 MainTranslator]: Completed pre-run [2023-11-23 21:21:57,831 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-23 21:21:57,939 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-23 21:21:58,167 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:58,168 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:58,168 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:58,168 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:58,169 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:58,169 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-23 21:21:58,179 INFO L206 MainTranslator]: Completed translation [2023-11-23 21:21:58,180 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58 WrapperNode [2023-11-23 21:21:58,180 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-23 21:21:58,181 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-23 21:21:58,182 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-23 21:21:58,182 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-23 21:21:58,192 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,233 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,269 INFO L138 Inliner]: procedures = 509, calls = 68, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 58 [2023-11-23 21:21:58,270 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-23 21:21:58,270 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-23 21:21:58,271 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-23 21:21:58,271 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-23 21:21:58,283 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,284 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,289 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,290 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,318 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,321 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,325 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,328 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,334 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-23 21:21:58,335 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-23 21:21:58,336 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-23 21:21:58,336 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-23 21:21:58,337 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (1/1) ... [2023-11-23 21:21:58,344 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-23 21:21:58,358 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/z3 [2023-11-23 21:21:58,373 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-23 21:21:58,408 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-23 21:21:58,430 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-23 21:21:58,431 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-23 21:21:58,431 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-23 21:21:58,433 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-23 21:21:58,434 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-23 21:21:58,434 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-23 21:21:58,434 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-23 21:21:58,435 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-23 21:21:58,435 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-23 21:21:58,435 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-23 21:21:58,435 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-23 21:21:58,676 INFO L241 CfgBuilder]: Building ICFG [2023-11-23 21:21:58,679 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-23 21:21:58,889 INFO L282 CfgBuilder]: Performing block encoding [2023-11-23 21:21:58,970 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-23 21:21:58,970 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-23 21:21:58,971 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:21:58 BoogieIcfgContainer [2023-11-23 21:21:58,972 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-23 21:21:58,977 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-23 21:21:58,977 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-23 21:21:58,982 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-23 21:21:58,983 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 09:21:56" (1/3) ... [2023-11-23 21:21:58,984 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1644d994 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:21:58, skipping insertion in model container [2023-11-23 21:21:58,984 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 09:21:58" (2/3) ... [2023-11-23 21:21:58,987 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1644d994 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 09:21:58, skipping insertion in model container [2023-11-23 21:21:58,987 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:21:58" (3/3) ... [2023-11-23 21:21:58,989 INFO L112 eAbstractionObserver]: Analyzing ICFG CWE191_Integer_Underflow__int_fgets_sub_54_bad.i [2023-11-23 21:21:59,037 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-23 21:21:59,038 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2023-11-23 21:21:59,106 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-23 21:21:59,114 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@4a04f683, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-23 21:21:59,115 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-11-23 21:21:59,119 INFO L276 IsEmpty]: Start isEmpty. Operand has 17 states, 10 states have (on average 1.4) internal successors, (14), 13 states have internal predecessors, (14), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2023-11-23 21:21:59,130 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-23 21:21:59,130 INFO L187 NwaCegarLoop]: Found error trace [2023-11-23 21:21:59,131 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-23 21:21:59,132 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW] === [2023-11-23 21:21:59,139 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-23 21:21:59,140 INFO L85 PathProgramCache]: Analyzing trace with hash 1070117411, now seen corresponding path program 1 times [2023-11-23 21:21:59,158 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2023-11-23 21:21:59,158 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [217826723] [2023-11-23 21:21:59,160 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-23 21:21:59,160 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-23 21:21:59,161 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/mathsat [2023-11-23 21:21:59,166 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-23 21:21:59,214 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2023-11-23 21:21:59,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:21:59,387 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-23 21:21:59,429 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-23 21:21:59,481 INFO L130 FreeRefinementEngine]: Strategy WALRUS found a feasible trace [2023-11-23 21:21:59,484 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-23 21:21:59,486 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (1 of 2 remaining) [2023-11-23 21:21:59,489 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (0 of 2 remaining) [2023-11-23 21:21:59,501 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Forceful destruction successful, exit code 0 [2023-11-23 21:21:59,695 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-23 21:21:59,700 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-23 21:21:59,709 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-23 21:21:59,761 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 09:21:59 BoogieIcfgContainer [2023-11-23 21:21:59,762 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-23 21:21:59,764 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-23 21:21:59,764 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-23 21:21:59,765 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-23 21:21:59,765 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 09:21:58" (3/4) ... [2023-11-23 21:21:59,768 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-23 21:21:59,769 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-23 21:21:59,771 INFO L158 Benchmark]: Toolchain (without parser) took 3461.63ms. Allocated memory was 67.1MB in the beginning and 92.3MB in the end (delta: 25.2MB). Free memory was 39.2MB in the beginning and 46.0MB in the end (delta: -6.8MB). Peak memory consumption was 20.3MB. Max. memory is 16.1GB. [2023-11-23 21:21:59,772 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 67.1MB. Free memory is still 42.9MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:21:59,774 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1869.94ms. Allocated memory was 67.1MB in the beginning and 92.3MB in the end (delta: 25.2MB). Free memory was 38.9MB in the beginning and 60.7MB in the end (delta: -21.8MB). Peak memory consumption was 31.5MB. Max. memory is 16.1GB. [2023-11-23 21:21:59,780 INFO L158 Benchmark]: Boogie Procedure Inliner took 88.29ms. Allocated memory is still 92.3MB. Free memory was 60.7MB in the beginning and 57.4MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-23 21:21:59,781 INFO L158 Benchmark]: Boogie Preprocessor took 63.91ms. Allocated memory is still 92.3MB. Free memory was 57.4MB in the beginning and 55.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 21:21:59,783 INFO L158 Benchmark]: RCFGBuilder took 636.53ms. Allocated memory is still 92.3MB. Free memory was 55.3MB in the beginning and 39.0MB in the end (delta: 16.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-23 21:21:59,783 INFO L158 Benchmark]: TraceAbstraction took 785.38ms. Allocated memory is still 92.3MB. Free memory was 38.1MB in the beginning and 46.5MB in the end (delta: -8.4MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-23 21:21:59,785 INFO L158 Benchmark]: Witness Printer took 5.45ms. Allocated memory is still 92.3MB. Free memory was 46.5MB in the beginning and 46.0MB in the end (delta: 526.5kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-23 21:21:59,794 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.37ms. Allocated memory is still 67.1MB. Free memory is still 42.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1869.94ms. Allocated memory was 67.1MB in the beginning and 92.3MB in the end (delta: 25.2MB). Free memory was 38.9MB in the beginning and 60.7MB in the end (delta: -21.8MB). Peak memory consumption was 31.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 88.29ms. Allocated memory is still 92.3MB. Free memory was 60.7MB in the beginning and 57.4MB in the end (delta: 3.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 63.91ms. Allocated memory is still 92.3MB. Free memory was 57.4MB in the beginning and 55.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 636.53ms. Allocated memory is still 92.3MB. Free memory was 55.3MB in the beginning and 39.0MB in the end (delta: 16.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * TraceAbstraction took 785.38ms. Allocated memory is still 92.3MB. Free memory was 38.1MB in the beginning and 46.5MB in the end (delta: -8.4MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.45ms. Allocated memory is still 92.3MB. Free memory was 46.5MB in the beginning and 46.0MB in the end (delta: 526.5kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 1592]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1557. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1569] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1, line={4:0}] [L1414] COND TRUE line != ((void *)0) [L1569] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=12, argc=12, argv={13:12}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] CALL CWE191_Integer_Underflow__int_fgets_sub_54_bad() [L1551] int data; [L1552] data = 0 [L1554] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1555] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1557] EXPR data = atoi(inputBuffer) [L1554] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1553-L1563] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } [L1564] CALL CWE191_Integer_Underflow__int_fgets_sub_54b_badSink(data) [L1577] CALL CWE191_Integer_Underflow__int_fgets_sub_54c_badSink(data) [L1582] CALL CWE191_Integer_Underflow__int_fgets_sub_54d_badSink(data) [L1587] CALL CWE191_Integer_Underflow__int_fgets_sub_54e_badSink(data) [L1592] data - 1 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(data)=-2147483648, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] - UnprovableResult [Line: 1592]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data CFG has 2 procedures, 17 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.6s, OverallIterations: 1, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=17occurred in iteration=0, InterpolantAutomatonStates: 0, traceCheckStatistics: No data available, 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: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 10 NumberOfCodeBlocks, 10 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2023-11-23 21:21:59,839 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f77471a2-5782-4aa5-a6b8-ad85b74e9048/bin/utaipan-verify-mE87zJ7Ire/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (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