./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 9bd2c7ff 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_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/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_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/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_77c67e49-2c6d-4c0a-a93f-8320572392a9/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 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:26:39,255 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:26:39,393 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-19 03:26:39,400 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 03:26:39,401 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-19 03:26:39,445 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:26:39,446 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:26:39,447 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:26:39,448 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:26:39,452 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:26:39,453 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:26:39,453 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:26:39,454 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 03:26:39,455 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:26:39,456 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:26:39,456 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:26:39,457 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:26:39,457 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:26:39,457 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:26:39,458 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:26:39,458 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:26:39,459 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:26:39,459 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:26:39,459 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:26:39,460 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:26:39,461 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:26:39,461 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:26:39,461 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:26:39,462 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:26:39,462 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-19 03:26:39,463 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 03:26:39,464 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:26:39,464 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_77c67e49-2c6d-4c0a-a93f-8320572392a9/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_77c67e49-2c6d-4c0a-a93f-8320572392a9/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 -> 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b [2023-11-19 03:26:39,807 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:26:39,838 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:26:39,841 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:26:39,842 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:26:39,843 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:26:39,844 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2023-11-19 03:26:42,950 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:26:43,392 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:26:43,393 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2023-11-19 03:26:43,430 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/data/c40c6dab1/d485543448794f51b706263accdd60d8/FLAG51deb9c2a [2023-11-19 03:26:43,448 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/data/c40c6dab1/d485543448794f51b706263accdd60d8 [2023-11-19 03:26:43,454 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:26:43,456 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:26:43,460 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:26:43,460 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:26:43,466 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:26:43,466 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:26:43" (1/1) ... [2023-11-19 03:26:43,467 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@635ce576 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:43, skipping insertion in model container [2023-11-19 03:26:43,469 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:26:43" (1/1) ... [2023-11-19 03:26:43,559 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:26:43,956 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:26:44,508 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:26:44,519 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:26:44,542 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:26:44,606 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:26:44,823 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:44,823 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:44,823 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:44,824 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:44,824 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:44,824 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:44,832 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:26:44,832 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44 WrapperNode [2023-11-19 03:26:44,832 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:26:44,833 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:26:44,833 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:26:44,833 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:26:44,839 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:26:44" (1/1) ... [2023-11-19 03:26:44,874 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:26:44" (1/1) ... [2023-11-19 03:26:44,901 INFO L138 Inliner]: procedures = 500, calls = 69, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 75 [2023-11-19 03:26:44,902 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:26:44,902 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:26:44,903 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:26:44,903 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:26:44,912 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44" (1/1) ... [2023-11-19 03:26:44,913 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44" (1/1) ... [2023-11-19 03:26:44,916 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44" (1/1) ... [2023-11-19 03:26:44,917 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44" (1/1) ... [2023-11-19 03:26:44,924 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44" (1/1) ... [2023-11-19 03:26:44,926 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44" (1/1) ... [2023-11-19 03:26:44,928 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44" (1/1) ... [2023-11-19 03:26:44,930 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44" (1/1) ... [2023-11-19 03:26:44,945 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:26:44,947 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:26:44,947 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:26:44,947 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:26:44,948 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:44" (1/1) ... [2023-11-19 03:26:44,961 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:26:44,974 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:26:44,990 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/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:26:45,018 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/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:26:45,040 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2023-11-19 03:26:45,041 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2023-11-19 03:26:45,041 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-19 03:26:45,041 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2023-11-19 03:26:45,041 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2023-11-19 03:26:45,042 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:26:45,042 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:26:45,042 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 03:26:45,042 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-19 03:26:45,042 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:26:45,043 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:26:45,043 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:26:45,043 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 03:26:45,043 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:26:45,045 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 03:26:45,233 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:26:45,236 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:26:45,420 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:26:45,471 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:26:45,471 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 03:26:45,476 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:26:45 BoogieIcfgContainer [2023-11-19 03:26:45,476 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:26:45,477 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:26:45,477 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:26:45,487 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:26:45,488 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:26:45" (1/1) ... [2023-11-19 03:26:45,497 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:26:45,545 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:26:45,553 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 36 states and 44 transitions. [2023-11-19 03:26:45,554 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 44 transitions. [2023-11-19 03:26:45,559 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-19 03:26:45,559 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:26:45,560 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:26:45,694 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:26:45,991 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-19 03:26:46,078 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:26:46,081 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 40 states and 51 transitions. [2023-11-19 03:26:46,081 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 51 transitions. [2023-11-19 03:26:46,082 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2023-11-19 03:26:46,083 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:26:46,083 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:26:46,131 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:26:46,253 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-19 03:26:46,461 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:26:46,463 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 59 states to 45 states and 59 transitions. [2023-11-19 03:26:46,463 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 59 transitions. [2023-11-19 03:26:46,465 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2023-11-19 03:26:46,465 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:26:46,466 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:26:46,511 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:26:46,614 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-19 03:26:46,661 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:26:46,662 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 47 states and 61 transitions. [2023-11-19 03:26:46,663 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 61 transitions. [2023-11-19 03:26:46,664 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2023-11-19 03:26:46,664 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:26:46,665 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:26:46,705 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:26:46,705 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:26:46,725 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:26:46,801 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:26:46,801 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:26:46,821 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:26:46,841 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2023-11-19 03:26:46,877 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret98 could not be translated [2023-11-19 03:26:46,879 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret101 could not be translated [2023-11-19 03:26:46,880 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~post102 could not be translated [2023-11-19 03:26:46,885 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:26:46 ImpRootNode [2023-11-19 03:26:46,885 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:26:46,886 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:26:46,887 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:26:46,887 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:26:46,888 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:26:45" (3/4) ... [2023-11-19 03:26:46,890 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 03:26:46,891 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:26:46,892 INFO L158 Benchmark]: Toolchain (without parser) took 3435.77ms. Allocated memory was 155.2MB in the beginning and 186.6MB in the end (delta: 31.5MB). Free memory was 121.5MB in the beginning and 124.8MB in the end (delta: -3.3MB). Peak memory consumption was 27.7MB. Max. memory is 16.1GB. [2023-11-19 03:26:46,893 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 121.6MB. Free memory is still 95.3MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:26:46,894 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1372.14ms. Allocated memory is still 155.2MB. Free memory was 121.5MB in the beginning and 109.8MB in the end (delta: 11.6MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2023-11-19 03:26:46,894 INFO L158 Benchmark]: Boogie Procedure Inliner took 69.02ms. Allocated memory is still 155.2MB. Free memory was 109.8MB in the beginning and 107.4MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:26:46,895 INFO L158 Benchmark]: Boogie Preprocessor took 43.91ms. Allocated memory is still 155.2MB. Free memory was 107.4MB in the beginning and 105.6MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:26:46,896 INFO L158 Benchmark]: RCFGBuilder took 529.23ms. Allocated memory is still 155.2MB. Free memory was 105.6MB in the beginning and 88.8MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-19 03:26:46,897 INFO L158 Benchmark]: CodeCheck took 1408.49ms. Allocated memory was 155.2MB in the beginning and 186.6MB in the end (delta: 31.5MB). Free memory was 88.8MB in the beginning and 124.8MB in the end (delta: -35.9MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:26:46,897 INFO L158 Benchmark]: Witness Printer took 4.84ms. Allocated memory is still 186.6MB. Free memory is still 124.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:26:46,900 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 4 procedures, 36 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.3s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 115 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 19 mSDsluCounter, 107 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 27 mSDsCounter, 28 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 81 IncrementalHoareTripleChecker+Invalid, 109 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 28 mSolverCounterUnsat, 80 mSDtfsCounter, 81 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 353 GetRequests, 336 SyntacticMatches, 3 SemanticMatches, 14 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 37 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 68 NumberOfCodeBlocks, 68 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 47 ConstructedInterpolants, 0 QuantifiedInterpolants, 103 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 6/6 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: 1573]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558. 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); [L1595] 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={5:0}] [L1414] COND TRUE line != ((void *)0) [L1595] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=19, argc=19, argv={18:20}, argv={18:20}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1596] CALL CWE191_Integer_Underflow__int_fgets_postdec_12_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, 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.30ms. Allocated memory is still 121.6MB. Free memory is still 95.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1372.14ms. Allocated memory is still 155.2MB. Free memory was 121.5MB in the beginning and 109.8MB in the end (delta: 11.6MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 69.02ms. Allocated memory is still 155.2MB. Free memory was 109.8MB in the beginning and 107.4MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 43.91ms. Allocated memory is still 155.2MB. Free memory was 107.4MB in the beginning and 105.6MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 529.23ms. Allocated memory is still 155.2MB. Free memory was 105.6MB in the beginning and 88.8MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1408.49ms. Allocated memory was 155.2MB in the beginning and 186.6MB in the end (delta: 31.5MB). Free memory was 88.8MB in the beginning and 124.8MB in the end (delta: -35.9MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.84ms. Allocated memory is still 186.6MB. Free memory is still 124.8MB. 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~ret98 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret101 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~post102 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:26:46,941 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/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_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/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_77c67e49-2c6d-4c0a-a93f-8320572392a9/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 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:26:49,604 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:26:49,689 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-19 03:26:49,728 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:26:49,732 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:26:49,735 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:26:49,737 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:26:49,738 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:26:49,739 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:26:49,740 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:26:49,741 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:26:49,741 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:26:49,742 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:26:49,744 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:26:49,745 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 03:26:49,746 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 03:26:49,747 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:26:49,751 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 03:26:49,752 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:26:49,752 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:26:49,753 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:26:49,753 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:26:49,754 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:26:49,755 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:26:49,755 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:26:49,755 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-19 03:26:49,756 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:26:49,756 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:26:49,757 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:26:49,757 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:26:49,759 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:26:49,759 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-19 03:26:49,759 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:26:49,760 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:26:49,760 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-19 03:26:49,761 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 03:26:49,761 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_77c67e49-2c6d-4c0a-a93f-8320572392a9/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_77c67e49-2c6d-4c0a-a93f-8320572392a9/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 -> 1456520146b55fc1e958217ef7509552426c75ec92eb783b51ac67cf97945b6b [2023-11-19 03:26:50,132 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:26:50,168 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:26:50,173 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:26:50,174 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:26:50,176 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:26:50,183 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2023-11-19 03:26:53,422 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:26:53,872 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:26:53,873 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_postdec_12_bad.i [2023-11-19 03:26:53,921 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/data/df883d4da/4d64716f6ea047749ff46fce98a16ebb/FLAGa07073e0a [2023-11-19 03:26:53,946 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/data/df883d4da/4d64716f6ea047749ff46fce98a16ebb [2023-11-19 03:26:53,952 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:26:53,954 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:26:53,957 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:26:53,957 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:26:53,963 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:26:53,964 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:26:53" (1/1) ... [2023-11-19 03:26:53,965 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@cfb4b75 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:53, skipping insertion in model container [2023-11-19 03:26:53,965 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:26:53" (1/1) ... [2023-11-19 03:26:54,045 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:26:54,498 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:26:55,077 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:26:55,093 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:26:55,115 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:26:55,177 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:26:55,303 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:55,303 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:55,304 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:55,304 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:55,304 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:55,304 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:26:55,312 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:26:55,313 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55 WrapperNode [2023-11-19 03:26:55,313 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:26:55,314 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:26:55,314 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:26:55,314 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:26:55,321 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:26:55" (1/1) ... [2023-11-19 03:26:55,354 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:26:55" (1/1) ... [2023-11-19 03:26:55,389 INFO L138 Inliner]: procedures = 505, calls = 69, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 72 [2023-11-19 03:26:55,390 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:26:55,391 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:26:55,392 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:26:55,392 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:26:55,401 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,401 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,406 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,406 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,417 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,419 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,423 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,424 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,430 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:26:55,431 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:26:55,431 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:26:55,431 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:26:55,432 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,437 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:26:55,452 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:26:55,468 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/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:26:55,501 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/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:26:55,522 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2023-11-19 03:26:55,522 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2023-11-19 03:26:55,522 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-19 03:26:55,522 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2023-11-19 03:26:55,524 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2023-11-19 03:26:55,524 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:26:55,524 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:26:55,524 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 03:26:55,524 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-19 03:26:55,525 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:26:55,526 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:26:55,526 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:26:55,527 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 03:26:55,527 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:26:55,527 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-19 03:26:55,733 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:26:55,735 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:26:55,911 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:26:55,956 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:26:55,956 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 03:26:55,961 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:26:55 BoogieIcfgContainer [2023-11-19 03:26:55,961 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:26:55,962 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:26:55,962 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:26:55,972 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:26:55,973 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:26:55" (1/1) ... [2023-11-19 03:26:55,982 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:26:56,028 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:26:56,034 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 34 states and 42 transitions. [2023-11-19 03:26:56,035 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 42 transitions. [2023-11-19 03:26:56,039 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2023-11-19 03:26:56,039 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:26:56,039 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:26:56,040 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:26:56,043 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:26:56,060 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-19 03:26:56,265 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:26:56,268 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:26:56,308 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:26:56,311 INFO L262 TraceCheckSpWp]: Trace formula consists of 62 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-19 03:26:56,317 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:26:56,422 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-19 03:26:56,425 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:26:56,436 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-19 03:26:56,534 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:26:56,536 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 37 states and 48 transitions. [2023-11-19 03:26:56,537 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 48 transitions. [2023-11-19 03:26:56,538 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-11-19 03:26:56,538 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:26:56,539 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:26:56,539 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:26:56,544 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:26:56,559 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-19 03:26:56,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:26:56,681 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:26:56,718 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:26:56,721 INFO L262 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 1 conjunts are in the unsatisfiable core [2023-11-19 03:26:56,723 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:26:56,732 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-19 03:26:56,734 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:26:56,744 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2023-11-19 03:26:56,765 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:26:56,768 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 36 states and 47 transitions. [2023-11-19 03:26:56,769 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 47 transitions. [2023-11-19 03:26:56,770 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-11-19 03:26:56,770 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:26:56,771 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:26:56,771 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:26:56,772 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:26:56,795 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-19 03:26:56,950 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:26:56,950 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:26:56,988 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:26:56,989 INFO L262 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-19 03:26:56,992 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:26:57,038 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-19 03:26:57,041 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:26:57,047 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2023-11-19 03:26:57,103 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:26:57,105 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 38 states and 49 transitions. [2023-11-19 03:26:57,105 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 49 transitions. [2023-11-19 03:26:57,106 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-19 03:26:57,106 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:26:57,107 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:26:57,107 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:26:57,108 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:26:57,131 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2023-11-19 03:26:57,336 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:26:57,337 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:26:57,454 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:26:57,611 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:26:57,612 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:26:57,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:26:57,683 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Forceful destruction successful, exit code 0 [2023-11-19 03:26:57,683 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2023-11-19 03:26:57,737 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret96 could not be translated [2023-11-19 03:26:57,740 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret99 could not be translated [2023-11-19 03:26:57,741 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~post100 could not be translated [2023-11-19 03:26:57,747 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:26:57 ImpRootNode [2023-11-19 03:26:57,747 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:26:57,748 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:26:57,749 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:26:57,749 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:26:57,750 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:26:55" (3/4) ... [2023-11-19 03:26:57,752 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 03:26:57,753 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:26:57,755 INFO L158 Benchmark]: Toolchain (without parser) took 3800.28ms. Allocated memory was 83.9MB in the beginning and 100.7MB in the end (delta: 16.8MB). Free memory was 55.6MB in the beginning and 64.1MB in the end (delta: -8.6MB). Peak memory consumption was 9.7MB. Max. memory is 16.1GB. [2023-11-19 03:26:57,756 INFO L158 Benchmark]: CDTParser took 0.71ms. Allocated memory is still 65.0MB. Free memory was 41.8MB in the beginning and 41.8MB in the end (delta: 45.4kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:26:57,758 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1356.50ms. Allocated memory is still 83.9MB. Free memory was 55.4MB in the beginning and 40.5MB in the end (delta: 14.8MB). Peak memory consumption was 32.8MB. Max. memory is 16.1GB. [2023-11-19 03:26:57,760 INFO L158 Benchmark]: Boogie Procedure Inliner took 75.97ms. Allocated memory is still 83.9MB. Free memory was 40.5MB in the beginning and 37.5MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-19 03:26:57,766 INFO L158 Benchmark]: Boogie Preprocessor took 38.61ms. Allocated memory is still 83.9MB. Free memory was 37.5MB in the beginning and 35.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:26:57,767 INFO L158 Benchmark]: RCFGBuilder took 530.86ms. Allocated memory is still 83.9MB. Free memory was 35.4MB in the beginning and 41.3MB in the end (delta: -5.9MB). Peak memory consumption was 9.0MB. Max. memory is 16.1GB. [2023-11-19 03:26:57,767 INFO L158 Benchmark]: CodeCheck took 1785.34ms. Allocated memory was 83.9MB in the beginning and 100.7MB in the end (delta: 16.8MB). Free memory was 41.3MB in the beginning and 64.1MB in the end (delta: -22.8MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:26:57,769 INFO L158 Benchmark]: Witness Printer took 5.15ms. Allocated memory is still 100.7MB. Free memory is still 64.1MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:26:57,777 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 4 procedures, 34 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.7s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 105 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 2 mSDsluCounter, 73 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 8 mSDsCounter, 16 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 47 IncrementalHoareTripleChecker+Invalid, 63 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 16 mSolverCounterUnsat, 65 mSDtfsCounter, 47 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 334 GetRequests, 328 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 60 NumberOfCodeBlocks, 60 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 41 ConstructedInterpolants, 0 QuantifiedInterpolants, 69 SizeOfPredicates, 2 NumberOfNonLiveVariables, 188 ConjunctsInSsa, 7 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 6/6 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: 1573]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of atoi at line 1558. 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); [L1595] 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={5:0}] [L1414] COND TRUE line != ((void *)0) [L1595] 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] [L1596] CALL CWE191_Integer_Underflow__int_fgets_postdec_12_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=0, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1556] COND TRUE, EXPR fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0) [L1558] EXPR data = atoi(inputBuffer) [L1555] char inputBuffer[(3 * sizeof(data) + 2)] = ""; [L1554-L1564] { char inputBuffer[(3 * sizeof(data) + 2)] = ""; if (fgets(inputBuffer, (3 * sizeof(data) + 2), stdin) != ((void *)0)) { data = atoi(inputBuffer); } else { printLine("fgets() failed."); } } VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1570] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1570] COND TRUE globalReturnsTrueOrFalse() [L1573] data-- VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, 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.71ms. Allocated memory is still 65.0MB. Free memory was 41.8MB in the beginning and 41.8MB in the end (delta: 45.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1356.50ms. Allocated memory is still 83.9MB. Free memory was 55.4MB in the beginning and 40.5MB in the end (delta: 14.8MB). Peak memory consumption was 32.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 75.97ms. Allocated memory is still 83.9MB. Free memory was 40.5MB in the beginning and 37.5MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 38.61ms. Allocated memory is still 83.9MB. Free memory was 37.5MB in the beginning and 35.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 530.86ms. Allocated memory is still 83.9MB. Free memory was 35.4MB in the beginning and 41.3MB in the end (delta: -5.9MB). Peak memory consumption was 9.0MB. Max. memory is 16.1GB. * CodeCheck took 1785.34ms. Allocated memory was 83.9MB in the beginning and 100.7MB in the end (delta: 16.8MB). Free memory was 41.3MB in the beginning and 64.1MB in the end (delta: -22.8MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.15ms. Allocated memory is still 100.7MB. Free memory is still 64.1MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret96 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret99 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~post100 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:26:57,830 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_77c67e49-2c6d-4c0a-a93f-8320572392a9/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