./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 9bd2c7ff Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL --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 a3201307307e47fa08ad351bb3671e2a16c2d02ed34e995988ac10cf26b5ec0f --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:43:31,110 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:43:31,243 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-19 03:43:31,255 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 03:43:31,256 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-19 03:43:31,323 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:43:31,324 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:43:31,325 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:43:31,326 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:43:31,332 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:43:31,333 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:43:31,334 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:43:31,334 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 03:43:31,337 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:43:31,337 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:43:31,338 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:43:31,338 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:43:31,339 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:43:31,339 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:43:31,340 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:43:31,340 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:43:31,341 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:43:31,342 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:43:31,342 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:43:31,343 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:43:31,344 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:43:31,344 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:43:31,345 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:43:31,345 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:43:31,346 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-19 03:43:31,348 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 03:43:31,348 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:43:31,348 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_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/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_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL 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 -> a3201307307e47fa08ad351bb3671e2a16c2d02ed34e995988ac10cf26b5ec0f [2023-11-19 03:43:31,794 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:43:31,832 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:43:31,837 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:43:31,838 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:43:31,839 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:43:31,841 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i [2023-11-19 03:43:35,033 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:43:35,494 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:43:35,495 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i [2023-11-19 03:43:35,523 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/data/c95420eef/32f35a04123c400fb24e8570772eb062/FLAG3a89854e4 [2023-11-19 03:43:35,539 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/data/c95420eef/32f35a04123c400fb24e8570772eb062 [2023-11-19 03:43:35,542 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:43:35,543 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:43:35,545 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:43:35,545 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:43:35,551 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:43:35,552 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:43:35" (1/1) ... [2023-11-19 03:43:35,553 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@40c44e3a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:35, skipping insertion in model container [2023-11-19 03:43:35,553 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:43:35" (1/1) ... [2023-11-19 03:43:35,636 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:43:36,114 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:43:36,881 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:43:36,905 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:43:36,938 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:43:37,038 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:43:37,172 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:37,172 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:37,172 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:37,173 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:37,173 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:37,173 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:37,181 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:43:37,181 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37 WrapperNode [2023-11-19 03:43:37,182 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:43:37,182 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:43:37,183 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:43:37,183 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:43:37,189 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,230 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,260 INFO L138 Inliner]: procedures = 500, calls = 68, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 75 [2023-11-19 03:43:37,261 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:43:37,262 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:43:37,262 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:43:37,262 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:43:37,297 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,297 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,301 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,301 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,344 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,351 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,353 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,355 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,367 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:43:37,368 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:43:37,369 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:43:37,369 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:43:37,370 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,380 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:43:37,400 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:43:37,413 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 03:43:37,440 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 03:43:37,469 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-19 03:43:37,469 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:43:37,470 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:43:37,470 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 03:43:37,470 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-19 03:43:37,470 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:43:37,470 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:43:37,470 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:43:37,471 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 03:43:37,471 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:43:37,471 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 03:43:37,662 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:43:37,664 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:43:37,803 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:43:37,860 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:43:37,861 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 03:43:37,867 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:43:37 BoogieIcfgContainer [2023-11-19 03:43:37,872 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:43:37,873 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:43:37,874 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:43:37,885 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:43:37,886 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:43:37" (1/1) ... [2023-11-19 03:43:37,898 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:43:37,965 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:43:37,974 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 23 states and 31 transitions. [2023-11-19 03:43:37,975 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 31 transitions. [2023-11-19 03:43:37,980 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-19 03:43:37,980 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:43:37,981 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:43:38,142 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:43:38,261 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:43:38,319 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:43:38,320 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 21 states and 26 transitions. [2023-11-19 03:43:38,320 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 26 transitions. [2023-11-19 03:43:38,321 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-19 03:43:38,321 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:43:38,321 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:43:38,355 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:43:38,472 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:43:38,503 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:43:38,504 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 25 states and 32 transitions. [2023-11-19 03:43:38,504 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 32 transitions. [2023-11-19 03:43:38,505 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-19 03:43:38,505 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:43:38,505 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:43:38,540 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:43:38,540 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:43:38,560 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:43:38,630 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:43:38,630 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:43:38,652 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:43:38,679 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2023-11-19 03:43:38,725 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~switch98 could not be translated [2023-11-19 03:43:38,726 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~switch101 could not be translated [2023-11-19 03:43:38,727 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~switch101 could not be translated [2023-11-19 03:43:38,731 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:43:38 ImpRootNode [2023-11-19 03:43:38,731 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:43:38,732 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:43:38,732 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:43:38,733 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:43:38,733 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:43:37" (3/4) ... [2023-11-19 03:43:38,735 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 03:43:38,736 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:43:38,737 INFO L158 Benchmark]: Toolchain (without parser) took 3194.00ms. Allocated memory is still 153.1MB. Free memory was 117.5MB in the beginning and 67.2MB in the end (delta: 50.3MB). Peak memory consumption was 46.9MB. Max. memory is 16.1GB. [2023-11-19 03:43:38,738 INFO L158 Benchmark]: CDTParser took 0.28ms. Allocated memory is still 125.8MB. Free memory is still 98.3MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:43:38,739 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1637.01ms. Allocated memory is still 153.1MB. Free memory was 117.5MB in the beginning and 57.6MB in the end (delta: 60.0MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2023-11-19 03:43:38,740 INFO L158 Benchmark]: Boogie Procedure Inliner took 78.56ms. Allocated memory is still 153.1MB. Free memory was 57.6MB in the beginning and 54.6MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-19 03:43:38,740 INFO L158 Benchmark]: Boogie Preprocessor took 105.85ms. Allocated memory is still 153.1MB. Free memory was 54.6MB in the beginning and 119.6MB in the end (delta: -65.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-19 03:43:38,741 INFO L158 Benchmark]: RCFGBuilder took 504.33ms. Allocated memory is still 153.1MB. Free memory was 119.6MB in the beginning and 103.9MB in the end (delta: 15.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-19 03:43:38,742 INFO L158 Benchmark]: CodeCheck took 858.24ms. Allocated memory is still 153.1MB. Free memory was 103.9MB in the beginning and 68.3MB in the end (delta: 35.6MB). Peak memory consumption was 35.7MB. Max. memory is 16.1GB. [2023-11-19 03:43:38,742 INFO L158 Benchmark]: Witness Printer took 4.38ms. Allocated memory is still 153.1MB. Free memory was 68.3MB in the beginning and 67.2MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:43:38,746 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 23 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.8s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 69 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 6 mSDsluCounter, 60 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 12 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 14 IncrementalHoareTripleChecker+Invalid, 22 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 48 mSDtfsCounter, 14 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 166 GetRequests, 162 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 33 NumberOfCodeBlocks, 33 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 19 ConstructedInterpolants, 0 QuantifiedInterpolants, 35 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1575]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559. 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); [L1588] 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={6:0}] [L1414] COND TRUE line != ((void *)0) [L1588] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=18, argc=18, argv={13:19}, argv={13:19}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1589] CALL CWE190_Integer_Overflow__int_fgets_preinc_15_bad() [L1550] int data; [L1551] data = 0 [L1554] case 6: [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1557] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] EXPR data = atoi(inputBuffer) [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1555-L1565] { 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=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1573] case 7: VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1575] ++data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, 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.28ms. Allocated memory is still 125.8MB. Free memory is still 98.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1637.01ms. Allocated memory is still 153.1MB. Free memory was 117.5MB in the beginning and 57.6MB in the end (delta: 60.0MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 78.56ms. Allocated memory is still 153.1MB. Free memory was 57.6MB in the beginning and 54.6MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 105.85ms. Allocated memory is still 153.1MB. Free memory was 54.6MB in the beginning and 119.6MB in the end (delta: -65.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 504.33ms. Allocated memory is still 153.1MB. Free memory was 119.6MB in the beginning and 103.9MB in the end (delta: 15.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 858.24ms. Allocated memory is still 153.1MB. Free memory was 103.9MB in the beginning and 68.3MB in the end (delta: 35.6MB). Peak memory consumption was 35.7MB. Max. memory is 16.1GB. * Witness Printer took 4.38ms. Allocated memory is still 153.1MB. Free memory was 68.3MB in the beginning and 67.2MB 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.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~switch98 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~switch101 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~switch101 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-19 03:43:38,787 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL --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 a3201307307e47fa08ad351bb3671e2a16c2d02ed34e995988ac10cf26b5ec0f --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:43:41,458 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:43:41,581 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-19 03:43:41,633 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:43:41,634 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:43:41,635 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:43:41,636 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:43:41,637 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:43:41,637 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:43:41,643 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:43:41,643 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:43:41,644 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:43:41,644 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:43:41,646 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:43:41,646 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 03:43:41,647 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 03:43:41,647 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:43:41,648 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 03:43:41,648 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:43:41,649 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:43:41,649 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:43:41,650 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:43:41,651 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:43:41,651 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:43:41,652 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:43:41,652 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-19 03:43:41,653 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:43:41,653 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:43:41,654 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:43:41,654 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:43:41,655 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:43:41,656 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-19 03:43:41,656 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:43:41,657 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:43:41,657 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-19 03:43:41,657 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 03:43:41,657 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_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/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_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL 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 -> a3201307307e47fa08ad351bb3671e2a16c2d02ed34e995988ac10cf26b5ec0f [2023-11-19 03:43:42,125 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:43:42,148 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:43:42,154 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:43:42,155 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:43:42,156 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:43:42,158 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i [2023-11-19 03:43:45,288 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:43:45,825 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:43:45,826 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_preinc_15_bad.i [2023-11-19 03:43:45,861 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/data/f347adb26/ec2f6ad4bbe540a9b543c48eda879439/FLAGcf76d8593 [2023-11-19 03:43:45,880 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/data/f347adb26/ec2f6ad4bbe540a9b543c48eda879439 [2023-11-19 03:43:45,886 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:43:45,888 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:43:45,891 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:43:45,892 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:43:45,897 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:43:45,898 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:43:45" (1/1) ... [2023-11-19 03:43:45,899 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@43fd4f05 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:45, skipping insertion in model container [2023-11-19 03:43:45,899 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:43:45" (1/1) ... [2023-11-19 03:43:45,980 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:43:46,495 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:43:47,323 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:43:47,342 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:43:47,365 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:43:47,449 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:43:47,664 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:47,665 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:47,665 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:47,665 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:47,665 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:47,665 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:43:47,674 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:43:47,674 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47 WrapperNode [2023-11-19 03:43:47,674 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:43:47,676 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:43:47,676 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:43:47,676 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:43:47,684 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,715 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,742 INFO L138 Inliner]: procedures = 505, calls = 68, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 74 [2023-11-19 03:43:47,743 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:43:47,744 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:43:47,744 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:43:47,744 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:43:47,754 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,754 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,758 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,759 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,768 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,770 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,774 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,776 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,781 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:43:47,792 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:43:47,792 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:43:47,792 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:43:47,793 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:43:47" (1/1) ... [2023-11-19 03:43:47,798 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:43:47,820 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:43:47,837 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 03:43:47,870 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 03:43:47,892 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-19 03:43:47,892 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:43:47,892 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:43:47,892 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 03:43:47,893 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-19 03:43:47,893 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:43:47,893 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:43:47,893 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:43:47,893 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 03:43:47,894 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:43:47,895 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-19 03:43:48,102 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:43:48,104 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:43:48,256 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:43:48,303 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:43:48,303 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 03:43:48,308 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:43:48 BoogieIcfgContainer [2023-11-19 03:43:48,309 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:43:48,310 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:43:48,310 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:43:48,321 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:43:48,321 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:43:48" (1/1) ... [2023-11-19 03:43:48,332 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:43:48,408 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:43:48,417 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 23 states and 31 transitions. [2023-11-19 03:43:48,417 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 31 transitions. [2023-11-19 03:43:48,423 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-19 03:43:48,425 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:43:48,426 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:43:48,426 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:43:48,429 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:43:48,441 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-19 03:43:48,569 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:43:48,572 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:43:48,602 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:43:48,604 INFO L262 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 1 conjunts are in the unsatisfiable core [2023-11-19 03:43:48,609 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:43:48,633 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:43:48,636 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:43:48,643 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-19 03:43:48,680 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:43:48,683 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 22 states and 30 transitions. [2023-11-19 03:43:48,683 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 30 transitions. [2023-11-19 03:43:48,684 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-19 03:43:48,684 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:43:48,685 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:43:48,685 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:43:48,688 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:43:48,711 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-19 03:43:48,819 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:43:48,820 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:43:48,849 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:43:48,851 INFO L262 TraceCheckSpWp]: Trace formula consists of 53 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-19 03:43:48,852 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:43:48,865 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:43:48,867 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:43:48,873 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-19 03:43:48,916 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:43:48,917 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 20 states and 25 transitions. [2023-11-19 03:43:48,917 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 25 transitions. [2023-11-19 03:43:48,918 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-19 03:43:48,918 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:43:48,918 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:43:48,918 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:43:48,924 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:43:48,978 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-19 03:43:49,133 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:43:49,134 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:43:49,250 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:43:49,320 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:43:49,320 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:43:49,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:43:49,406 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:43:49,409 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2023-11-19 03:43:49,411 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2023-11-19 03:43:49,470 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~switch96 could not be translated [2023-11-19 03:43:49,472 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~switch99 could not be translated [2023-11-19 03:43:49,473 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~switch99 could not be translated [2023-11-19 03:43:49,479 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:43:49 ImpRootNode [2023-11-19 03:43:49,480 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:43:49,481 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:43:49,481 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:43:49,481 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:43:49,482 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:43:48" (3/4) ... [2023-11-19 03:43:49,484 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 03:43:49,486 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:43:49,487 INFO L158 Benchmark]: Toolchain (without parser) took 3599.05ms. Allocated memory was 65.0MB in the beginning and 109.1MB in the end (delta: 44.0MB). Free memory was 37.4MB in the beginning and 75.4MB in the end (delta: -38.0MB). Peak memory consumption was 6.5MB. Max. memory is 16.1GB. [2023-11-19 03:43:49,488 INFO L158 Benchmark]: CDTParser took 0.64ms. Allocated memory is still 65.0MB. Free memory is still 40.7MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:43:49,491 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1784.13ms. Allocated memory was 65.0MB in the beginning and 90.2MB in the end (delta: 25.2MB). Free memory was 37.1MB in the beginning and 58.8MB in the end (delta: -21.6MB). Peak memory consumption was 33.1MB. Max. memory is 16.1GB. [2023-11-19 03:43:49,492 INFO L158 Benchmark]: Boogie Procedure Inliner took 67.40ms. Allocated memory is still 90.2MB. Free memory was 58.8MB in the beginning and 55.7MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:43:49,500 INFO L158 Benchmark]: Boogie Preprocessor took 37.31ms. Allocated memory is still 90.2MB. Free memory was 55.2MB in the beginning and 53.6MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:43:49,503 INFO L158 Benchmark]: RCFGBuilder took 517.08ms. Allocated memory is still 90.2MB. Free memory was 53.1MB in the beginning and 35.2MB in the end (delta: 17.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-19 03:43:49,504 INFO L158 Benchmark]: CodeCheck took 1170.17ms. Allocated memory was 90.2MB in the beginning and 109.1MB in the end (delta: 18.9MB). Free memory was 35.2MB in the beginning and 75.4MB in the end (delta: -40.2MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:43:49,505 INFO L158 Benchmark]: Witness Printer took 5.54ms. Allocated memory is still 109.1MB. Free memory is still 75.4MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:43:49,513 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 23 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 69 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 41 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 8 IncrementalHoareTripleChecker+Invalid, 11 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 41 mSDtfsCounter, 8 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 174 GetRequests, 172 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 33 NumberOfCodeBlocks, 33 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 19 ConstructedInterpolants, 0 QuantifiedInterpolants, 19 SizeOfPredicates, 0 NumberOfNonLiveVariables, 105 ConjunctsInSsa, 3 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - UnprovableResult [Line: 1575]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1559. 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); [L1588] 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={6:0}] [L1414] COND TRUE line != ((void *)0) [L1588] 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}, argv={0:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1589] CALL CWE190_Integer_Overflow__int_fgets_preinc_15_bad() [L1550] int data; [L1551] data = 0 [L1554] case 6: [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1557] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1559] EXPR data = atoi(inputBuffer) [L1556] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1555-L1565] { 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=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1573] case 7: VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1575] ++data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, 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.64ms. Allocated memory is still 65.0MB. Free memory is still 40.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1784.13ms. Allocated memory was 65.0MB in the beginning and 90.2MB in the end (delta: 25.2MB). Free memory was 37.1MB in the beginning and 58.8MB in the end (delta: -21.6MB). Peak memory consumption was 33.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 67.40ms. Allocated memory is still 90.2MB. Free memory was 58.8MB in the beginning and 55.7MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 37.31ms. Allocated memory is still 90.2MB. Free memory was 55.2MB in the beginning and 53.6MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 517.08ms. Allocated memory is still 90.2MB. Free memory was 53.1MB in the beginning and 35.2MB in the end (delta: 17.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 1170.17ms. Allocated memory was 90.2MB in the beginning and 109.1MB in the end (delta: 18.9MB). Free memory was 35.2MB in the beginning and 75.4MB in the end (delta: -40.2MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.54ms. Allocated memory is still 109.1MB. Free memory is still 75.4MB. 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: IdentifierExpression #t~switch96 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~switch99 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~switch99 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-19 03:43:49,572 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_15d01774-843a-4446-b77d-37b675fa82cf/bin/ukojak-verify-G8NBE6pJGL/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