./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_12_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_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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_220e5ddd-d655-4ced-b968-a652b67fc73b/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 9669eaa504993e58400e39aa486d7137654633921a41df1436ba4312e9969738 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:28:14,070 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:28:14,150 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-19 03:28:14,156 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 03:28:14,156 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-19 03:28:14,182 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:28:14,183 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:28:14,183 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:28:14,184 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:28:14,185 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:28:14,186 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:28:14,186 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:28:14,187 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 03:28:14,188 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:28:14,188 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:28:14,189 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:28:14,189 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:28:14,190 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:28:14,191 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:28:14,191 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:28:14,192 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:28:14,193 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:28:14,193 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:28:14,194 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:28:14,194 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:28:14,195 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:28:14,195 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:28:14,196 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:28:14,196 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:28:14,197 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-19 03:28:14,197 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 03:28:14,198 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:28:14,198 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_220e5ddd-d655-4ced-b968-a652b67fc73b/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_220e5ddd-d655-4ced-b968-a652b67fc73b/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 -> 9669eaa504993e58400e39aa486d7137654633921a41df1436ba4312e9969738 [2023-11-19 03:28:14,432 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:28:14,458 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:28:14,461 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:28:14,463 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:28:14,464 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:28:14,465 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_12_bad.i [2023-11-19 03:28:17,595 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:28:18,079 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:28:18,080 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_12_bad.i [2023-11-19 03:28:18,112 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/data/0bccd925d/11a9f6a83c5d4127941df7ff3344fb36/FLAG978c915bf [2023-11-19 03:28:18,131 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/data/0bccd925d/11a9f6a83c5d4127941df7ff3344fb36 [2023-11-19 03:28:18,138 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:28:18,141 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:28:18,145 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:28:18,145 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:28:18,150 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:28:18,151 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:28:18" (1/1) ... [2023-11-19 03:28:18,152 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@552c00f5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:18, skipping insertion in model container [2023-11-19 03:28:18,153 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:28:18" (1/1) ... [2023-11-19 03:28:18,234 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:28:18,643 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:28:19,351 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:28:19,365 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:28:19,387 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:28:19,492 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:28:19,691 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:19,691 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:19,691 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:19,691 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:19,692 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:19,692 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:19,700 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:28:19,700 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19 WrapperNode [2023-11-19 03:28:19,700 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:28:19,702 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:28:19,702 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:28:19,702 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:28:19,710 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:28:19" (1/1) ... [2023-11-19 03:28:19,765 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:28:19" (1/1) ... [2023-11-19 03:28:19,802 INFO L138 Inliner]: procedures = 500, calls = 69, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 69 [2023-11-19 03:28:19,804 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:28:19,805 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:28:19,805 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:28:19,805 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:28:19,816 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19" (1/1) ... [2023-11-19 03:28:19,816 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19" (1/1) ... [2023-11-19 03:28:19,835 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19" (1/1) ... [2023-11-19 03:28:19,835 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19" (1/1) ... [2023-11-19 03:28:19,843 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19" (1/1) ... [2023-11-19 03:28:19,845 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19" (1/1) ... [2023-11-19 03:28:19,848 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19" (1/1) ... [2023-11-19 03:28:19,850 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19" (1/1) ... [2023-11-19 03:28:19,858 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:28:19,860 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:28:19,860 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:28:19,860 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:28:19,861 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:19" (1/1) ... [2023-11-19 03:28:19,869 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:28:19,890 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:28:19,905 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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:28:19,928 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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:28:19,950 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2023-11-19 03:28:19,950 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2023-11-19 03:28:19,950 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-19 03:28:19,951 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2023-11-19 03:28:19,951 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2023-11-19 03:28:19,951 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:28:19,951 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:28:19,951 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 03:28:19,952 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-19 03:28:19,952 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:28:19,952 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:28:19,952 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:28:19,952 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 03:28:19,953 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:28:19,955 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 03:28:20,154 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:28:20,157 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:28:20,384 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:28:20,439 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:28:20,439 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 03:28:20,445 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:28:20 BoogieIcfgContainer [2023-11-19 03:28:20,446 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:28:20,447 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:28:20,448 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:28:20,458 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:28:20,459 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:28:20" (1/1) ... [2023-11-19 03:28:20,470 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:28:20,535 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:28:20,544 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 36 states and 44 transitions. [2023-11-19 03:28:20,545 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 44 transitions. [2023-11-19 03:28:20,555 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-19 03:28:20,556 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:28:20,557 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:28:20,734 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:28:20,999 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:28:21,063 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:28:21,064 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 40 states and 51 transitions. [2023-11-19 03:28:21,064 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 51 transitions. [2023-11-19 03:28:21,065 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2023-11-19 03:28:21,065 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:28:21,065 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:28:21,113 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:28:21,241 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:28:21,336 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:28:21,337 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 59 states to 45 states and 59 transitions. [2023-11-19 03:28:21,337 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 59 transitions. [2023-11-19 03:28:21,338 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2023-11-19 03:28:21,338 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:28:21,339 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:28:21,357 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:28:21,401 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:28:21,426 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:28:21,427 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 47 states and 61 transitions. [2023-11-19 03:28:21,427 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 61 transitions. [2023-11-19 03:28:21,428 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2023-11-19 03:28:21,428 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:28:21,429 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:28:21,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:28:21,466 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:28:21,499 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:28:21,603 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:28:21,604 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:28:21,629 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:28:21,658 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2023-11-19 03:28:21,707 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret98 could not be translated [2023-11-19 03:28:21,708 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret101 could not be translated [2023-11-19 03:28:21,717 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:28:21 ImpRootNode [2023-11-19 03:28:21,717 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:28:21,719 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:28:21,719 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:28:21,719 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:28:21,720 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:28:20" (3/4) ... [2023-11-19 03:28:21,722 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 03:28:21,723 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:28:21,725 INFO L158 Benchmark]: Toolchain (without parser) took 3583.00ms. Allocated memory was 159.4MB in the beginning and 203.4MB in the end (delta: 44.0MB). Free memory was 120.5MB in the beginning and 85.0MB in the end (delta: 35.5MB). Peak memory consumption was 81.3MB. Max. memory is 16.1GB. [2023-11-19 03:28:21,726 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 159.4MB. Free memory is still 105.7MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:28:21,727 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1556.27ms. Allocated memory was 159.4MB in the beginning and 203.4MB in the end (delta: 44.0MB). Free memory was 120.5MB in the beginning and 160.5MB in the end (delta: -40.0MB). Peak memory consumption was 72.9MB. Max. memory is 16.1GB. [2023-11-19 03:28:21,728 INFO L158 Benchmark]: Boogie Procedure Inliner took 102.32ms. Allocated memory is still 203.4MB. Free memory was 159.4MB in the beginning and 157.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:28:21,729 INFO L158 Benchmark]: Boogie Preprocessor took 53.98ms. Allocated memory is still 203.4MB. Free memory was 157.3MB in the beginning and 155.1MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:28:21,730 INFO L158 Benchmark]: RCFGBuilder took 586.35ms. Allocated memory is still 203.4MB. Free memory was 155.1MB in the beginning and 138.5MB in the end (delta: 16.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2023-11-19 03:28:21,735 INFO L158 Benchmark]: CodeCheck took 1270.21ms. Allocated memory is still 203.4MB. Free memory was 138.5MB in the beginning and 85.0MB in the end (delta: 53.5MB). Peak memory consumption was 52.4MB. Max. memory is 16.1GB. [2023-11-19 03:28:21,736 INFO L158 Benchmark]: Witness Printer took 5.00ms. Allocated memory is still 203.4MB. Free memory is still 85.0MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:28:21,742 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.2s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 127 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 31 mSDsluCounter, 127 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 41 mSDsCounter, 16 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 61 IncrementalHoareTripleChecker+Invalid, 77 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 16 mSolverCounterUnsat, 86 mSDtfsCounter, 61 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 350 GetRequests, 341 SyntacticMatches, 3 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 4 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 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); [L1593] 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) [L1593] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(argc)=13, argc=13, argv={18:29}, argv={18:29}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1594] CALL CWE191_Integer_Underflow__int_fgets_sub_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 - 1 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.33ms. Allocated memory is still 159.4MB. Free memory is still 105.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1556.27ms. Allocated memory was 159.4MB in the beginning and 203.4MB in the end (delta: 44.0MB). Free memory was 120.5MB in the beginning and 160.5MB in the end (delta: -40.0MB). Peak memory consumption was 72.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 102.32ms. Allocated memory is still 203.4MB. Free memory was 159.4MB in the beginning and 157.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 53.98ms. Allocated memory is still 203.4MB. Free memory was 157.3MB in the beginning and 155.1MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 586.35ms. Allocated memory is still 203.4MB. Free memory was 155.1MB in the beginning and 138.5MB in the end (delta: 16.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1270.21ms. Allocated memory is still 203.4MB. Free memory was 138.5MB in the beginning and 85.0MB in the end (delta: 53.5MB). Peak memory consumption was 52.4MB. Max. memory is 16.1GB. * Witness Printer took 5.00ms. Allocated memory is still 203.4MB. Free memory is still 85.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~ret98 could not be translated - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~ret101 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:28:21,788 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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_220e5ddd-d655-4ced-b968-a652b67fc73b/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 9669eaa504993e58400e39aa486d7137654633921a41df1436ba4312e9969738 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-9bd2c7f [2023-11-19 03:28:24,416 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:28:24,496 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-19 03:28:24,530 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:28:24,532 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:28:24,532 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:28:24,533 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:28:24,534 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:28:24,534 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:28:24,535 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:28:24,536 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:28:24,536 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:28:24,537 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:28:24,537 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:28:24,538 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-19 03:28:24,539 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-19 03:28:24,539 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-19 03:28:24,540 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-19 03:28:24,540 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-19 03:28:24,541 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:28:24,542 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:28:24,542 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:28:24,543 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:28:24,543 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:28:24,544 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:28:24,544 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-19 03:28:24,545 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:28:24,545 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:28:24,546 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:28:24,546 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:28:24,547 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:28:24,547 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-19 03:28:24,548 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-19 03:28:24,548 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:28:24,549 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-19 03:28:24,549 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-19 03:28:24,549 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_220e5ddd-d655-4ced-b968-a652b67fc73b/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_220e5ddd-d655-4ced-b968-a652b67fc73b/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 -> 9669eaa504993e58400e39aa486d7137654633921a41df1436ba4312e9969738 [2023-11-19 03:28:24,945 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:28:24,974 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:28:24,977 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:28:24,979 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:28:24,980 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:28:24,981 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_12_bad.i [2023-11-19 03:28:28,229 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:28:28,709 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:28:28,709 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fgets_sub_12_bad.i [2023-11-19 03:28:28,744 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/data/a2c2b070a/6b696f84fd494ce6a6800055b424e59f/FLAG09caeb462 [2023-11-19 03:28:28,760 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/data/a2c2b070a/6b696f84fd494ce6a6800055b424e59f [2023-11-19 03:28:28,763 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:28:28,765 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:28:28,781 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:28:28,782 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:28:28,787 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:28:28,788 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:28:28" (1/1) ... [2023-11-19 03:28:28,791 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@78911e4d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:28, skipping insertion in model container [2023-11-19 03:28:28,791 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:28:28" (1/1) ... [2023-11-19 03:28:28,854 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:28:29,288 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:28:29,888 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:28:29,908 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:28:29,942 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-19 03:28:30,068 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:28:30,242 WARN L675 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:30,242 WARN L675 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:30,243 WARN L675 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:30,243 WARN L675 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:30,243 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:30,243 WARN L675 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-19 03:28:30,252 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:28:30,252 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30 WrapperNode [2023-11-19 03:28:30,252 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:28:30,254 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:28:30,254 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:28:30,254 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:28:30,262 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:28:30" (1/1) ... [2023-11-19 03:28:30,310 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:28:30" (1/1) ... [2023-11-19 03:28:30,340 INFO L138 Inliner]: procedures = 505, calls = 69, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 66 [2023-11-19 03:28:30,340 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:28:30,341 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:28:30,341 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:28:30,342 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:28:30,352 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30" (1/1) ... [2023-11-19 03:28:30,352 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30" (1/1) ... [2023-11-19 03:28:30,360 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30" (1/1) ... [2023-11-19 03:28:30,361 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30" (1/1) ... [2023-11-19 03:28:30,377 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30" (1/1) ... [2023-11-19 03:28:30,379 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30" (1/1) ... [2023-11-19 03:28:30,385 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30" (1/1) ... [2023-11-19 03:28:30,387 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30" (1/1) ... [2023-11-19 03:28:30,404 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:28:30,405 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:28:30,405 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:28:30,405 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:28:30,406 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:28:30" (1/1) ... [2023-11-19 03:28:30,412 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:28:30,428 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:28:30,449 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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:28:30,475 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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:28:30,495 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2023-11-19 03:28:30,495 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2023-11-19 03:28:30,495 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-19 03:28:30,496 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2023-11-19 03:28:30,496 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2023-11-19 03:28:30,496 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-19 03:28:30,496 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-19 03:28:30,496 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 03:28:30,496 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-19 03:28:30,497 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:28:30,499 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:28:30,499 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:28:30,499 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 03:28:30,500 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-19 03:28:30,500 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-19 03:28:30,687 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:28:30,689 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:28:30,925 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:28:30,997 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:28:30,998 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-19 03:28:31,003 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:28:31 BoogieIcfgContainer [2023-11-19 03:28:31,004 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:28:31,007 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:28:31,007 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:28:31,017 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:28:31,017 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:28:31" (1/1) ... [2023-11-19 03:28:31,028 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:28:31,092 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:28:31,099 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 34 states and 42 transitions. [2023-11-19 03:28:31,099 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 42 transitions. [2023-11-19 03:28:31,104 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2023-11-19 03:28:31,104 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:28:31,105 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:28:31,105 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:28:31,128 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:28:31,130 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-19 03:28:31,297 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:28:31,300 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:28:31,331 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:28:31,333 INFO L262 TraceCheckSpWp]: Trace formula consists of 61 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-19 03:28:31,338 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:28:31,395 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:28:31,398 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:28:31,406 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-19 03:28:31,465 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:28:31,467 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 37 states and 48 transitions. [2023-11-19 03:28:31,468 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 48 transitions. [2023-11-19 03:28:31,469 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-11-19 03:28:31,469 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:28:31,469 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:28:31,469 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:28:31,471 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:28:31,496 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2023-11-19 03:28:31,603 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:28:31,604 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:28:31,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:28:31,639 INFO L262 TraceCheckSpWp]: Trace formula consists of 62 conjuncts, 1 conjunts are in the unsatisfiable core [2023-11-19 03:28:31,641 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:28:31,651 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:28:31,654 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:28:31,659 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2023-11-19 03:28:31,676 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:28:31,677 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 36 states and 47 transitions. [2023-11-19 03:28:31,677 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 47 transitions. [2023-11-19 03:28:31,678 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-11-19 03:28:31,678 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:28:31,678 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:28:31,679 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:28:31,690 INFO L229 MonitoredProcess]: Starting monitored process 4 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:28:31,720 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Waiting until timeout for monitored process [2023-11-19 03:28:31,865 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:28:31,866 ERROR L592 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2023-11-19 03:28:31,900 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:28:31,902 INFO L262 TraceCheckSpWp]: Trace formula consists of 62 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-19 03:28:31,904 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-19 03:28:31,920 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:28:31,923 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:28:31,928 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (4)] Forceful destruction successful, exit code 0 [2023-11-19 03:28:31,971 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:28:31,972 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 38 states and 49 transitions. [2023-11-19 03:28:31,973 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 49 transitions. [2023-11-19 03:28:31,974 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2023-11-19 03:28:31,974 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:28:31,975 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-19 03:28:31,975 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 [2023-11-19 03:28:31,976 INFO L229 MonitoredProcess]: Starting monitored process 5 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-19 03:28:31,985 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Waiting until timeout for monitored process [2023-11-19 03:28:32,191 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:28:32,192 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:28:32,303 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:28:32,405 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:28:32,406 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:28:32,455 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:28:32,477 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Exception during sending of exit command (exit): Broken pipe [2023-11-19 03:28:32,485 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/bin/ukojak-verify-G8NBE6pJGL/cvc4 --incremental --print-success --lang smt (5)] Forceful destruction successful, exit code 0 [2023-11-19 03:28:32,486 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 4 iterations. [2023-11-19 03:28:32,534 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret96 could not be translated [2023-11-19 03:28:32,536 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~ret99 could not be translated [2023-11-19 03:28:32,543 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:28:32 ImpRootNode [2023-11-19 03:28:32,543 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:28:32,543 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:28:32,544 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:28:32,544 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:28:32,544 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:28:31" (3/4) ... [2023-11-19 03:28:32,546 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-11-19 03:28:32,548 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:28:32,550 INFO L158 Benchmark]: Toolchain (without parser) took 3784.67ms. Allocated memory was 67.1MB in the beginning and 111.1MB in the end (delta: 44.0MB). Free memory was 27.8MB in the beginning and 57.3MB in the end (delta: -29.5MB). Peak memory consumption was 14.5MB. Max. memory is 16.1GB. [2023-11-19 03:28:32,551 INFO L158 Benchmark]: CDTParser took 0.57ms. Allocated memory is still 67.1MB. Free memory is still 43.3MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:28:32,552 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1472.12ms. Allocated memory is still 92.3MB. Free memory was 71.5MB in the beginning and 56.2MB in the end (delta: 15.3MB). Peak memory consumption was 37.8MB. Max. memory is 16.1GB. [2023-11-19 03:28:32,554 INFO L158 Benchmark]: Boogie Procedure Inliner took 86.94ms. Allocated memory is still 92.3MB. Free memory was 56.2MB in the beginning and 53.1MB in the end (delta: 3.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:28:32,559 INFO L158 Benchmark]: Boogie Preprocessor took 62.89ms. Allocated memory is still 92.3MB. Free memory was 53.1MB in the beginning and 51.1MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:28:32,560 INFO L158 Benchmark]: RCFGBuilder took 599.12ms. Allocated memory is still 92.3MB. Free memory was 51.1MB in the beginning and 60.8MB in the end (delta: -9.7MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-19 03:28:32,561 INFO L158 Benchmark]: CodeCheck took 1535.93ms. Allocated memory was 92.3MB in the beginning and 111.1MB in the end (delta: 18.9MB). Free memory was 60.8MB in the beginning and 57.7MB in the end (delta: 3.1MB). Peak memory consumption was 21.7MB. Max. memory is 16.1GB. [2023-11-19 03:28:32,562 INFO L158 Benchmark]: Witness Printer took 4.87ms. Allocated memory is still 111.1MB. Free memory is still 57.3MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:28:32,571 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.4s, OverallIterations: 4, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 113 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 10 mSDsluCounter, 85 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 14 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 35 IncrementalHoareTripleChecker+Invalid, 43 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 71 mSDtfsCounter, 35 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 334 GetRequests, 332 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.1s InterpolantComputationTime, 60 NumberOfCodeBlocks, 60 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 41 ConstructedInterpolants, 0 QuantifiedInterpolants, 69 SizeOfPredicates, 0 NumberOfNonLiveVariables, 185 ConjunctsInSsa, 5 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); [L1593] 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) [L1593] 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] [L1594] CALL CWE191_Integer_Underflow__int_fgets_sub_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 - 1 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.57ms. Allocated memory is still 67.1MB. Free memory is still 43.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1472.12ms. Allocated memory is still 92.3MB. Free memory was 71.5MB in the beginning and 56.2MB in the end (delta: 15.3MB). Peak memory consumption was 37.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 86.94ms. Allocated memory is still 92.3MB. Free memory was 56.2MB in the beginning and 53.1MB in the end (delta: 3.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 62.89ms. Allocated memory is still 92.3MB. Free memory was 53.1MB in the beginning and 51.1MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 599.12ms. Allocated memory is still 92.3MB. Free memory was 51.1MB in the beginning and 60.8MB in the end (delta: -9.7MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 1535.93ms. Allocated memory was 92.3MB in the beginning and 111.1MB in the end (delta: 18.9MB). Free memory was 60.8MB in the beginning and 57.7MB in the end (delta: 3.1MB). Peak memory consumption was 21.7MB. Max. memory is 16.1GB. * Witness Printer took 4.87ms. Allocated memory is still 111.1MB. Free memory is still 57.3MB. 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 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:28:32,618 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_220e5ddd-d655-4ced-b968-a652b67fc73b/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